You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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. |
3 years ago | |
---|---|---|
.. | ||
CMakeLists.txt | 4 years ago | |
allegro_m.cpp | 4 years ago | |
allegro_m.h | 4 years ago | |
bemidi.cpp | 4 years ago | |
bemidi.h | 4 years ago | |
cocoa_m.cpp | 3 years ago | |
cocoa_m.h | 4 years ago | |
dmusic.cpp | 3 years ago | |
dmusic.h | 4 years ago | |
extmidi.cpp | 4 years ago | |
extmidi.h | 4 years ago | |
fluidsynth.cpp | 3 years ago | |
fluidsynth.h | 4 years ago | |
midi.h | 5 years ago | |
midifile.cpp | 3 years ago | |
midifile.hpp | 5 years ago | |
music_driver.hpp | 4 years ago | |
null_m.cpp | 5 years ago | |
null_m.h | 4 years ago | |
os2_m.cpp | 4 years ago | |
os2_m.h | 4 years ago | |
win32_m.cpp | 4 years ago | |
win32_m.h | 4 years ago |