[vlc-commits] auhal: restart aout if device setup changes

Felix Paul Kühne git at videolan.org
Sat Mar 9 22:15:43 CET 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Mar  9 22:00:42 2013 +0100| [37d01f73957610f78a96dc77197880bfa056c8d3] | committer: Felix Paul Kühne

auhal: restart aout if device setup changes

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

 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 15d053c..519b084 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -1377,6 +1377,7 @@ static OSStatus HardwareListener(AudioObjectID inObjectID,  UInt32 inNumberAddre
 #endif
 
     RebuildDeviceList(p_aout);
+    aout_RestartRequest(p_aout, AOUT_RESTART_OUTPUT);
 
     return err;
 }



More information about the vlc-commits mailing list