mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
system/setting_helpers.cpp: fix CAudioSetupNotifier - also called for pref. DD; no need to repaint menu
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user