From 33dfd1a9a07e65484f2cff123656e50ea427be92 Mon Sep 17 00:00:00 2001 From: CvH Date: Tue, 6 Nov 2018 22:17:09 +0100 Subject: [PATCH 1/2] kodi: add hack to fix audio for WP1 --- .../patches/kodi/kodi-100.26-hack-fix-audio.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 projects/WeTek_Play/patches/kodi/kodi-100.26-hack-fix-audio.patch diff --git a/projects/WeTek_Play/patches/kodi/kodi-100.26-hack-fix-audio.patch b/projects/WeTek_Play/patches/kodi/kodi-100.26-hack-fix-audio.patch new file mode 100644 index 0000000000..828d1ddd17 --- /dev/null +++ b/projects/WeTek_Play/patches/kodi/kodi-100.26-hack-fix-audio.patch @@ -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; + } + From da118051759dafe5b144a10af8ba9a1a18cdd3f7 Mon Sep 17 00:00:00 2001 From: CvH Date: Tue, 6 Nov 2018 22:17:14 +0100 Subject: [PATCH 2/2] kodi: add hack to fix audio for WC --- .../patches/kodi/kodi-100.26-hack-fix-audio.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 projects/WeTek_Core/patches/kodi/kodi-100.26-hack-fix-audio.patch diff --git a/projects/WeTek_Core/patches/kodi/kodi-100.26-hack-fix-audio.patch b/projects/WeTek_Core/patches/kodi/kodi-100.26-hack-fix-audio.patch new file mode 100644 index 0000000000..828d1ddd17 --- /dev/null +++ b/projects/WeTek_Core/patches/kodi/kodi-100.26-hack-fix-audio.patch @@ -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; + } +