From 1d16260809496a7004a0201a7500d4dacf80b54a Mon Sep 17 00:00:00 2001 From: Eugene Hauptmann Date: Sat, 8 Jun 2024 16:56:36 -0400 Subject: [PATCH] AudioToolbox/AudioSesssion.h fixes kAudioSessionProperty_CurrentHardwareIOBufferDuration --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index ea4dd15..8957678 100644 --- a/build.rs +++ b/build.rs @@ -80,6 +80,7 @@ fn build(sdk_path: Option<&str>, target: &str) { { println!("cargo:rustc-link-lib=framework=AudioToolbox"); headers.push("AudioToolbox/AudioToolbox.h"); + headers.push("AudioToolbox/AudioSession.h"); } #[cfg(feature = "core_audio")]