summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
*/