pub enum PcmState {
Open,
Setup,
Prepared,
Running,
XRun,
Draining,
Paused,
}Expand description
ALSA PCM device state
Variants§
Open
Device is open but not configured
Setup
Hardware parameters are set
Prepared
Device is prepared and ready to start
Running
Device is actively running (playing or capturing)
XRun
Buffer overrun (capture) or underrun (playback) occurred
Draining
Device is draining remaining buffered data
Paused
Device is paused
Trait Implementations§
impl Copy for PcmState
impl Eq for PcmState
impl StructuralPartialEq for PcmState
Auto Trait Implementations§
impl Freeze for PcmState
impl RefUnwindSafe for PcmState
impl Send for PcmState
impl Sync for PcmState
impl Unpin for PcmState
impl UnwindSafe for PcmState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)