X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=alsa_writer.c;h=5aa908518b113305372d126ead651ec961243046;hp=601353aaac84b7a8969d4bf9b5dc01d68242de19;hb=1b39496da38155b84636c0f7cee7f7dbbea33632;hpb=0f8ed21f8532a276d4f24b01638fd303fd57f0ed diff --git a/alsa_writer.c b/alsa_writer.c index 601353aa..5aa90851 100644 --- a/alsa_writer.c +++ b/alsa_writer.c @@ -128,6 +128,8 @@ static int alsa_open(struct writer_node *w) return -E_SW_PARAMS; pad->bytes_per_frame = snd_pcm_format_physical_width(FORMAT) * conf.channels_arg / 8; +// if (snd_pcm_nonblock(pad->handle, 1)) +// PARA_ERROR_LOG("%s\n", "failed to set nonblock mode"); return period_size * pad->bytes_per_frame; }