Commit 7f8329ed authored by Jean-Paul Saman's avatar Jean-Paul Saman

auhal: do not destroy "audio-device" when AudioHardwarePropertyListener...

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.
parent 6b6096b2
...@@ -1051,7 +1051,7 @@ static void Probe( aout_instance_t * p_aout ) ...@@ -1051,7 +1051,7 @@ static void Probe( aout_instance_t * p_aout )
return; return;
error: error:
var_Destroy( p_aout, "audio-device" ); msg_Warn( p_aout, "audio device already initialized" );
free( p_devices ); free( p_devices );
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment