summaryrefslogtreecommitdiff
path: root/src/textfile_gui.h
diff options
context:
space:
mode:
authorRubidium <rubidium@openttd.org>2021-05-08 13:33:26 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-10 16:03:16 +0200
commit79fc094c54801bba83dc8aca2028fd6baf35965f (patch)
tree7efbdb1f1c7f4cc3b24496ec389315dae01192d5 /src/textfile_gui.h
parentc53d9991eed38177ad9b0e251b1e6f4cfb27191a (diff)
downloadopenttd-79fc094c54801bba83dc8aca2028fd6baf35965f.tar.xz
Cleanup: [Fluidsynth] Remove fluid_player_join
The function fluid_player_join in the library is broken beyond compare for the usecases it was used for (see their #872). It does not wait until it is safe to delete the player, so it is up to the end user to ensure that. For OpenTTD we acquire a lock before fluid_synth_write_s16 and we acquire the same lock in the stop function. So, only one of the functions can be doing its thing, meaning we do not need to wait for the player to be stopped as it cannot be doing anything as we prevent that by the lock.
Diffstat (limited to 'src/textfile_gui.h')
0 files changed, 0 insertions, 0 deletions