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

Mix_GetMusicVolume

Get the current volume value in the range of 0-128 of a music stream

Syntax

int Mix_GetMusicVolume(Mix_Music *music);

Function Parameters

music

music

Return Value

Returns 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.