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

@ -562,7 +562,7 @@ macro_rules! impl_platform_host {
}
// TODO: Add pulseaudio and jack here eventually.
#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd"))]
mod platform_impl {
pub use crate::host::alsa::{
Device as AlsaDevice, Devices as AlsaDevices, Host as AlsaHost, Stream as AlsaStream,
@ -687,6 +687,7 @@ mod platform_impl {
target_os = "linux",
target_os = "dragonfly",
target_os = "freebsd",
target_os = "netbsd",
target_os = "macos",
target_os = "ios",
target_os = "emscripten",