From 7b346db6bc2ceb59f36a4c563f871cf3e37d63a8 Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Sun, 20 Aug 2023 01:00:08 +0200 Subject: [PATCH] Chose dither first psure this should be set first, doesent need to be touched anyways --- src/sdl/mixer_sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index 6300f53e8..b1259935c 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -1256,11 +1256,11 @@ boolean I_PlaySong(boolean looping) if (openmpt_mhandle) { openmpt_module_select_subsong(openmpt_mhandle, 0); + openmpt_module_ctl_set(openmpt_mhandle, "dither", "1"); openmpt_module_ctl_set(openmpt_mhandle, "render.resampler.emulate_amiga", cv_amigafilter.value ? "1" : "0"); #if OPENMPT_API_VERSION_MAJOR < 1 && OPENMPT_API_VERSION_MINOR > 4 openmpt_module_ctl_set_text(openmpt_mhandle, "render.resampler.emulate_amiga_type", cv_amigatype.string); #endif - openmpt_module_ctl_set(openmpt_mhandle, "dither", "1"); openmpt_module_set_render_param(openmpt_mhandle, OPENMPT_MODULE_RENDER_INTERPOLATIONFILTER_LENGTH, cv_modfilter.value); if (looping) openmpt_module_set_repeat_count(openmpt_mhandle, -1); // Always repeat