Scroll to navigation

Mix_StartTrack(3) SDL_mixer3 FUNCTIONS Mix_StartTrack(3)

NAME

Mix_StartTrack - Start a track in music object.

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
int Mix_StartTrack(Mix_Music *music, int track);

DESCRIPTION

This only applies to GME music formats.

FUNCTION PARAMETERS

the music object.
the track number to play. 0 is the first track.

RETURN VALUE

Returns 0 if successful, or -1 if failed or isn't implemented.

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SDL_mixer 3.0.0 SDL_mixer