From 8ef639c9c95c9b0e90a365fd818a5ac24d4c0f81 Mon Sep 17 00:00:00 2001 From: Peter Vicman Date: Thu, 23 Feb 2017 15:38:20 +0100 Subject: [PATCH] imx6: update kodi patch for kodi 18 --- projects/imx6/patches/kodi/kodi-050-from-openbricks.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/imx6/patches/kodi/kodi-050-from-openbricks.patch b/projects/imx6/patches/kodi/kodi-050-from-openbricks.patch index a6b299e7ac..40985bf360 100644 --- a/projects/imx6/patches/kodi/kodi-050-from-openbricks.patch +++ b/projects/imx6/patches/kodi/kodi-050-from-openbricks.patch @@ -1490,10 +1490,11 @@ diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResampleFFMPEG.cpp index e4ddf9e..34d0152 100644 --- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResampleFFMPEG.cpp +++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResampleFFMPEG.cpp -@@ -20,6 +20,7 @@ +@@ -20,6 +20,8 @@ #include "cores/AudioEngine/Utils/AEUtil.h" #include "ActiveAEResampleFFMPEG.h" ++#include "ServiceBroker.h" +#include "settings/Settings.h" #include "utils/log.h" @@ -1502,7 +1503,7 @@ index e4ddf9e..34d0152 100644 { av_opt_set_double(m_pContext, "rematrix_maxval", 1.0, 0); } -+ int boost_center = CSettings::GetInstance().GetInt("audiooutput.boostcenter"); ++ int boost_center = CServiceBroker::GetSettings().GetInt("audiooutput.boostcenter"); + if (boost_center) + { + float gain = pow(10.0f, ((float)(-3 + boost_center))/20.0f);