From aa759ff708196e5ea0f39bedabfbecb8f164294e Mon Sep 17 00:00:00 2001 From: zlago Date: Mon, 2 Sep 2024 10:58:10 +0200 Subject: cleanup --- src/modules/fluidsynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/fluidsynth.c') 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) { -- cgit 1.4.1-2-gfad0