[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int Mix_VolumeMusic(int volume)
Set the volume to volume, if it is 0 or greater, and return the previous volume setting. Setting the volume during a fade will not work, the faders use this function to perform their effect! Setting volume while using an external music player set by Mix_SetMusicCMD
will have no effect, and Mix_GetError
will show the reason why not.
Returns: The previous volume setting.
|
See Also:
4.5.6 Mix_FadeInMusic,
4.5.16 Mix_FadeOutMusic,
4.5.14 Mix_SetMusicCMD