Fix notes not being played that start at the value of seek_ticks

Fixes #646
This commit is contained in:
derselbst 2020-05-16 10:26:42 +02:00
parent d63524683f
commit 69e7eca670

View file

@ -1593,7 +1593,7 @@ fluid_track_send_events(fluid_track_t *track,
if(!player || event->type == MIDI_EOT)
{
}
else if(seeking && (event->type == NOTE_ON || event->type == NOTE_OFF))
else if(seeking && track->ticks != ticks && (event->type == NOTE_ON || event->type == NOTE_OFF))
{
/* skip on/off messages */
}