11[package ]
22name = " cpal"
3- version = " 0.12 .1"
3+ version = " 0.13 .1"
44authors = [
" The CPAL contributors" ,
" Pierre Krieger <[email protected] >" ]
55description = " Low-level cross-platform audio I/O library in pure Rust."
66repository = " https://github.com/rustaudio/cpal"
@@ -11,37 +11,43 @@ keywords = ["audio", "sound"]
1111[features ]
1212asio = [" asio-sys" , " num-traits" ] # Only available on Windows. See README for setup instructions.
1313
14-
1514[dependencies ]
1615thiserror = " 1.0.2"
1716
1817[dev-dependencies ]
1918anyhow = " 1.0.12"
2019hound = " 3.4"
21- ringbuf = " 0.1.6"
20+ ringbuf = " 0.2"
21+ clap = { version = " 2.33.3" , default-features = false }
2222
2323[target .'cfg(target_os = "windows")' .dependencies ]
2424winapi = { version = " 0.3" , features = [" audiosessiontypes" , " audioclient" , " coml2api" , " combaseapi" , " debug" , " devpkey" , " handleapi" , " ksmedia" , " mmdeviceapi" , " objbase" , " profileapi" , " std" , " synchapi" , " winbase" , " winuser" ] }
2525asio-sys = { version = " 0.2" , path = " asio-sys" , optional = true }
2626num-traits = { version = " 0.2.6" , optional = true }
27- parking_lot = " 0.9 "
27+ parking_lot = " 0.11 "
2828lazy_static = " 1.3"
2929
3030[target .'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))' .dependencies ]
31- alsa = " 0.4.1 "
31+ alsa = " 0.4.3 "
3232nix = " 0.15.0"
3333libc = " 0.2.65"
34+ parking_lot = " 0.11"
3435jack = { version = " 0.6.5" , optional = true }
3536
3637[target .'cfg(target_os = "openbsd")' .dependencies ]
3738sndio-sys = " 0.0.*"
3839libc = " 0.2.65"
3940
4041[target .'cfg(any(target_os = "macos", target_os = "ios"))' .dependencies ]
41- coreaudio-rs = { version = " 0.9.1" , default-features = false , features = [" audio_unit" , " core_audio" ] }
4242core-foundation-sys = " 0.6.2" # For linking to CoreFoundation.framework and handling device name `CFString`s.
4343mach = " 0.3" # For access to mach_timebase type.
4444
45+ [target .'cfg(target_os = "macos")' .dependencies ]
46+ coreaudio-rs = { version = " 0.10.0" , default-features = false , features = [" audio_unit" , " core_audio" ] }
47+
48+ [target .'cfg(target_os = "ios")' .dependencies ]
49+ coreaudio-rs = { version = " 0.10.0" , default-features = false , features = [" audio_unit" , " core_audio" , " audio_toolbox" ] }
50+
4551[target .'cfg(target_os = "emscripten")' .dependencies ]
4652stdweb = { version = " 0.1.3" , default-features = false }
4753
@@ -51,7 +57,24 @@ js-sys = { version = "0.3.35" }
5157web-sys = { version = " 0.3.35" , features = [ " AudioContext" , " AudioContextOptions" , " AudioBuffer" , " AudioBufferSourceNode" , " AudioNode" , " AudioDestinationNode" , " Window" , " AudioContextState" ] }
5258
5359[target .'cfg(target_os = "android")' .dependencies ]
54- oboe = { version = " 0.2.1 " , features = [ " java-interface" ] }
60+ oboe = { version = " 0.3.0 " , features = [ " java-interface" ] }
5561ndk = " 0.2"
5662ndk-glue = " 0.2"
5763jni = " 0.17"
64+
65+ [[example ]]
66+ name = " android"
67+ path = " examples/android.rs"
68+ crate-type = [" cdylib" ]
69+
70+ [[example ]]
71+ name = " beep"
72+
73+ [[example ]]
74+ name = " enumerate"
75+
76+ [[example ]]
77+ name = " feedback"
78+
79+ [[example ]]
80+ name = " record_wav"
0 commit comments