[vlc-commits] oss: initialize current device value at start

Rémi Denis-Courmont git at videolan.org
Tue Feb 17 19:43:13 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 17 20:42:57 2015 +0200| [c90f1aa6b3f12e37828099d25a5fb5146aab58f3] | committer: Rémi Denis-Courmont

oss: initialize current device value at start

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

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

diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index 1afd03d..9453d5c 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -394,6 +394,7 @@ static int Open (vlc_object_t *obj)
     aout->start = Start;
     aout->stop = Stop;
     aout->device_select = DeviceSelect;
+    aout_DeviceReport (aout, sys->device);
     aout_SoftVolumeInit (aout);
 
     DevicesEnum (aout);



More information about the vlc-commits mailing list