Refactor disconnection to trigger error_callback.

This commit is contained in:
general electrix 2022-10-11 02:55:03 -07:00
parent baa697c7fc
commit 0af6a1c466
3 changed files with 73 additions and 52 deletions

View file

@ -42,6 +42,7 @@ jack = { version = "0.9", optional = true }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
core-foundation-sys = "0.8.2" # For linking to CoreFoundation.framework and handling device name `CFString`s.
mach = "0.3" # For access to mach_timebase type.
parking_lot = "0.12"
[target.'cfg(target_os = "macos")'.dependencies]
coreaudio-rs = { version = "0.10", default-features = false, features = ["audio_unit", "core_audio"] }