gui/audio_setup.cpp: fix notify - no need to repaint menu

This commit is contained in:
[CST] Focus
2012-05-31 17:12:02 +04:00
parent f612223cc6
commit 30327df948

View File

@@ -214,14 +214,14 @@ CTruVolumeNotifier::CTruVolumeNotifier(CMenuOptionChooser* o1, CMenuOptionChoose
bool CTruVolumeNotifier::changeNotify(const neutrino_locale_t, void * data) bool CTruVolumeNotifier::changeNotify(const neutrino_locale_t, void * data)
{ {
int active = (*(int *)data); int active = (*(int *)data);
for (int i = 0; i < 2; i++) for (int i = 0; i < 2; i++)
toDisable_oj[i]->setActive(active); toDisable_oj[i]->setActive(active);
toDisable_nj->setActive(active); toDisable_nj->setActive(active);
audioDecoder->SetSRS(g_settings.srs_enable, g_settings.srs_nmgr_enable, g_settings.srs_algo, g_settings.srs_ref_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;
} }