Scroll to navigation

Mix_SetTimidityCfg(3) SDL_mixer3 FUNCTIONS Mix_SetTimidityCfg(3)

NAME

Mix_SetTimidityCfg - Set full path of the Timidity config file.

HEADER FILE

Defined in SDL3_mixer/SDL_mixer.h

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
bool Mix_SetTimidityCfg(const char *path);

DESCRIPTION

For example, "/etc/timidity.cfg"

This is obviously only useful if SDL_mixer is using Timidity internally to play MIDI files.

FUNCTION PARAMETERS

path to a Timidity config file.

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