An audio stream is a sequence of samples of a specified data type and endianness.
Raw audio frames are identified by the dlaudio_XXXXX format tag. Audio clips will have one of the following format tags.
| Format Type | Permitted Tag |
|---|---|
| Big-endian |
|
| Little-endian |
|
For audio streams that contain 24-bit samples, the samples are stored as 32-bit integers. Samples are not packed. Instead, eight filler bits are appended to the sample, so each sample corresponds to a 32-bit word. They can be little-endian or big-endian.
Multi-channel (interlaced) audio appears as samples grouped into channels. For example, a three-channel floating point sample consists of a stream of sample triplets.
WireTapAudioClipFormat formatObject; clipNode.getClipFormat(formatObject); char* formatTag = formatObject.formatTag();