Get number of tracks in music object.
Defined in <SDL3_mixer/SDL_mixer.h>
int Mix_GetNumTracks(Mix_Music *music);
Mix_Music * | music | the music object. |
(int) Returns number of tracks if successful, or -1 if failed or isn't implemented.
This only applies to GME music formats.
This function is available since SDL_mixer 3.0.0.