writes frames in the requested format; rejects when the format is unavailable, the size over the limit or the signal aborted
the same export as a Blob carrying the format's MIME type
the formats this service can write on this device
exports, then hands the file to the saver under name plus the format's extension; returns the file name used
The export service: renders already-synthesised frames to a WAV, FLAC or Opus file. It owns the decisions around the encoding (which formats this device can offer, a size check before the time is spent, default tags, cancellation, handing a file to the player); the bytes of FLAC and Opus come from encoders the game injects, such as the retro-audio package's
exportAudio, so mwg carries no second copy of a codec. WAV is written here.Example