This disclosure describes techniques that make use of a summing buffer
that receives waveform samples from audio processing elements, and sums
and stores the waveform sums for a given frame. In one example, a method
comprises summing a waveform sample received from an audio processing
element to produce a waveform sum associated with a first audio frame,
storing the waveform sum in a memory, wherein the memory is logically
partitioned into a plurality of memory blocks, and locking memory blocks
containing the waveform sum associated with the first audio frame,
transferring contents of locked memory blocks to an external processor,
unlocking a memory block after contents of the memory block have been
transferred to the external processor, and storing a waveform sum
associated with a second audio frame within the unlocked memory block
concurrently with transferring contents of remaining locked memory blocks
associated with the first audio frame.