diff options
author | Jaroslav Kysela <perex@perex.cz> | 2013-04-17 08:34:34 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2013-04-17 08:34:34 +0200 |
commit | b4f34ac26037c10ac51c4bb29203500165848977 (patch) | |
tree | d7ae788c9f253d3c13cf29cc34bfbc962d4313c3 | |
parent | 95788fea25c1a59985828d4b91af0772d077600b (diff) | |
download | alsa-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.c | 3 |
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 */ |