Commit d2c7a686 authored by Paul van Schayck's avatar Paul van Schayck Committed by Alexandre Julliard

Don't stop looking for devices if one can't be opened.

parent 3d0b22b7
......@@ -831,7 +831,7 @@ LONG ALSA_WaveInit(void)
h = NULL;
snd_pcm_open(&h, wwo->device, SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK);
if (!h)
break;
continue;
EXIT_ON_ERROR( snd_pcm_info(h, info) , "pcm info" );
......@@ -993,7 +993,7 @@ LONG ALSA_WaveInit(void)
h = NULL;
snd_pcm_open(&h, wwi->device, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK);
if (!h)
break;
continue;
EXIT_ON_ERROR( snd_pcm_info(h, info) , "pcm info" );
......
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