Get a track's gain control.
Defined in <SDL3_mixer/SDL_mixer.h>
float MIX_GetTrackGain(MIX_Track *track);
MIX_Track * | track | the track to query. |
(float) Returns the track's current gain.
This returns the last value set through MIX_SetTrackGain(), or 1.0f if no value has ever been explicitly set.
It is safe to call this function from any thread.
This function is available since SDL_mixer 3.0.0.