Get SoundFonts paths to use by supported MIDI backends.
Defined in <SDL3_mixer/SDL_mixer.h>
const char* Mix_GetSoundFonts(void);(const char *) Returns semicolon-separated list of sound font paths.
There are several factors that determine what will be reported by this function:
"SDL_FORCE_SOUNDFONTS"
is set, AND the "SDL_SOUNDFONTS" environment
variable is also set, this function will return that environment
variable regardless of whether Mix_SetSoundFonts() was ever
called."SDL_SOUNDFONTS" variable is set,
this function will return that environment variable.This returns a pointer to internal (possibly read-only) memory, and it should not be modified or free'd by the caller.
This function is available since SDL_mixer 3.0.0.