mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:45:41 +01:00
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:
parent
e609d66807
commit
2ee6c170a8
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue