AudioInstance
clay.audio.AudioInstance (Class)
Instance Members
source: AudioSourcehandle: AudioHandledestroyed: BoolhasEnded(): Bool| Returns |
|---|
| Bool |
destroy(): Void| Name | Type |
|---|---|
into |
clay.buffers.Uint8Array |
start |
Int |
length |
Int |
intoResult |
Array<Int> |
| Returns |
|---|
| Array<Int> |
| Name | Type |
|---|---|
toSamples |
Int |
| Returns |
|---|
| Bool |
new(source: AudioSource, handle: AudioHandle): VoidCreate a new instance from the given audio source.
Usually called via source.instance(), not directly.
| Name | Type |
|---|---|
source |
AudioSource |
handle |
AudioHandle |