pub struct SwParams<'a>(/* private fields */);
Expand description
snd_pcm_sw_params_t wrapper
Implementations§
source§impl<'a> SwParams<'a>
impl<'a> SwParams<'a>
pub fn set_avail_min(&self, v: Frames) -> Result<()>
pub fn get_avail_min(&self) -> Result<Frames>
pub fn get_boundary(&self) -> Result<Frames>
pub fn set_start_threshold(&self, v: Frames) -> Result<()>
pub fn get_start_threshold(&self) -> Result<Frames>
pub fn set_stop_threshold(&self, v: Frames) -> Result<()>
pub fn get_stop_threshold(&self) -> Result<Frames>
pub fn set_tstamp_mode(&self, v: bool) -> Result<()>
pub fn get_tstamp_mode(&self) -> Result<bool>
pub fn set_tstamp_type(&self, v: TstampType) -> Result<()>
pub fn get_tstamp_type(&self) -> Result<TstampType>
pub fn dump(&self, o: &mut Output) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SwParams<'a>
impl<'a> !Send for SwParams<'a>
impl<'a> !Sync for SwParams<'a>
impl<'a> Unpin for SwParams<'a>
impl<'a> !UnwindSafe for SwParams<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more