]> git.alsa-project.org Git - alsa-utils.git/commit
arecordmidi2: Add passive mode and interactive mode
authorTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2024 12:46:49 +0000 (14:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2024 15:20:54 +0000 (17:20 +0200)
commit1205dd5f6c1454fac1bcfa1659c13ff562d44e6b
tree5bda35c428891bedf78ce232469bd8eed0cf6a3f
parent7911d6337042b7bdb58d5ba42cfa45e4fb944f44
arecordmidi2: Add passive mode and interactive mode

Allow arecordmidi2 running without specifying the source ports via -p
option.  This will create a UMP Endpoint with the full 16 FBs, and
simply reads from the input ports via subscribers.  User needs to
connect to the ports manually, though.

Also, add -r option to run in the interactive mode.  In the
interactive mode, arecordmidi2 waits for the RETURN key entered from
the terminal to start the recording, and the recording ends after
another RETURN key.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
seq/aplaymidi2/arecordmidi2.1
seq/aplaymidi2/arecordmidi2.c