From d22f08b064136d8f2ea36119f8f6e324ac93a923 Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Sat, 19 Aug 2023 05:23:18 +0200 Subject: [PATCH] Add Dithering and Amiga filter type since theyre supported now set default values --- src/sdl/mixer_sound.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index 3e2df0067..34c59b90c 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -1257,6 +1257,8 @@ boolean I_PlaySong(boolean looping) { openmpt_module_select_subsong(openmpt_mhandle, 0); openmpt_module_ctl_set(openmpt_mhandle, "render.resampler.emulate_amiga", cv_amigafilter.value ? "1" : "0"); + openmpt_module_ctl_set(openmpt_mhandle, "render.resampler.emulate_amiga_type", "auto"); + 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