MIX_GetTrackMixer - Man Page

Get the MIX_Mixer that owns a MIX_Track.

Synopsis

#include <SDL3_mixer/SDL_mixer.h>

MIX_Mixer * MIX_GetTrackMixer(MIX_Track *track);

Description

This is the mixer pointer that was passed to MIX_CreateTrack().

Function Parameters

track

the track to query.

Return Value

Returns the mixer associated with the track, or NULL on error; call SDL_GetError() for more information.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL_mixer 3.0.0.

Info

SDL_mixer 3.2.4 SDL_mixer3 FUNCTIONS