mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-31 21:50:37 +00:00
Patch by nshepperd, ticket #78. Segmentation fault in non-interactive mode.
This commit is contained in:
parent
ae09187308
commit
6d3234279a
1 changed files with 1 additions and 1 deletions
|
@ -1489,7 +1489,7 @@ int fluid_player_join(fluid_player_t* player)
|
||||||
return fluid_timer_join(player->system_timer);
|
return fluid_timer_join(player->system_timer);
|
||||||
} else if (player->sample_timer) {
|
} else if (player->sample_timer) {
|
||||||
/* Busy-wait loop, since there's no thread to wait for... */
|
/* Busy-wait loop, since there's no thread to wait for... */
|
||||||
while (player->status == FLUID_PLAYER_PLAYING) {
|
while (player->status != FLUID_PLAYER_DONE) {
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
Sleep(10);
|
Sleep(10);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue