fixes compile errors for coreaudio timestamp work

This commit is contained in:
JoshuaBatty 2020-05-01 15:19:28 +02:00
parent 54e5e95705
commit 590d37b103
2 changed files with 25 additions and 16 deletions

View file

@ -34,6 +34,7 @@ libc = "0.2.65"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
coreaudio-rs = { version = "0.9.1", default-features = false, features = ["audio_unit", "core_audio"] }
core-foundation-sys = "0.6.2" # For linking to CoreFoundation.framework and handling device name `CFString`s.
mach = "0.3" # For access to mach_timebase type.
[target.'cfg(target_os = "emscripten")'.dependencies]
stdweb = { version = "0.1.3", default-features = false }