mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
kodi: add hack to fix audio for WC
This commit is contained in:
parent
33dfd1a9a0
commit
da11805175
@ -0,0 +1,13 @@
|
|||||||
|
fixes broken audio at WP1 and WC
|
||||||
|
Fill audio packets completely when resampling to prevent 'audio data unaligned' kernel warnings
|
||||||
|
|
||||||
|
--- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
|
||||||
|
+++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
|
||||||
|
@@ -143,6 +143,7 @@
|
||||||
|
m_inputFormat.m_channelLayout.Reset();
|
||||||
|
m_inputFormat.m_channelLayout += AE_CH_FC;
|
||||||
|
}
|
||||||
|
+ m_fillPackets = true;
|
||||||
|
m_resampleQuality = quality;
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user