diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | patch/sdlmusic.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# Duke on Fluidsynth +# Duke on FluidSynth This is a patchset I wrote for eduke32 that replaces the SDL2_Mixer backend, since its MIDI playback didn't work on my machine. @@ -15,7 +15,7 @@ you'll have to edit line 93 of `patch/sdlmusic.cpp`. # Demo Video -[](http://www.youtube.com/watch?v=mxkctwRZlHo "Duke on Fluidsynth") +[](http://www.youtube.com/watch?v=mxkctwRZlHo "Duke on FluidSynth") # Installation diff --git a/patch/sdlmusic.cpp b/patch/sdlmusic.cpp index 62af485..e558096 100644 --- a/patch/sdlmusic.cpp +++ b/patch/sdlmusic.cpp @@ -90,6 +90,7 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address) player = new_fluid_player(synth); driver = new_fluid_audio_driver(settings, synth); + MUSIC_SetLoopFlag(MUSIC_LoopSong); // Loop by default fluid_synth_sfload(synth, "/usr/share/soundfonts/FluidR3_GM.sf2", 1); return MIDI_Ok; |