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,
}Expand description
A sample format and attribute specification.
Fields
format: pa_sample_format_tThe sample format.
rate: u32The sample rate. (e.g. 44100).
channels: u8Audio channels. (1 for mono, 2 for stereo, …).
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for pa_sample_spec
impl Send for pa_sample_spec
impl Sync for pa_sample_spec
impl Unpin for pa_sample_spec
impl UnwindSafe for pa_sample_spec
Blanket Implementations
Mutably borrows from an owned value. Read more