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>
This commit is contained in:
Takashi Iwai 2024-07-08 17:14:06 +02:00
parent e609d66807
commit 2ee6c170a8

View file

@ -321,8 +321,6 @@ static void delta_time(FILE *file, const snd_seq_ump_event_t *ev)
if (diff <= 0)
return;
if (tempo_base == 1000)
diff *= 100;
write_dcs(file, diff);
last_tick = ev->time.tick;
}