Scroll to navigation

Mix_SetTimidityCfg(3) SDL_mixer3 FUNCTIONS Mix_SetTimidityCfg(3)

NAME

Mix_SetTimidityCfg - Set full path of the Timidity config file.

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
int 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 1 if successful, 0 on error

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SDL_mixer 3.0.0 SDL_mixer