[vlc-devel] [RFC PATCH 11/17] auhal: don't check "spdif" option

Thomas Guillem thomas at gllm.fr
Mon Jul 25 17:24:00 CEST 2016


Input format can't be S/PDIF anymore if the "spdif" option is false.
---
 modules/audio_output/auhal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index de64f42..e00d987 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -386,7 +386,7 @@ static int Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
             msg_Dbg(p_aout, "using default audio device %i", defaultDeviceID);
 
         p_sys->i_selected_dev = defaultDeviceID;
-        p_sys->b_selected_dev_is_digital = var_InheritBool(p_aout, "spdif");
+        p_sys->b_selected_dev_is_digital = true;
     }
     vlc_mutex_unlock(&p_sys->selected_device_lock);
 
-- 
2.8.1



More information about the vlc-devel mailing list