mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
audio: change change DD over hdmi options to:
off, auto (old ON, if supported by device) and force git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2135 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -141,6 +141,8 @@ typedef enum
|
||||
LOCALE_AUDIOMENU_CLOCKREC,
|
||||
LOCALE_AUDIOMENU_DOLBYDIGITAL,
|
||||
LOCALE_AUDIOMENU_HDMI_DD,
|
||||
LOCALE_AUDIOMENU_HDMI_DD_AUTO,
|
||||
LOCALE_AUDIOMENU_HDMI_DD_FORCE,
|
||||
LOCALE_AUDIOMENU_MONOLEFT,
|
||||
LOCALE_AUDIOMENU_MONORIGHT,
|
||||
LOCALE_AUDIOMENU_PREF_LANG,
|
||||
|
@@ -141,6 +141,8 @@ const char * locale_real_names[] =
|
||||
"audiomenu.clockrec",
|
||||
"audiomenu.dolbydigital",
|
||||
"audiomenu.hdmi_dd",
|
||||
"audiomenu.hdmi_dd_auto",
|
||||
"audiomenu.hdmi_dd_force",
|
||||
"audiomenu.monoleft",
|
||||
"audiomenu.monoright",
|
||||
"audiomenu.pref_lang",
|
||||
|
@@ -419,7 +419,7 @@ bool CAudioSetupNotifier::changeNotify(const neutrino_locale_t OptionName, void
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_ANALOG_OUT)) {
|
||||
audioDecoder->EnableAnalogOut(g_settings.analog_out ? true : false);
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_HDMI_DD)) {
|
||||
audioDecoder->SetHdmiDD(g_settings.hdmi_dd ? true : false);
|
||||
audioDecoder->SetHdmiDD((HDMI_ENCODED_MODE) g_settings.hdmi_dd);
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_SPDIF_DD)) {
|
||||
audioDecoder->SetSpdifDD(g_settings.spdif_dd ? true : false);
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_AVSYNC)) {
|
||||
|
Reference in New Issue
Block a user