alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same way we do it for initial opening

This commit is contained in:
Lennart Poettering 2009-09-09 04:44:51 +02:00
parent 557c429510
commit 84ade2140e
2 changed files with 2 additions and 2 deletions

View file

@ -950,7 +950,7 @@ static int unsuspend(struct userdata *u) {
pa_log_info("Trying resume...");
if ((err = snd_pcm_open(&u->pcm_handle, u->device_name, SND_PCM_STREAM_PLAYBACK,
/*SND_PCM_NONBLOCK|*/
SND_PCM_NONBLOCK|
SND_PCM_NO_AUTO_RESAMPLE|
SND_PCM_NO_AUTO_CHANNELS|
SND_PCM_NO_AUTO_FORMAT)) < 0) {