loadClipFromBytes abstract method

Future<AudioClip> loadClipFromBytes(
  1. String key,
  2. Uint8List bytes
)

Loads and decodes in-memory encoded audio bytes (any container the backend decodes, typically wav/ogg/mp3) into a playable clip, for downloaded or generated audio. key names the clip for backend bookkeeping and should be unique per logical clip. Completes after the engine finishes initializing.

Implementation

Future<AudioClip> loadClipFromBytes(String key, Uint8List bytes);