SPARC Audio Buffer Passing Format

This page describes the exact format used by the SPARC Audio File object when passing data to another object. The SPARC Audio Play object expects data to be in this form in so much that each of the buffer chunks described below should exist in the scatterbuffer passed. The order of the buffer chunks is irrelevant.

The SPARC Audio File object sends each frame (some variable number of samples) in a separate scatter buffer. A scatter buffer list corresponds to sending 1 or more frame. Each scatter buffer has the following buffer chunks:

SPARC Audio Buffer Header Chunk

This buffer chunk consists of:

CM Data Chunk

This chunk consists of: