summaryrefslogtreecommitdiff
path: root/alsa-info
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@chromium.org>2019-01-29 01:58:26 -0800
committerTakashi Iwai <tiwai@suse.de>2019-02-11 09:13:47 +0100
commit52c9cc9571659377800fea026cf31b24e2f31394 (patch)
tree9833abac05e6eda85034b68fe8f82e9b189bc463 /alsa-info
parent6fdaa0c52412205017a9a71872169c75f3d3a542 (diff)
downloadalsa-utils-52c9cc9571659377800fea026cf31b24e2f31394.tar.gz
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>
Diffstat (limited to 'alsa-info')
0 files changed, 0 insertions, 0 deletions