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
| Name | Description |
|---|---|
| newPosition | new timestamp position in seconds |
Throws
dsdl if failed to set position