summaryrefslogtreecommitdiff
path: root/extra/alsa-utils/arecord-1.0.27.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/alsa-utils/arecord-1.0.27.patch')
-rw-r--r--extra/alsa-utils/arecord-1.0.27.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/alsa-utils/arecord-1.0.27.patch b/extra/alsa-utils/arecord-1.0.27.patch
new file mode 100644
index 000000000..f9edb2d21
--- /dev/null
+++ b/extra/alsa-utils/arecord-1.0.27.patch
@@ -0,0 +1,24 @@
+From: Jaroslav Kysela <perex@perex.cz>
+Date: Wed, 17 Apr 2013 06:34:34 +0000 (+0200)
+Subject: arecord: add a missing break to the capture loop
+X-Git-Url: http://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff_plain;h=b4f34ac26037c10ac51c4bb29203500165848977
+
+arecord: add a missing break to the capture loop
+
+Signed-off-by: Jaroslav Kysela <perex@perex.cz>
+---
+
+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
+ */