Skip to content

Commit e7ac140

Browse files
committed
chore: update coreaudio-rs to 0.14
1 parent 906f3ff commit e7ac140

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616

1717
### Changed
1818

19-
- Overall MSRV increased to 1.78.
20-
- **ALSA**: Update `alsa` dependency from 0.10 to 0.11.
21-
- **ALSA**: MSRV increased from 1.77 to 1.82.
19+
- Bump overall MSRV to 1.78.
20+
- **ALSA**: Update `alsa` dependency to 0.11.
21+
- **ALSA**: Bump MSRV to 1.82.
22+
- **CoreAudio**: Update `core-audio-rs` dependency to 0.14.
2223

2324
### Fixed
2425

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jack = { version = "0.13", optional = true }
9292

9393
[target.'cfg(target_vendor = "apple")'.dependencies]
9494
mach2 = "0.5"
95-
coreaudio-rs = { version = "0.13", default-features = false, features = [
95+
coreaudio-rs = { version = "0.14", default-features = false, features = [
9696
"core_audio",
9797
"audio_toolbox",
9898
] }

src/host/coreaudio/macos/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,10 @@ impl DisconnectManager {
116116
};
117117

118118
// Create the listener on this dedicated thread
119-
match AudioObjectPropertyListener::new(device_id, property_address, move || {
119+
let disconnect_fn = move || {
120120
let _ = disconnect_tx_clone.send(());
121-
}) {
121+
};
122+
match AudioObjectPropertyListener::new(device_id, property_address, disconnect_fn) {
122123
Ok(_listener) => {
123124
let _ = ready_tx.send(Ok(()));
124125
// Drop the listener on this thread after receiving a shutdown signal

0 commit comments

Comments
 (0)