From e1c8aa040b0cad023ef99f58c9e3726ebae2972f Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 31 May 2012 17:20:12 +0400 Subject: [PATCH] system/setting_helpers.cpp: fix CAudioSetupNotifier - also called for pref. DD; no need to repaint menu Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/bd561e78447ba575e1f4188e0b780505aecc0b58 Author: [CST] Focus Date: 2012-05-31 (Thu, 31 May 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/system/setting_helpers.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/system/setting_helpers.cpp b/src/system/setting_helpers.cpp index c808fc5c1..719b8b1a0 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -244,10 +244,12 @@ bool CAudioSetupNotifier::changeNotify(const neutrino_locale_t OptionName, void } else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_CLOCKREC)) { //.Clock recovery enable/disable // FIXME add code here. - } else { // FIXME atm used for SRS + } else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIO_SRS_ALGO) || + ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIO_SRS_NMGR) || + ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIO_SRS_VOLUME)) { audioDecoder->SetSRS(g_settings.srs_enable, g_settings.srs_nmgr_enable, g_settings.srs_algo, g_settings.srs_ref_volume); } - return true; + return false; } // used in ./gui/osd_setup.cpp: