Enable ALSA on DragonFly

DragonFly like FreeBSD uses OSS under the hood but OSS backend isn't
available, so use ALSA.
This commit is contained in:
Jan Beich 2020-01-07 16:18:49 +00:00
parent e77634941d
commit 3ac6f6a689
3 changed files with 5 additions and 5 deletions

View file

@ -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;