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

Method storeAudioBufferPersistent

src/monogatari.ts:1141–1143  ·  view source on GitHub ↗

* Store a decoded AudioBuffer in persistent storage (IndexedDB) * @param key - Cache key (e.g., 'music/theme') * @param buffer - AudioBuffer to store

(key: string, buffer: AudioBuffer)

Source from the content-addressed store, hash-verified

1139 * @param buffer - AudioBuffer to store
1140 */
1141 static async storeAudioBufferPersistent(key: string, buffer: AudioBuffer): Promise<void> {
1142 return _storeAudioBufferPersistent(this.asEngine(), key, buffer);
1143 }
1144
1145 /**
1146 * Retrieve a decoded AudioBuffer from persistent storage (IndexedDB)

Callers 1

setupMethod · 0.80

Calls 1

asEngineMethod · 0.95

Tested by

no test coverage detected