[vlc-commits] auhal: use spidf with default device when enabled in prefs

David Fuhrmann git at videolan.org
Fri May 10 10:45:48 CEST 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri May 10 10:16:18 2013 +0200| [daff83e051c87d347281e38fffb2bff07ccca837] | committer: David Fuhrmann

auhal: use spidf with default device when enabled in prefs

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=daff83e051c87d347281e38fffb2bff07ccca837
---

 modules/audio_output/auhal.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 180dab2..1ab7fc4 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -309,6 +309,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");
     }
 
     // recheck if device still supports digital



More information about the vlc-commits mailing list