From cc7a4c48f3dd8289fc2b5e2fede4f29742081c4e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 26 Jul 2010 13:02:56 +0200 Subject: [PATCH] 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. --- alsa_write.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5