AudioByteLoader typedef
Loads the bytes of an audio source string (an asset key, file path, or URL).
The encoder-neutral seam each on-device backend supplies: the in-browser renderer fetches assets and network audio, a desktop render reads the pre-materialized file. Staging never touches the file system itself.
Implementation
typedef AudioByteLoader = Future<Uint8List> Function(String source);