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 more