snd_pcm_format_t

PCM data format structure

Synopsis:

typedef struct snd_pcm_format {
    int32_t  interleave: 1;
    int32_t  format;
    int32_t  rate;
    int32_t  voices;
    int32_t  special;
    uint8_t  reserved[124];  /* must be filled with zeroes */
} snd_pcm_format_t;

Description:

The snd_pcm_format_t structure describes the format of the PCM data. The members include:

interleave
If set, the sample data contains interleaved samples.
format
The format number (one of the SND_PCM_SFMT_* constants). For a list of the supported formats, see snd_pcm_get_format_name().
rate
The requested rate, in Hz.
voices
The number of voices, in the range specified by the min_voices and max_voices members of the snd_pcm_channel_info_t structure. Typical values are 2 for stereo, and 1 for mono.
special
Special (custom) description of format. Use when SND_PCM_SFMT_SPECIAL is specified.

Classification:

QNX Neutrino