summary refs log tree commit diff
path: root/src/modules/fluidsynth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/fluidsynth.c')
-rw-r--r--src/modules/fluidsynth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fluidsynth.c b/src/modules/fluidsynth.c
index fd3c874..9eedc2c 100644
--- a/src/modules/fluidsynth.c
+++ b/src/modules/fluidsynth.c
@@ -36,7 +36,7 @@ int module_fluidsynth(struct blob *file, struct userdata *userdata) {
 	fs->settings = new_fluid_settings(); // wasteful, but when trying to 'fix' it it just caused more errors
 	fluid_settings_setnum(fs->settings, "synth.gain", 0.5);
 	fluid_settings_setint(fs->settings, "player.reset-synth", 0);
-	fluid_settings_setnum(fs->settings, "synth.sample-rate", 48000);
+	fluid_settings_setnum(fs->settings, "synth.sample-rate", SAMPLE_RATE);
 	fs->synth = new_fluid_synth(fs->settings);
 	char *soundfont_path = getenv("SOUNDFONT");
 	if (soundfont_path == NULL) {