Skip to content

CoreAudioTypes tvOS xcode13.0 beta2

tj_devel709 edited this page Jul 1, 2021 · 3 revisions

#CoreAudioTypes.framework https://github.com/xamarin/xamarin-macios/pull/12068

diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h	2021-06-02 11:06:57.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h	2021-06-17 04:13:47.000000000 -0400
@@ -1004,7 +1004,7 @@
     // generic HOA ACN channel
     kAudioChannelLabel_HOA_ACN                  = 500,
 	
-    // numbered HOA ACN channels
+    // numbered HOA ACN channels, SN3D normalization
     kAudioChannelLabel_HOA_ACN_0                = (2U << 16) | 0,
     kAudioChannelLabel_HOA_ACN_1                = (2U << 16) | 1,
     kAudioChannelLabel_HOA_ACN_2                = (2U << 16) | 2,
@@ -1022,7 +1022,13 @@
     kAudioChannelLabel_HOA_ACN_14               = (2U << 16) | 14,
     kAudioChannelLabel_HOA_ACN_15               = (2U << 16) | 15,
     kAudioChannelLabel_HOA_ACN_65024            = (2U << 16) | 65024,    // 254th order uses 65025 channels
-	
+
+	// Specific SN3D alias
+    kAudioChannelLabel_HOA_SN3D	                = kAudioChannelLabel_HOA_ACN_0, // Needs to be ORed with the channel index, not HOA order
+
+    // HOA N3D
+    kAudioChannelLabel_HOA_N3D                  = (3U << 16), // Needs to be ORed with the channel index, not HOA order
+
     kAudioChannelLabel_BeginReserved            = 0xF0000000,           // Channel label values in this range are reserved for internal use
     kAudioChannelLabel_EndReserved              = 0xFFFFFFFE
 };
Clone this wiki locally