mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #3080 from CvH/9.0/wp1-sound
kodi: add device specific patches to fix audio for WP1 and WC
This commit is contained in:
commit
15b609310c
@ -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;
|
||||||
|
}
|
||||||
|
|
@ -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