--background--

NOTES

   - QOA spec v1.0 (2023-04-24): all values are big endian.
   - This implementation supports up to 8 channels (as the spec suggests as
     a minimum). Files with more channels are rejected.

DESCRIPTION

   Reggae decoder for MorphOS that consumes a packetized QOA frame stream
   (as produced by qoa.demuxer) and outputs interleaved PCM16
   (MMFC_AUDIO_INT16, native endian).

   Input framing:
     u32be frame_length
     u8    frame_bytes[frame_length]   // full QOA frame (8-byte header+rest)

   Decoding is implemented directly from the QOA specification (no external
   library needed).

MMM_Seek

DESCRIPTION

qoa.decoder.frames/MMM_Seek

 MMM_Seek -- forward byte seek to the upstream packet stream (port 0) and
 reset internal decode buffers.

 NOTE: The seek position is interpreted as a byte offset in the *input*
       packet stream (u32be len + frame bytes), i.e. it matches qoa.demuxer