Recent versions of SDL_Mixer allow for rendering MIDI songs using the fluidsynth backend and recent versions of fluidsynth allow for using soundfonts in SF3 format (which contain OGG compressed samples). The midiproc process currently assumes that it is possible to remove the temporary music file immediately after Mix_LoadMUS() has been called, which is true if the music is rendered using Windows's limited intrnal MIDI playback. However, when using an advanced backend like fluidsynth, this file maybe locked by this library. Furthermore, midiproc currently assumes that it is possible to override the temporary music file as soon as Mix_HaltMusic() has been called which is again not true if fluidsynth is used. In this case, this is only possible after Mix_FreeMusic() has been called (and returned). Additionally, we increase the time-out value after which we give up waiting for the midiproc process to send an acknowledgement to 1s to give it some time to load the fluidsynth library and a soundfont (although 1s will still not be enough for soundfonts in SF3 format which reportedly load up to the order of 10s!). |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| buffer.c | ||
| buffer.h | ||
| main.c | ||
| Makefile.am | ||
| proto.h | ||