Debian Bug report logs - #894994
Proper way to stop

version graph

Package: alsa-utils; Maintainer for alsa-utils is Debian ALSA Maintainers <[email protected]>; Source for alsa-utils is src:alsa-utils (PTS, buildd, popcon).

Reported by: 積丹尼 Dan Jacobson <[email protected]>

Date: Fri, 6 Apr 2018 00:18:02 UTC

Severity: wishlist

Found in version alsa-utils/1.1.3-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian ALSA Maintainers <[email protected]>:
Bug#894994; Package alsa-utils. (Fri, 06 Apr 2018 00:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to 積丹尼 Dan Jacobson <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian ALSA Maintainers <[email protected]>. (Fri, 06 Apr 2018 00:18:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: 積丹尼 Dan Jacobson <[email protected]>
To: [email protected]
Subject: Proper way to stop
Date: Fri, 06 Apr 2018 08:15:14 +0800
Package: alsa-utils
Version: 1.1.3-1
Severity: wishlist
File: /usr/share/man/man1/aplay.1.gz

We see
SYNOPSIS
       arecord [flags] [filename]
       aplay [flags] [filename [filename]] ...
which shows us how to start.

Regarding how to stop, all we find is

SIGNALS
       When recording, SIGINT, SIGTERM and SIGABRT will close the output file
       and exit. SIGUSR1 will close the output file, open a new one, and
       continue recording. However, SIGUSR1 does not work with
       --separate-channels.

So apparently one is supposed to perhaps press ^C.

But that leaves all kinds of nasty error messages on the terminal:

$ arecord x
Recording WAVE 'x' : Unsigned 8 bit, Rate 8000 Hz, Mono
^CAborted by signal Interrupt...
arecord: pcm_read:2103: read error: Interrupted system call

$ aplay x
Playing WAVE 'x' : Unsigned 8 bit, Rate 8000 Hz, Mono
^CAborted by signal Interrupt...
aplay: pcm_write:2261: write error: Interrupted system call

Therefore you need to document:
* The proper way to stop.
* What error messages are expected, what are unexpected.

In fact, perhaps implement ESC or q for a less violent stop.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:17:51 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.