summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2013-04-17 08:34:34 +0200
committerJaroslav Kysela <perex@perex.cz>2013-04-17 08:34:34 +0200
commitb4f34ac26037c10ac51c4bb29203500165848977 (patch)
treed7ae788c9f253d3c13cf29cc34bfbc962d4313c3
parent95788fea25c1a59985828d4b91af0772d077600b (diff)
downloadalsa-utils-b4f34ac26037c10ac51c4bb29203500165848977.tar.gz
arecord: add a missing break to the capture loop
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--aplay/aplay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/aplay/aplay.c b/aplay/aplay.c
index 5bdc39c..000d25b 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -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
*/