-
Notifications
You must be signed in to change notification settings - Fork 516
AudioToolbox iOS xcode14.0 beta3
Manuel de la Pena edited this page Sep 6, 2022
·
3 revisions
#AudioToolbox.framework https://github.com/xamarin/xamarin-macios/pull/15877
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h 2022-06-17 14:25:58.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h 2022-06-30 21:09:21.000000000 -0500
@@ -2891,6 +2891,16 @@
Enables or disables head-tracking using AirPods motion sensors. This tracking will
apply a second rotation on top of head yaw, pitch, and roll parameters.
+
+ @constant kAudioUnitProperty_SpatialMixerPersonalizedHRTFMode
+ Scope: Global
+ Value Type: UInt32
+ Access: Read / Write
+ @discussion Sets personalized head-related transfer function (HRTF) mode for spatial audio rendering
+ with kSpatializationAlgorithm_UseOutputType and kSpatialMixerOutputType_Headphones.
+ This property becomes read-only if personalized HRTF is unavailable or unsupported.
+ @seealso AUSpatialMixerPersonalizedHRTFMode
+
*/
CF_ENUM(AudioUnitPropertyID) {
kAudioUnitProperty_ReverbRoomType = 10,
@@ -2902,7 +2912,8 @@
kAudioUnitProperty_SpatialMixerAttenuationCurve = 3013,
kAudioUnitProperty_SpatialMixerOutputType = 3100,
kAudioUnitProperty_SpatialMixerPointSourceInHeadMode = 3103,
- kAudioUnitProperty_SpatialMixerEnableHeadTracking API_AVAILABLE(macos(12.3)) API_UNAVAILABLE(ios, tvos) API_UNAVAILABLE(watchos) = 3111
+ kAudioUnitProperty_SpatialMixerEnableHeadTracking API_AVAILABLE(macos(12.3)) API_UNAVAILABLE(ios, tvos) API_UNAVAILABLE(watchos) = 3111,
+ kAudioUnitProperty_SpatialMixerPersonalizedHRTFMode API_AVAILABLE(macos(13.0)) API_UNAVAILABLE(ios, tvos) API_UNAVAILABLE(watchos) = 3113
};
/*!
@@ -3005,6 +3016,25 @@
};
/*!
+ @enum Property values for kAudioUnitProperty_SpatialMixerPersonalizedHRTFMode
+
+ @constant kSpatialMixerPersonalizedHRTFMode_Off
+ @discussion Use generic head-related transfer function (HRTF).
+
+ @constant kSpatialMixerPersonalizedHRTFMode_On
+ @discussion Use personalized head-related transfer function (HRTF), if available.
+
+ @constant kSpatialMixerPersonalizedHRTFMode_Auto
+ @discussion Follow system preferences to choose between personalized vs generic
+ head-related transfer function (HRTF).
+*/
+typedef CF_ENUM(UInt32, AUSpatialMixerPersonalizedHRTFMode) {
+ kSpatialMixerPersonalizedHRTFMode_Off CF_SWIFT_NAME(off) API_AVAILABLE(macos(13.0)) API_UNAVAILABLE(ios, tvos) API_UNAVAILABLE(watchos) = 0,
+ kSpatialMixerPersonalizedHRTFMode_On CF_SWIFT_NAME(on) API_AVAILABLE(macos(13.0)) API_UNAVAILABLE(ios, tvos) API_UNAVAILABLE(watchos) = 1,
+ kSpatialMixerPersonalizedHRTFMode_Auto CF_SWIFT_NAME(auto) API_AVAILABLE(macos(13.0)) API_UNAVAILABLE(ios, tvos) API_UNAVAILABLE(watchos) = 2
+};
+
+/*!
@enum Property values for kAudioUnitProperty_SpatialMixerOutputType
@constant kSpatialMixerOutputType_Headphones
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status