X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=alsa_write.c;h=d115a52db0ae899be1ec003d4f7e060611b0ee94;hp=dfa7a2e1a5ba068da9e457068e50eeccdf079ad3;hb=3db64b098184e08bfac7939775ad9db9ebfc72fb;hpb=f3b4f3298d2dffdb84a121b7d4aa561975f79be9 diff --git a/alsa_write.c b/alsa_write.c index dfa7a2e1..d115a52d 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -46,7 +46,6 @@ struct private_alsa_write_data { * of the writer node group. */ unsigned sample_rate; - snd_pcm_format_t sample_format; /** * The number of channels, given by command line option or the @@ -258,6 +257,7 @@ again: if (ret < 0) goto err; wn->min_iqs = pad->bytes_per_frame; + goto again; } frames = bytes / pad->bytes_per_frame; frames = snd_pcm_writei(pad->handle, data, frames);