commit
2bf905f3ec
4 changed files with 6 additions and 6 deletions
|
|
@ -32,7 +32,7 @@ pub type SupportedOutputFormats = VecIntoIter<SupportedFormat>;
|
|||
|
||||
mod enumerate;
|
||||
|
||||
/// The default linux and freebsd host type.
|
||||
/// The default linux, dragonfly and freebsd host type.
|
||||
#[derive(Debug)]
|
||||
pub struct Host;
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ impl HostTrait for Host {
|
|||
type Device = Device;
|
||||
|
||||
fn is_available() -> bool {
|
||||
// Assume ALSA is always available on linux/freebsd.
|
||||
// Assume ALSA is always available on linux/dragonfly/freebsd.
|
||||
true
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
||||
#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
|
||||
pub(crate) mod alsa;
|
||||
#[cfg(all(windows, feature = "asio"))]
|
||||
pub(crate) mod asio;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue