Skip to content

@modoki/engine / index / getCachedAudioBuffer

Function: getCachedAudioBuffer()

getCachedAudioBuffer(ref): AudioBuffer | undefined

Look up a decoded buffer. Accepts guid or path. undefined if not preloaded (streaming clips, headless, or a still-in-flight decode).

Parameters

ref

string

Returns

AudioBuffer | undefined

Built with Modoki.