[][src]Module libpulse_sys::sample

Constants and routines for sample type handling.

Structs

pa_sample_spec

A sample format and attribute specification.

Enums

pa_sample_format_t

Sample format.

Constants

PA_BYTES_SNPRINT_MAX

The maximum length of strings returned by pa_bytes_snprint.

PA_CHANNELS_MAX

Maximum number of allowed channels.

PA_RATE_MAX

Maximum allowed sample rate.

PA_SAMPLE_ALAW
PA_SAMPLE_FLOAT32

A shortcut for PA_SAMPLE_FLOAT32NE.

PA_SAMPLE_FLOAT32BE
PA_SAMPLE_FLOAT32LE
PA_SAMPLE_FLOAT32NE
PA_SAMPLE_FLOAT32RE
PA_SAMPLE_INVALID
PA_SAMPLE_MAX
PA_SAMPLE_S16BE
PA_SAMPLE_S16LE
PA_SAMPLE_S16NE
PA_SAMPLE_S16RE
PA_SAMPLE_S24BE
PA_SAMPLE_S24LE
PA_SAMPLE_S24NE
PA_SAMPLE_S24RE
PA_SAMPLE_S24_32BE
PA_SAMPLE_S24_32LE
PA_SAMPLE_S24_32NE
PA_SAMPLE_S24_32RE
PA_SAMPLE_S32BE
PA_SAMPLE_S32LE
PA_SAMPLE_S32NE
PA_SAMPLE_S32RE
PA_SAMPLE_SPEC_SNPRINT_MAX

The maximum length of strings returned by pa_sample_spec_snprint.

PA_SAMPLE_U8
PA_SAMPLE_ULAW

Functions

pa_bytes_per_second
pa_bytes_snprint
pa_bytes_to_usec
pa_channels_valid
pa_frame_size
pa_parse_sample_format
pa_sample_format_is_be
pa_sample_format_is_le
pa_sample_format_to_string
pa_sample_format_valid
pa_sample_rate_valid
pa_sample_size
pa_sample_size_of_format
pa_sample_spec_equal
pa_sample_spec_init
pa_sample_spec_snprint
pa_sample_spec_valid
pa_usec_to_bytes

Type Definitions

pa_usec_t

Type for usec specifications (unsigned). Always 64 bit.