Commit 4d8907a4 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.
(cherry picked from commit 2df853a4d4ad41a63817da60cc9837374e00f88e)
Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent f6e9bda1
......@@ -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;
}
......
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