mojo.audio.Channel.PlayheadSample - nitrologic/monkey2 GitHub Wiki

mojo::mojo.audio.mojo.audio.Channel.PlayheadSample

Property PlayheadSample:monkey:monkey.types.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.