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:
parent
e77634941d
commit
3ac6f6a689
3 changed files with 5 additions and 5 deletions
|
|
@ -34,7 +34,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;
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ impl HostTrait for Host {
|
|||
type EventLoop = EventLoop;
|
||||
|
||||
fn is_available() -> bool {
|
||||
// Assume ALSA is always available on linux/freebsd.
|
||||
// Assume ALSA is always available on linux/dragonfly/freebsd.
|
||||
true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue