smus.decoder
NOTES
- This implementation renders SMUS using a simple built-in synthesizer
(sine/square/noise). Hook your instrument/sample loader here later.
DESCRIPTION
Reggae decoder that consumes the packetized SMUS stream produced by
iff.smus.demuxer (MMF_AUDIO_IFF_SMUS) and outputs Reggae audio common
format MMFC_AUDIO_INT16 (interleaved signed PCM).
Input framing:
u32be packet_length
u8 packet_bytes[packet_length]
packet_bytes are raw IFF chunks forwarded from the demuxer:
u8 chunk_id[4]
u32 chunk_size_be
u8 chunk_data[chunk_size]
INTENDED CHAIN
source -> iff.smus.demuxer -> smus.decoder -> audio.output