[vlc-commits] waveout: report initially selected output device
Rémi Denis-Courmont
git at videolan.org
Thu Apr 25 18:37:09 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr 25 19:36:46 2013 +0300| [d744f13bcc205d998145208f9e1c2ecc8ef22e34] | committer: Rémi Denis-Courmont
waveout: report initially selected output device
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d744f13bcc205d998145208f9e1c2ecc8ef22e34
---
modules/audio_output/waveout.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/audio_output/waveout.c b/modules/audio_output/waveout.c
index 6dfe7b7..aa2a8f4 100644
--- a/modules/audio_output/waveout.c
+++ b/modules/audio_output/waveout.c
@@ -806,7 +806,11 @@ static int Open(vlc_object_t *obj)
free(names);
free(ids);
}
- var_Create(aout, "waveout-audio-device", VLC_VAR_STRING|VLC_VAR_DOINHERIT);
+
+ char *dev = var_CreateGetNonEmptyString(aout, "waveout-audio-device");
+ aout_DeviceReport(aout, dev);
+ free(dev);
+
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list