aac audio format handler: fix end of file timeout
[paraslash.git] / alsa_writer.c
index 601353aaac84b7a8969d4bf9b5dc01d68242de19..5aa908518b113305372d126ead651ec961243046 100644 (file)
@@ -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;
 }