summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--patch/sdlmusic.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1e9c533..51b63da 100644
--- a/README.md
+++ b/README.md
@@ -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
-[![Duke on Fluidsynth](http://img.youtube.com/vi/mxkctwRZlHo/0.jpg)](http://www.youtube.com/watch?v=mxkctwRZlHo "Duke on Fluidsynth")
+[![Duke on FluidSynth](http://img.youtube.com/vi/mxkctwRZlHo/0.jpg)](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;