Patent ID: 8200479

Claim:
A method for processing audio streams in a device comprising a system on a chip (SOC), the method comprising: decoding a first audio stream by a first processor comprised in the SOC; decoding a second audio stream by a second processor comprised in the SOC, wherein the decoding of the first audio stream and the second audio stream is performed both concurrently and independently, wherein independently includes that a synchronization between the first processor and the second processor is not needed, receiving outgoing audio samples in a first circular audio buffer in a memory comprised in the SOC, wherein the memory is configured to store: a first audio buffer pair for receiving decoded audio samples from the first processor; a second audio buffer pair for receiving decoded audio samples from the second processor; a third audio buffer pair for receiving uplinked audio samples; and receiving the composite audio stream in a second circular audio buffer in the memory, digitally mixing decoded audio samples from the first audio stream and the second audio stream using a hardware digital mixer comprised in the SOC, wherein a composite audio stream is generated; receiving the composite audio stream in a second circular audio buffer in the memory; wherein digitally mixing further comprises mixing audio samples from the first audio buffer pair with audio samples from the second audio buffer pair and writing the mixed samples to the second circular audio buffer; and providing the composite audio stream to a digital to analog converter.