A structure that defines an audio format


See below.


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.


QNX Neutrino