A method for reconstructing a multi-channel audio signal from a stream of encoded audio frames, in which each audio frame includes a sync word, a frame header, an audio header, and at least one subframe, which includes audio side information including bit allocations, a plurality of sub-subframes having baseband audio codes over a baseband frequency range, a block of high sampling rate audio codes over a high sampling rate frequency range, and an unpack sync, the method for reconstructing each audio frame comprising;
- detecting the sync word;
- unpacking the frame header to extract a frame size that indicates the number of bytes in the frame, a window size that indicates a number of audio samples in the audio frame and an encoder sampling rate;
- unpacking the audio header to extract the number of subframes and the number of audio channels;
- sequentially unpacking each subframe by:
- extracting the audio side information including the number of sub-subframes,
- demultiplexing the baseband audio codes in each sub-subframe into the multiple audio channels,
- unpacking each of the demultiplexed audio channels into a plurality of subband audio codes at respective subband frequencies,
- unpacking the high sampling rate audio codes up to a decoder sampling rate,
- skipping the remaining high sampling rate audio codes up to the encoder sampling rate, and
- detecting the unpack sync to verify the end of the subframe;
- decoding the subband audio codes in accordance with their side information to generate reconstructed subband signals a subframe at a time without reference to any other subframe;
- combining the channels' reconstructed subband signals into respective reconstructed baseband signals a subframe at a time;
- decoding the unpacked high sampling rate audio codes in accordance with their side information to generate reconstructed high sampling rate signals for each audio channel a subframe at a time;
- and
- combining the reconstructed baseband and high sampling rate signals into a reconstructed multi-channel audio signal a subframe at a time.