Struct libpulse_sys::sample::pa_sample_spec [] [src]

#[repr(C)]
pub struct pa_sample_spec { pub format: pa_sample_format_t, pub rate: u32, pub channels: u8, }

A sample format and attribute specification

Fields

The sample format.

The sample rate. (e.g. 44100).

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

Trait Implementations

impl Debug for pa_sample_spec
[src]

[src]

Formats the value using the given formatter.

impl Copy for pa_sample_spec
[src]

impl Clone for pa_sample_spec
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for pa_sample_spec
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for pa_sample_spec
[src]