mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
armbox: rework AC3 and DTS passtrough
//vanhofen: this commit includes all following fixes and a small
new change in setting_helpers.cpp
Origin commit data
------------------
Commit: a4789ae379
Author: Frankenstone <dampf_acc@online.de>
Date: 2018-09-09 (Sun, 09 Sep 2018)
This commit is contained in:
@@ -426,10 +426,17 @@ bool CAudioSetupNotifier::changeNotify(const neutrino_locale_t OptionName, void
|
||||
g_Zapit->setAudioMode(g_settings.audio_AnalogMode);
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_ANALOG_OUT)) {
|
||||
audioDecoder->EnableAnalogOut(g_settings.analog_out ? true : false);
|
||||
#if HAVE_ARM_HARDWARE
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_AC3)) {
|
||||
audioDecoder->SetHdmiDD(g_settings.ac3_pass ? true : false);
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_DTS)) {
|
||||
audioDecoder->SetSpdifDD(g_settings.dts_pass ? true : false);
|
||||
#else
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_HDMI_DD)) {
|
||||
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);
|
||||
#endif
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_AUDIOMENU_AVSYNC)) {
|
||||
videoDecoder->SetSyncMode((AVSYNC_TYPE)g_settings.avsync);
|
||||
audioDecoder->SetSyncMode((AVSYNC_TYPE)g_settings.avsync);
|
||||
|
Reference in New Issue
Block a user