From: Jaroslav Kysela Date: Fri, 6 Jan 2006 20:10:04 +0000 (+0000) Subject: pcm_min - blocking mode is default - remove extra snd_pcm_nonblock() call X-Git-Tag: v1.0.11rc3~14 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8e9dbcad79aaa25905287757960869d2ad7b9a80;p=alsa-lib.git pcm_min - blocking mode is default - remove extra snd_pcm_nonblock() call --- diff --git a/test/pcm_min.c b/test/pcm_min.c index 3c610189..e9aa2219 100644 --- a/test/pcm_min.c +++ b/test/pcm_min.c @@ -34,11 +34,6 @@ int main(void) exit(EXIT_FAILURE); } - if ((err = snd_pcm_nonblock(handle, 0)) < 0) { - printf("Set to blocking mode failed: %s\n", snd_strerror(err)); - exit(EXIT_FAILURE); - } - for (i = 0; i < 16; i++) { frames = snd_pcm_writei(handle, buffer, sizeof(buffer)); if (frames < 0)