mozilla / cubeb-coreaudio-rs

The audio backend of Firefox on Mac OS X.
ISC License
25 stars 10 forks source link

Allow failure of current_device #177

Closed ChunMinChang closed 2 years ago

ChunMinChang commented 2 years ago

AudioUnitStream::current_device can fail when the default device has no kAudioDevicePropertyDataSource value.

ChunMinChang commented 2 years ago

We got a compiler error with Rust Nightly. See https://github.com/rust-lang/rust/issues/99563