Music.volume - multiple declarations

Function Music.volume

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

ubyte volume() @property @trusted const;

Returns

volume ranging from 0 to 128

Function Music.volume

Wraps Mix_VolumeMusic which gets the volume for music

static ubyte volume() @property @trusted;

Returns

volume ranging from 0 to 128

Function Music.volume

Wraps Mix_VolumeMusic which sets the volume for music

static void volume (
  ubyte newVolume
) @property @trusted;

Parameters

NameDescription
newVolume new volume ranging from 0 to 128