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 530197e..2816b10 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;
 }