From: Andre Noll Date: Mon, 26 Jul 2010 11:02:56 +0000 (+0200) Subject: alsa: Add a missing "goto again" statement. X-Git-Tag: v0.4.4~9 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=cc7a4c48f3dd8289fc2b5e2fede4f29742081c4e;hp=8e74df45624e5b76debcd685f8e616dc6ad2bd3a alsa: Add a missing "goto again" statement. Without this the return value of btr_node_status() might be incorrect as the wrong minimal input queue size was used. --- diff --git a/alsa_write.c b/alsa_write.c index 7a4b868d..559dab25 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -249,6 +249,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);