Audio format details
Synopsis:
#include <aoi.h>
typedef struct AOAudioFormat_t;
Description:
The
AOAudioFormat_t structure is a private data type that describes an audio format.
The structure 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 per second.
- 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