Music.volume

Wraps Mix_GetMusicVolume (from SDL_mixer 2.6) which gets the volume of the music

  1. ubyte volume()
    class Music
    const @property @trusted
    static if(sdlMixerSupport >= SDLMixerSupport.v2_6)
    ubyte
    volume
    ()
  2. ubyte volume()
  3. void volume(ubyte newVolume)

Return Value

Type: ubyte

volume ranging from 0 to 128

Meta