Functions



AudioChannelLayoutTag_GetNumberOfChannels


A macro to get the number of channels out of an AudioChannelLayoutTag
#define AudioChannelLayoutTag_GetNumberOfChannels(layoutTag) ((UInt32)((layoutTag) & 0x0000FFFF))

Discussion

The low 16 bits of an AudioChannelLayoutTag gives the number of channels except for kAudioChannelLayoutTag_UseChannelDescriptions and kAudioChannelLayoutTag_UseChannelBitmap.

Parameter Descriptions
layoutTag
The AudioChannelLayoutTag to examine.
function result
The number of channels the tag indicates.

IsAudioFormatNativeEndian


A C++ inline function for checking if an ASBD indicates native endian linear PCM data.
#if defined (
    __cplusplus
) (
    inline bool IsAudioFormatNativeEndian(const AudioStreamBasicDescription& f
);

Parameter Descriptions
f
The AudioStreamBasicDescription to examine.
function result
Whether or not the ASBD indicates native endian linear PCM data.

(Last Updated 12/13/2004)