mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
Fix valgrind error (use of uninitialized variable in debug print)
This commit is contained in:
parent
3ec7ec22c7
commit
c6f5a94002
1 changed files with 2 additions and 0 deletions
|
@ -1120,6 +1120,8 @@ fluid_player_t* new_fluid_player(fluid_synth_t* synth)
|
||||||
player->send_program_change = 1;
|
player->send_program_change = 1;
|
||||||
player->miditempo = 480000;
|
player->miditempo = 480000;
|
||||||
player->deltatime = 4.0;
|
player->deltatime = 4.0;
|
||||||
|
player->cur_msec = 0;
|
||||||
|
player->cur_ticks = 0;
|
||||||
|
|
||||||
player->use_system_timer =
|
player->use_system_timer =
|
||||||
fluid_settings_str_equal(synth->settings, "player.timing-source", "system");
|
fluid_settings_str_equal(synth->settings, "player.timing-source", "system");
|
||||||
|
|
Loading…
Reference in a new issue