Logo


search API (or start typing anywhere)


AudioInstance

snow.systems.audio.AudioInstance defined in ``


class


 

Members


handle
handle : snow.types.AudioHandle

source
source : snow.systems.audio.AudioSource

Methods


data_get
data_get(_into:snow.api.buffers.Uint8Array, _start:Int, _length:Int, _into_result:Array<Int>) : Array<Int>

data_seek

data_seek(_to_samples:Int) : Bool

destroy

destroy() : Void

has_ended

has_ended() : Bool

new

new(_source:snow.systems.audio.AudioSource, _handle:snow.types.AudioHandle) : Void
Create a new instance from the given audio source. Usually called via source.instance(), not directly.

tick

tick() : Void