Struct alsa::pcm::HwParams
[−]
[src]
pub struct HwParams<'a>(_, _);
snd_pcm_hw_params_t wrapper
Methods
impl<'a> HwParams<'a>
[src]
fn any(a: &'a PCM) -> Result<HwParams<'a>>
fn get_rate_resample(&self) -> Result<bool>
fn set_rate_resample(&self, resample: bool) -> Result<()>
fn set_channels_near(&self, v: u32) -> Result<u32>
fn set_channels(&self, v: u32) -> Result<()>
fn get_channels(&self) -> Result<u32>
fn set_rate_near(&self, v: u32, dir: ValueOr) -> Result<u32>
fn set_rate(&self, v: u32, dir: ValueOr) -> Result<()>
fn get_rate(&self) -> Result<u32>
fn set_format(&self, v: Format) -> Result<()>
fn get_format(&self) -> Result<Format>
fn set_access(&self, v: Access) -> Result<()>
fn get_access(&self) -> Result<Access>
fn set_period_size_near(&self, v: Frames, dir: ValueOr) -> Result<Frames>
fn set_period_size(&self, v: Frames, dir: ValueOr) -> Result<()>
fn get_period_size(&self) -> Result<Frames>
fn set_periods(&self, v: u32, dir: ValueOr) -> Result<()>
fn get_periods(&self) -> Result<u32>
fn set_buffer_size_near(&self, v: Frames) -> Result<Frames>
fn set_buffer_size(&self, v: Frames) -> Result<()>
fn get_buffer_size(&self) -> Result<Frames>
fn dump(&self, o: &mut Output) -> Result<()>
fn copy_from(&mut self, other: &HwParams<'a>)
Trait Implementations
impl<'a> Drop for HwParams<'a>
[src]
impl<'a> Clone for HwParams<'a>
[src]
fn clone(&self) -> HwParams<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more