From a37298e7bed28752e8dcbe8e37e355fe47bf5e99 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sat, 29 Mar 2025 23:11:07 +0300 Subject: Added support for LLE OPL2 and OPL3 emulators Kept disabled by default because they are extremely heavy for ordinary processors. --- utils/vlc_codec/libadlmidi.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'utils/vlc_codec') diff --git a/utils/vlc_codec/libadlmidi.c b/utils/vlc_codec/libadlmidi.c index 8946880..49082c7 100644 --- a/utils/vlc_codec/libadlmidi.c +++ b/utils/vlc_codec/libadlmidi.c @@ -187,6 +187,14 @@ static const int emulator_type_values[] = (int)ADLMIDI_EMU_YMFM_OPL2, (int)ADLMIDI_EMU_YMFM_OPL3, #endif + +#ifdef ADLMIDI_ENABLE_OPL2_LLE_EMULATOR + (int)ADLMIDI_EMU_NUKED_OPL2_LLE, +#endif + +#ifdef ADLMIDI_ENABLE_OPL3_LLE_EMULATOR + (int)ADLMIDI_EMU_NUKED_OPL3_LLE, +#endif }; static const char * const emulator_type_descriptions[] = { @@ -219,6 +227,15 @@ static const char * const emulator_type_descriptions[] = N_("YMFM OPL2"), N_("YMFM OPL3"), #endif + +#ifdef ADLMIDI_ENABLE_OPL2_LLE_EMULATOR + N_("Nuked OPL2-LLE [!EXTRA HEAVY!]"), +#endif + +#ifdef ADLMIDI_ENABLE_OPL3_LLE_EMULATOR + N_("Nuked OPL3-LLE [!EXTRA HEAVY!]"), +#endif + NULL }; -- cgit v1.2.3