MIX_GetMixerGain - Man Page
Get a mixer's master gain control.
Synopsis
#include <SDL3_mixer/SDL_mixer.h> float MIX_GetMixerGain(MIX_Mixer *mixer);
Description
This returns the last value set through MIX_SetMixerGain(), or 1.0f if no value has ever been explicitly set.
Function Parameters
- mixer
the mixer to query.
Return Value
Returns the mixer's current master 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