]> git.alsa-project.org Git - alsa-utils.git/commitdiff
arecord: add a missing break to the capture loop
authorJaroslav Kysela <perex@perex.cz>
Wed, 17 Apr 2013 06:34:34 +0000 (08:34 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 17 Apr 2013 06:34:34 +0000 (08:34 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
aplay/aplay.c

index 5bdc39ca3fdedd7d00acc67687f3f935ddd091ed..000d25b6fe667d0dc05290f6a299d022de96f2c5 100644 (file)
@@ -3021,6 +3021,9 @@ static void capture(char *orig_name)
                        fd = -1;
                }
 
+               if (in_aborting)
+                       break;
+
                /* repeat the loop when format is raw without timelimit or
                 * requested counts of data are recorded
                 */