mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-28 15:02:00 +00:00
Update deltatime on midi file load (closes ticket #59)
This commit is contained in:
parent
39b542ad02
commit
b1f76f8b0c
1 changed files with 1 additions and 1 deletions
|
@ -1253,7 +1253,7 @@ int fluid_player_load(fluid_player_t* player, char *filename)
|
|||
return FLUID_FAILED;
|
||||
}
|
||||
player->division = fluid_midi_file_get_division(midifile);
|
||||
|
||||
fluid_player_set_midi_tempo(player, player->miditempo); // Update deltatime
|
||||
/*FLUID_LOG(FLUID_DBG, "quarter note division=%d\n", player->division); */
|
||||
|
||||
if (fluid_midi_file_load_tracks(midifile, player) != FLUID_OK){
|
||||
|
|
Loading…
Reference in a new issue