]> git.alsa-project.org Git - alsa-utils.git/commitdiff
aplay: cosmetic code fix in xrun()
authorJaroslav Kysela <perex@perex.cz>
Fri, 23 Oct 2020 10:05:56 +0000 (12:05 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 23 Oct 2020 10:05:59 +0000 (12:05 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
aplay/aplay.c

index a27220d8fd039d03a46b0e80491a8cb9d9404161..ae609880bfd7fc6c4c4589ef1166eaccc60ac1cf 100644 (file)
@@ -1676,7 +1676,8 @@ static void xrun(void)
                        prg_exit(EXIT_FAILURE);
                }
                return;         /* ok, data should be accepted again */
-       } if (snd_pcm_status_get_state(status) == SND_PCM_STATE_DRAINING) {
+       }
+       if (snd_pcm_status_get_state(status) == SND_PCM_STATE_DRAINING) {
                if (verbose) {
                        fprintf(stderr, _("Status(DRAINING):\n"));
                        snd_pcm_status_dump(status, log);