SDL_Function
Name
Mix_VolumeMusic -- Changes the volume of the currently playing music.
Synopsis
#include "SDL_mixer.h" int Mix_VolumeMusic(int volume);
Description
Mix_VolumeMusic changes the volume of the music according to the amount specified in volume. The range of volume is from 0 to MIX_MAX_VOLUME which is 128.
Return Value
Returns the previously set volume of the music.
Example
Mix_VolumeMusic(MIX_MAX_VOLUME);
