alsa-utils/seq
Prashant Malani 52c9cc9571 seq: arecordmidi: Add num-events option
Add a command line option to automatically exit after recording a fixed
number of MIDI events. This allows a program using arecordmidi to expect
a MIDI file to be written automatically when the specified number of
events have been received, instead of having to send a SIGINT or SIGTERM
programmatically.

It also avoids the need to have the arecordmidi process running in the
background, and then constantly stat the output file to check if any
bytes have been written to it (this makes for less predictable and
longer-running tests).

This functionality finds use in Chrome OS functional testing, since
having to send SIGTERM/SIGINT programmatically and then wait for the
output file adds unpredictability and delay to the tests.

The addition of this command-line option should (hopefully) not break
any existing usage.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-02-11 09:13:47 +01:00
..
aconnect aconnect: Show sequencer sound card numer/PID via aconnect 2016-03-09 09:15:43 +01:00
aplaymidi seq: arecordmidi: Add num-events option 2019-02-11 09:13:47 +01:00
aseqdump Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
aseqnet Makefiles - use AM_CPPFLAGS instead INCLUDES 2014-05-07 10:55:59 +02:00
Makefile.am move event dumping from arecordmidi to aseqdump 2005-02-21 08:30:12 +00:00