pa_sample_spec Struct Reference

Data Fields

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

Field Documentation

uint8_t pa_sample_spec::channels

Audio channels.

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

uint32_t pa_sample_spec::rate

The sample rate.

(e.g. 44100)