From 8252e54e14489eb217af8bd40bc63a37b408abea Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Fri, 1 Apr 2022 11:56:13 +0100 Subject: Snes9x2005 Non-Plus: Add optional low pass audio filter --- libretro_core_options.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'libretro_core_options.h') diff --git a/libretro_core_options.h b/libretro_core_options.h index 6f46d16..28bb210 100644 --- a/libretro_core_options.h +++ b/libretro_core_options.h @@ -122,6 +122,53 @@ struct retro_core_option_v2_definition option_defs_us[] = { }, "33" }, +#ifndef USE_BLARGG_APU + { + "snes9x_2005_low_pass_filter", + "Audio Filter", + NULL, + "Enable a low pass audio filter to soften treble artifacts and mimic the 'bassy' sound of original SNES hardware.", + NULL, + NULL, + { + { "disabled", NULL }, + { "enabled", NULL }, + { NULL, NULL }, + }, + "disabled" + }, + { + "snes9x_2005_low_pass_range", + "Audio Filter Level", + NULL, + "Specify the cut-off frequency of the low pass audio filter. A higher value increases the perceived 'strength' of the filter, since a wider range of the high frequency spectrum is attenuated.", + NULL, + NULL, + { + { "5", "5%" }, + { "10", "10%" }, + { "15", "15%" }, + { "20", "20%" }, + { "25", "25%" }, + { "30", "30%" }, + { "35", "35%" }, + { "40", "40%" }, + { "45", "45%" }, + { "50", "50%" }, + { "55", "55%" }, + { "60", "60%" }, + { "65", "65%" }, + { "70", "70%" }, + { "75", "75%" }, + { "80", "80%" }, + { "85", "85%" }, + { "90", "90%" }, + { "95", "95%" }, + { NULL, NULL }, + }, + "60" + }, +#endif { "snes9x_2005_overclock_cycles", "Reduce Slowdown (Hack, Unsafe, Restart)", -- cgit v1.2.3