replace music backend enumeration with generic string (#1362)

* get music backend enumeration right

* simplify

* replace enumeration with generic string
This commit is contained in:
Fabian Greffrath 2024-01-02 14:07:47 +01:00 committed by GitHub
parent b8677656be
commit 1a18dfb409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -456,22 +456,11 @@ default_t defaults[] = {
"[OpenAL 3D] Doppler effect (0 = Off, 10 = Max)"
},
// [FG] music backend
{
"midi_player",
(config_t *) &midi_player, NULL,
{0}, {0, 2},
number, ss_gen, wad_no,
#if defined(_WIN32) || defined (__APPLE__)
"0 for Native (default), "
#else
"0 for SDL2 (default), "
#endif
#if defined(HAVE_FLUIDSYNTH)
"1 for FluidSynth, 2 for OPL Emulation"
#else
"1 for OPL Emulation"
#endif
{0}, {0, 2}, number, ss_gen, wad_no,
"MIDI Player backend (Native if available, FluidSynth if available, OPL Emulation)"
},
{