SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)

Mix_MasterVolume

Set the master volume for all channels.

Syntax

int Mix_MasterVolume(int volume);

Function Parameters

volume

volume

Return Value

Returns volume

Remarks

This did not affect the member variables of channel or chunk volume. If the specified volume is -1, just return the current master volume.

Version

This function is available since SDL_mixer 2.6.0.


CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.