MIX_GetTrackGain - Man Page
Get a track's gain control.
Synopsis
#include <SDL3_mixer/SDL_mixer.h> float MIX_GetTrackGain(MIX_Track *track);
Description
This returns the last value set through MIX_SetTrackGain(), or 1.0f if no value has ever been explicitly set.
Function Parameters
- track
the track to query.
Return Value
Returns the track's current gain.
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL_mixer 3.0.0.
See Also
Info
SDL_mixer 3.2.4 SDL_mixer3 FUNCTIONS