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