Set the volume in the range of 0-128 of a specific channel.
int Mix_Volume(int channel, int volume);
channel |
channel |
volume |
volume |
Returns the original volume. If the specified volume is -1, just return the current volume.
If the specified channel is -1, set volume for all channels.
This function is available since SDL_mixer 2.0.0.