Music.setPosition

Set the position of the currently playing music. The position takes different meanings for different music sources.

<b>.ogg / .vorbis:</b> Jumps to position seconds from the beginning of the song. <b>mp3:</b> Jumps to position seconds from the current position in the stream. So you may want to call rewind before. <b>Does not go in reverse: negative values do nothing.</b>

Note: This only works for.ogg, .vorbis and .mp3

struct Music
@nogc
void
setPosition
const nothrow
(
float seconds
)

Meta