OSDN Git Service

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 5bdc39c..000d25b 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
                 */