[vlc-commits] auhal: fix audio device selection via command line

David Fuhrmann git at videolan.org
Thu Dec 12 20:18:06 CET 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Thu Dec 12 20:17:24 2013 +0100| [0afac74a661fd1a56fa5514a9384c0e470890e7b] | committer: David Fuhrmann

auhal: fix audio device selection via command line

close #10119

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

 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 0f33d0f..9749035 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -234,7 +234,7 @@ static int Open(vlc_object_t *obj)
     p_sys->b_mute = var_InheritBool(p_aout, "mute");
     aout_MuteReport(p_aout, p_sys->b_mute);
 
-    char *psz_audio_device = config_GetPsz(p_aout, "auhal-audio-device");
+    char *psz_audio_device = var_InheritString(p_aout, "auhal-audio-device");
     SwitchAudioDevice(p_aout, psz_audio_device);
     free(psz_audio_device);
 



More information about the vlc-commits mailing list