Music.position - multiple declarations

Function Music.position

Wraps Mix_GetMusicPosition (from SDL_mixer 2.6) which gets the timestamp of the music in seconds

double position() @property @trusted const;

Returns

position timestamp of the music in seconds; -1.0 if codec doesn't support

Function Music.position

Wraps Mix_SetMusicPosition which sets the timestamp position of the currently playing music

static void position (
  double newPosition
) @property @trusted;

Parameters

NameDescription
newPosition new timestamp position in seconds

Throws

dsdl2.SDLException if failed to set position