[vlc-devel] commit: auhal: do not destroy "audio-device" when AudioHardwarePropertyListener failed, but try to use it anyway. ( Jean-Paul Saman )

git version control git at videolan.org
Fri Jul 24 14:28:35 CEST 2009


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Wed Jul 22 21:52:10 2009 +0200| [7f8329ed724f6e73a26f3aed944c07091faae00b] | committer: Jean-Paul Saman 

auhal: do not destroy "audio-device" when AudioHardwarePropertyListener failed, but try to use it anyway.

It allows multiple Safari webplugins to play audio at the sametime, just as 2 vlc instances would do.

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

 modules/audio_output/auhal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 530197e..2816b10 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -1051,7 +1051,7 @@ static void Probe( aout_instance_t * p_aout )
     return;
 
 error:
-    var_Destroy( p_aout, "audio-device" );
+    msg_Warn( p_aout, "audio device already initialized" );
     free( p_devices );
     return;
 }




More information about the vlc-devel mailing list