Add NetBSD support

This commit is contained in:
pin 2022-09-25 07:54:19 +02:00
parent f19ceeb8e0
commit 0f8cd7a9c8
7 changed files with 25 additions and 24 deletions

View file

@ -25,7 +25,7 @@ pub type SupportedOutputConfigs = VecIntoIter<SupportedStreamConfigRange>;
mod enumerate;
/// The default linux, dragonfly and freebsd host type.
/// The default linux, dragonfly, freebsd and netbsd host type.
#[derive(Debug)]
pub struct Host;
@ -40,7 +40,7 @@ impl HostTrait for Host {
type Device = Device;
fn is_available() -> bool {
// Assume ALSA is always available on linux/dragonfly/freebsd.
// Assume ALSA is always available on linux/dragonfly/freebsd/netbsd.
true
}