MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / audioBufferCache

Method audioBufferCache

src/monogatari.ts:1001–1003  ·  view source on GitHub ↗
(key?: string, buffer?: AudioBuffer)

Source from the content-addressed store, hash-verified

999 static audioBufferCache(key: string): AudioBuffer | undefined;
1000 static audioBufferCache(key: string, buffer: AudioBuffer): void;
1001 static audioBufferCache(key?: string, buffer?: AudioBuffer): AudioBuffer | undefined | void {
1002 return _audioBufferCache(this.asEngine(), key as string, buffer as AudioBuffer);
1003 }
1004
1005 /**
1006 * Remove an AudioBuffer from the cache

Callers 2

setupMethod · 0.80
createAudioPlayerMethod · 0.80

Calls 1

asEngineMethod · 0.95

Tested by

no test coverage detected