mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-28 06:52:57 +00:00
Do not call fluid_player_join if the player does not advance
This commit is contained in:
parent
2579d853fb
commit
f49fed5e83
1 changed files with 4 additions and 1 deletions
|
@ -712,7 +712,10 @@ int main(int argc, char** argv)
|
|||
if (interactive) {
|
||||
fluid_player_stop(player);
|
||||
}
|
||||
fluid_player_join(player);
|
||||
if (adriver != NULL || !fluid_settings_str_equal(settings, "player.timing-source", "sample")) {
|
||||
/* if no audio driver and sample timers are used, nothing makes the player advance */
|
||||
fluid_player_join(player);
|
||||
}
|
||||
delete_fluid_player(player);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue