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
format: pa_sample_format_t
The sample format.
rate: u32
The sample rate. (e.g. 44100).
channels: u8
Audio channels. (1 for mono, 2 for stereo, ...).
Trait Implementations
impl Debug for pa_sample_spec[src]
impl Copy for pa_sample_spec[src]
impl Clone for pa_sample_spec[src]
fn clone(&self) -> pa_sample_spec[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for pa_sample_spec[src]
fn eq(&self, __arg_0: &pa_sample_spec) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &pa_sample_spec) -> bool[src]
This method tests for !=.