mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
CMoviePlayerGui::selectAudioPid() add Analog Audio on/off option
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
#include <eitd/edvbstring.h>
|
||||
#include <system/helpers.h>
|
||||
|
||||
#include <src/mymenu.h>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/timeb.h>
|
||||
@@ -1241,7 +1243,13 @@ void CMoviePlayerGui::selectAudioPid()
|
||||
0, 999, CVolume::getInstance()));
|
||||
}
|
||||
}
|
||||
|
||||
if (!g_settings.easymenu) {
|
||||
APIDSelector.addItem(new CMenuSeparator(CMenuSeparator::LINE));
|
||||
extern CAudioSetupNotifier * audioSetupNotifier;
|
||||
APIDSelector.addItem( 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) );
|
||||
}
|
||||
APIDSelector.exec(NULL, "");
|
||||
delete selector;
|
||||
printf("CMoviePlayerGui::selectAudioPid: selected %d (%x) current %x\n", select, (select >= 0) ? apids[select] : -1, currentapid);
|
||||
|
Reference in New Issue
Block a user