mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
gui/audio_select.cpp: disable analog audio on/off for easy menu mode
This commit is contained in:
@@ -128,11 +128,12 @@ int CAudioSelectMenuHandler::doMenu ()
|
||||
|
||||
AudioSelector.addItem( oj );
|
||||
|
||||
oj = new CMenuOptionChooser(LOCALE_AUDIOMENU_ANALOG_OUT, &g_settings.analog_out,
|
||||
OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT,
|
||||
true, audioSetupNotifier, CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN);
|
||||
|
||||
AudioSelector.addItem( oj );
|
||||
if (!g_settings.easymenu) {
|
||||
oj = new CMenuOptionChooser(LOCALE_AUDIOMENU_ANALOG_OUT, &g_settings.analog_out,
|
||||
OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT,
|
||||
true, audioSetupNotifier, CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN);
|
||||
AudioSelector.addItem( oj );
|
||||
}
|
||||
|
||||
CChannelList *channelList = CNeutrinoApp::getInstance ()->channelList;
|
||||
int curnum = channelList->getActiveChannelNumber();
|
||||
|
Reference in New Issue
Block a user