mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 06:22:06 +00:00
Fix notes not being played that start at the value of seek_ticks
Fixes #646
This commit is contained in:
parent
d63524683f
commit
69e7eca670
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue