]> git.alsa-project.org Git - alsa-utils.git/commit
arecordmidi2: Start queue at starting the stream
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Jul 2024 14:15:45 +0000 (16:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Jul 2024 14:26:09 +0000 (16:26 +0200)
commit16533f81de9d1628ef434850675f22aa719b4597
tree25d12da73a1d51c04a09d886f36c482cfa9ad065
parent1205dd5f6c1454fac1bcfa1659c13ff562d44e6b
arecordmidi2: Start queue at starting the stream

The queue should be started at the very same time of the start of the
stream itself in the interactive mode.  Otherwise it'll get bogus long
waits until the start of the clip.

Move the code to start the queue in start_bar(), so that it's always
tied with the start sequence.

Fixes: 1205dd5f6c14 ("arecordmidi2: Add passive mode and interactive mode")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
seq/aplaymidi2/arecordmidi2.c