File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ jack = { version = "0.13", optional = true }
9292
9393[target .'cfg(target_vendor = "apple")' .dependencies ]
9494mach2 = " 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] }
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments