Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- CoreAudio: Configure device buffer to ensure predictable callback buffer sizes.
- CoreAudio: Fix timestamp accuracy.
- iOS: Fix example by properly activating audio session.
- iOS: Add complete AVAudioSession integration for device enumeration and buffer size control.
- WASAPI: Expose `IMMDevice` from WASAPI host Device.
- WASAPI: Add `I24` and `U24` sample format support (24-bit samples stored in 4 bytes).
- WASAPI: Update `windows` to >= 0.58, <= 0.62.
Expand Down
10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ libc = "0.2"
audio_thread_priority = { version = "0.34.0", optional = true }
jack = { version = "0.13.0", optional = true }

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
mach2 = "0.5" # For access to mach_timebase type.

[target.'cfg(target_vendor = "apple")'.dependencies]
mach2 = "0.5"
coreaudio-rs = { version = "0.13.0", default-features = false, features = [
"core_audio",
"audio_toolbox",
Expand All @@ -82,6 +80,12 @@ objc2-core-foundation = { version = "0.3.1" }
objc2-foundation = { version = "0.3.1" }
objc2 = { version = "0.6.2" }

[target.'cfg(target_os = "ios")'.dependencies]
objc2-avf-audio = { version = "0.3.1", default-features = false, features = [
"std",
"AVAudioSession",
] }

[target.'cfg(target_os = "emscripten")'.dependencies]
wasm-bindgen = { version = "0.2.89" }
wasm-bindgen-futures = "0.4.33"
Expand Down
Loading
Loading