]> git.alsa-project.org Git - alsa-utils.git/commit
arecordmidi2: Fix the tick in 1us tempo-base
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Jul 2024 15:14:06 +0000 (17:14 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Jul 2024 15:14:06 +0000 (17:14 +0200)
commit2ee6c170a837dc68a90d8bb7e424ab55e1127452
tree2df2684f6efd73de8d418a47e2934bcc8c9ffc64
parente609d66807589caad6d38bd2c848fc571675ef62
arecordmidi2: Fix the tick in 1us tempo-base

The recorded tick is incorrectly converted for 1us tempo-base on the
old kernels.  Since we correct the queue tempo, we don't have to
adjust the returned tick value any longer.  The current code applies
it doubly, resulting in 100 times slower.

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