vlc | branch: master | Jai Menon <[email protected]> | Wed Aug 11 23:43:32 2010 +0530| [671c8ee278fc04bb8d51ce84fb211f7bd261100b] | committer: Jean-Baptiste Kempf
ALSA : Fix error check for the busy waiting case. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=671c8ee278fc04bb8d51ce84fb211f7bd261100b --- modules/audio_output/alsa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c index 2216e81..4489513 100644 --- a/modules/audio_output/alsa.c +++ b/modules/audio_output/alsa.c @@ -463,7 +463,7 @@ static int Open( vlc_object_t *p_this ) the time it returns, probe if the device is available in loop for 1s. We cannot use blocking mode since the we would wait indefinitely when switching from a dmx device to surround51. */ - if( i == 0 ) + if( i == 1 ) { msg_Err( p_aout, "audio device %s is already in use", psz_device ); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
