Skip to content

Mojo audio channel playheadsample

mojo:mojo.audio.Channel.PlayheadSample

Property PlayheadSample:Int#

Channel playhead sample offset.

Gets or sets the sample offset of the sound currently playing.

If the channel is playing when set, playback is immediately affected.

If the channel is not playing when set, the offset will be applied when the Play method is invoked.