Get a mixer's master gain control.
Defined in <SDL3_mixer/SDL_mixer.h>
float MIX_GetMasterGain(MIX_Mixer *mixer);
MIX_Mixer * | mixer | the mixer to query. |
(float) Returns the mixer's current master gain.
This returns the last value set through MIX_SetMasterGain(), 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.