Data Fields

pa_sample_spec Struct Reference

A sample format and attribute specification. More...

Data Fields

pa_sample_format_t format
 The sample format.
uint32_t rate
 The sample rate.
uint8_t channels
 Audio channels.

Detailed Description

A sample format and attribute specification.

Examples:

pacat-simple.c, and parec-simple.c.


Field Documentation

Audio channels.

(1 for mono, 2 for stereo, ...)

The sample format.

Examples:
pacat-simple.c, and parec-simple.c.

The sample rate.

(e.g. 44100)


The documentation for this struct was generated from the following file: