Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

AOAudioFormat_t

A structure that defines an audio format

Synopsis:

See below.

Description:

This structure defines an audio format. It contains at least the following members:

uint32_t channels
The number of audio channels. For example, a stereo signal has 2 channels.
uint32_t depth
The audio depth (sample rate) in bytes.
int32_t frame_rate
The frame rate (frequency), in frames per second. This value may be divided by scale to represent a floating-point frame rate.
int32_t scale
A scaling variable to convert frame_rate into an actual rate. For example: 2997/100=29.97.
int32_t duration
The duration of the audio, in frames.

Classification:

QNX Neutrino

See also:

AOImageFormat_t, AOVideoFormat_t, AODataFormat_t