]> git.sesse.net Git - vlc/commitdiff
auhal: do not destroy "audio-device" when AudioHardwarePropertyListener failed, but...
authorJean-Paul Saman <jpsaman@videolan.org>
Wed, 22 Jul 2009 19:52:10 +0000 (21:52 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 24 Jul 2009 12:26:29 +0000 (14:26 +0200)
It allows multiple Safari webplugins to play audio at the sametime, just as 2 vlc instances would do.

modules/audio_output/auhal.c

index 530197edecd0c71b041aa4c9c87a94fcb3fcf60b..2816b10783d9b6b8f87e36ffc59ba76f7edd6334 100644 (file)
@@ -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;
 }