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

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


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

oss: initialize current device value at start

(cherry picked from commit c90f1aa6b3f12e37828099d25a5fb5146aab58f3)

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

 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