forked from pool/alsa-utils
Takashi Iwai
2f76079787
- Upstream fix: arecord: add a missing break to the capture loop 0003-arecord-add-a-missing-break-to-the-capture-loop.patch OBS-URL: https://build.opensuse.org/request/show/172367 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=78
28 lines
675 B
Diff
28 lines
675 B
Diff
From b4f34ac26037c10ac51c4bb29203500165848977 Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Wed, 17 Apr 2013 08:34:34 +0200
|
|
Subject: [PATCH] arecord: add a missing break to the capture loop
|
|
|
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
---
|
|
aplay/aplay.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
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
|
|
*/
|
|
--
|
|
1.8.2.1
|
|
|