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

Mix_VolumeMusic

Set the volume in the range of 0-128 of music

Syntax

int Mix_VolumeMusic(int volume);

Function Parameters

volume

volume

Return Value

Returns the original volume. If the specified volume is -1, just return the current volume.

Version

This function is available since SDL_mixer 2.0.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.