Add Dithering and Amiga filter type since theyre supported now

set default values
This commit is contained in:
alufolie91 committed 2023-08-19 05:23:18 +02:00
1 parent 540c9c4b1d
commit d22f08b064
1 file changed
+2
+2
View File
@@ -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