From b1e8b29fd665528ef7036fb9c48eb93cdad49821 Mon Sep 17 00:00:00 2001 From: TJ Lambert <50846373+tj-devel709@users.noreply.github.com> Date: Fri, 25 Jun 2021 10:33:39 -0500 Subject: [PATCH] Adding enums (#12010) Co-authored-by: tj_devel709 --- src/AudioToolbox/AudioType.cs | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/AudioToolbox/AudioType.cs b/src/AudioToolbox/AudioType.cs index 317f89885539..a36312479065 100644 --- a/src/AudioToolbox/AudioType.cs +++ b/src/AudioToolbox/AudioType.cs @@ -749,6 +749,42 @@ public enum AudioChannelLayoutTag : uint { // UInt32 AudioChannelLayoutTag Atmos_7_1_4 = (192 << 16) | 12, Atmos_9_1_6 = (193 << 16) | 16, Atmos_5_1_2 = (194 << 16) | 8, + Atmos_5_1_4 = (195U<<16) | 10, + Atmos_7_1_2 = (196U<<16) | 10, + + Logic_Mono = Mono, + Logic_Stereo = Stereo, + Logic_Quadraphonic = Quadraphonic, + Logic_4_0_A = MPEG_4_0_A, + Logic_4_0_B = MPEG_4_0_B, + Logic_4_0_C = (197U<<16) | 4, + Logic_5_0_A = MPEG_5_0_A, + Logic_5_0_B = MPEG_5_0_B, + Logic_5_0_C = MPEG_5_0_C, + Logic_5_0_D = MPEG_5_0_D, + Logic_5_1_A = MPEG_5_1_A, + Logic_5_1_B = MPEG_5_1_B, + Logic_5_1_C = MPEG_5_1_C, + Logic_5_1_D = MPEG_5_1_D, + Logic_6_0_A = AAC_6_0, + Logic_6_0_B = (198U<<16) | 6, + Logic_6_0_C = AudioUnit_6_0, + Logic_6_1_A = AAC_6_1, + Logic_6_1_B = (199U<<16) | 7, + Logic_6_1_C = MPEG_6_1_A, + Logic_6_1_D = (200U<<16) | 7, + Logic_7_1_A = AudioUnit_7_1, + Logic_7_1_B = (201U<<16) | 8, + Logic_7_1_C = MPEG_7_1_C, + Logic_7_1_SDDS_A = MPEG_7_1_A, + Logic_7_1_SDDS_B = MPEG_7_1_B, + Logic_7_1_SDDS_C = Emagic_Default_7_1, + Logic_Atmos_5_1_2 = Atmos_5_1_2, + Logic_Atmos_5_1_4 = Atmos_5_1_4, + Logic_Atmos_7_1_2 = Atmos_7_1_2, + Logic_Atmos_7_1_4_A = Atmos_7_1_4, + Logic_Atmos_7_1_4_B = (202U<<16) | 12, + Logic_Atmos_7_1_6 = (203U<<16) | 14, DiscreteInOrder = (147<<16) | 0, // needs to be ORed with the actual number of channels Unknown = 0xFFFF0000 // needs to be ORed with the actual number of channels