pub struct AlsaHost;
Expand description
The default linux, dragonfly, freebsd and netbsd host type.
Implementations§
Trait Implementations§
source§impl HostTrait for Host
impl HostTrait for Host
source§fn is_available() -> bool
fn is_available() -> bool
Whether or not the host is available on the system.
source§fn default_input_device(&self) -> Option<Self::Device>
fn default_input_device(&self) -> Option<Self::Device>
The default input audio device on the system. Read more
source§fn default_output_device(&self) -> Option<Self::Device>
fn default_output_device(&self) -> Option<Self::Device>
The default output audio device on the system. Read more
source§fn input_devices(&self) -> Result<InputDevices<Self::Devices>, DevicesError>
fn input_devices(&self) -> Result<InputDevices<Self::Devices>, DevicesError>
An iterator yielding all
Device
s currently available to the system that support one or more
input stream formats. Read moresource§fn output_devices(&self) -> Result<OutputDevices<Self::Devices>, DevicesError>
fn output_devices(&self) -> Result<OutputDevices<Self::Devices>, DevicesError>
An iterator yielding all
Device
s currently available to the system that support one or more
output stream formats. Read moreAuto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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