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, pacat.c, paplay.c, and parec-simple.c.


Field Documentation

Audio channels.

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

Examples:
pacat.c, and paplay.c.

The sample format.

Examples:
pacat.c, and paplay.c.

The sample rate.

(e.g. 44100)

Examples:
pacat.c, and paplay.c.

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

Generated on 4 Sep 2009 for PulseAudio by  doxygen 1.6.1