table of contents
other versions
- experimental 3~git20250302~78a2035+ds-1
Mix_SetSoundFonts(3) | SDL_mixer3 FUNCTIONS | Mix_SetSoundFonts(3) |
NAME¶
Mix_SetSoundFonts - Set SoundFonts paths to use by supported MIDI backends.
HEADER FILE¶
Defined in SDL3_mixer/SDL_mixer.h
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
bool Mix_SetSoundFonts(const char *paths);
DESCRIPTION¶
You may specify multiple paths in a single string by separating them with semicolons; they will be searched in the order listed.
This function replaces any previously-specified paths.
Passing a NULL path will remove any previously-specified paths.
FUNCTION PARAMETERS¶
- paths
- Paths on the filesystem where SoundFonts are available, separated by semicolons.
RETURN VALUE¶
Returns true on success or false on failure; call SDL_GetError() for more information.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SDL_mixer 3.0.0 | SDL_mixer |