Pyalpha tools for performance audio demo in PRSDK.
[processor-sdk/performance-audio-tools.git] / alpha / pafdec_a.h
2 /*
3 * Copyright (C) 2004-2017 Texas Instruments Incorporated - http://www.ti.com/
4 * All rights reserved.  
5 *
6 *  Redistribution and use in source and binary forms, with or without
7 *  modification, are permitted provided that the following conditions
8 *  are met:
9 *
10 *    Redistributions of source code must retain the above copyright
11 *    notice, this list of conditions and the following disclaimer.
12 *
13 *    Redistributions in binary form must reproduce the above copyright
14 *    notice, this list of conditions and the following disclaimer in the
15 *    documentation and/or other materials provided with the
16 *    distribution.
17 *
18 *    Neither the name of Texas Instruments Incorporated nor the names of
19 *    its contributors may be used to endorse or promote products derived
20 *    from this software without specific prior written permission.
21 *
22 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
23 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 *
34 */
36 //
37 //
38 // Performance Audio Framework Decoder alpha codes
39 //
40 //
41 //
43 #ifndef _PAFDEC_A
44 #define _PAFDEC_A
46 #include <acpbeta.h>
47 #include <paftyp_a.h>
48 #include <pafmac_a.h>
50 #define  readDECMode 0xc200+STD_BETA_DECODE,0x0400
51 #define  readDECCommand 0xc200+STD_BETA_DECODE,0x0500
52 #define  readDECSampleRate 0xc200+STD_BETA_DECODE,0x0800
53 #define  readDECSourceSelect 0xc200+STD_BETA_DECODE,0x0900
54 #define  readDECSourceProgram 0xc200+STD_BETA_DECODE,0x0a00
55 #define  readDECSourceProgramSubType 0xc200+STD_BETA_DECODE,0x3700
56 #define  readDECSourceDecode 0xc200+STD_BETA_DECODE,0x0b00
57 #define  readDECSourceDecodeSubType 0xc200+STD_BETA_DECODE,0x3600
58 #define  readDECSourceDual 0xc200+STD_BETA_DECODE,0x0c00
59 #define  readDECSourceKaraoke 0xc200+STD_BETA_DECODE,0x0d00
60 #define  readDECASPGearControl 0xc200+STD_BETA_DECODE,0x0e00
61 #define  readDECASPGearStatus 0xc200+STD_BETA_DECODE,0x0f00
62 #define  readDECFrameCount 0xc400+STD_BETA_DECODE,0x0024
63 #define  readDECKaraokeCapableUserQ6 0xc600+STD_BETA_DECODE,0x2806
64 #define  readDECKaraokeCapableUserVocal1LevelQ6 0xc200+STD_BETA_DECODE,0x2800
65 #define  readDECKaraokeCapableUserVocal1PanQ6 0xc200+STD_BETA_DECODE,0x2900
66 #define  readDECKaraokeCapableUserVocal2LevelQ6 0xc200+STD_BETA_DECODE,0x2a00
67 #define  readDECKaraokeCapableUserVocal2PanQ6 0xc200+STD_BETA_DECODE,0x2b00
68 #define  readDECKaraokeCapableUserMelodyLevelQ6 0xc200+STD_BETA_DECODE,0x2c00
69 #define  readDECKaraokeCapableUserMelodyPanQ6 0xc200+STD_BETA_DECODE,0x2d00
71 #define  readDECBypass 0xc200+STD_BETA_DECODE,0x2e00
72 #define  writeDECBypassEnable 0xca00+STD_BETA_DECODE,0x2e01
73 #define  writeDECBypassDisable 0xca00+STD_BETA_DECODE,0x2e00
75 #define   readDECByPass                  readDECBypass       
76 #define  writeDECByPassEnable   writeDECBypassEnable 
77 #define  writeDECByPassDisable  writeDECBypassDisable
79 #define  readDECChannelConfigurationRequest 0xc400+STD_BETA_DECODE,0x0038
80 #define  readDECChannelConfigurationRequestAux 0xc200+STD_BETA_DECODE,0x3900
81 #define  readDECChannelConfigurationProgram 0xc400+STD_BETA_DECODE,0x0040
82 #define  readDECChannelConfigurationDecode 0xc400+STD_BETA_DECODE,0x0048
83 #define  readDECChannelConfigurationDownmix 0xc400+STD_BETA_DECODE,0x0050
85 #define writeDECModeDisable 0xca00+STD_BETA_DECODE,0x0400
86 #define writeDECModeEnable 0xca00+STD_BETA_DECODE,0x0401
87 #define writeDECModeContinuous 0xca00+STD_BETA_DECODE,0x0402
89 #define writeDECCommandN(N) 0xca00+STD_BETA_DECODE,0x0500+((N)&0xff)
90 #define writeDECCommandNone 0xca00+STD_BETA_DECODE,0x0500
91 #define writeDECCommandAbort 0xca00+STD_BETA_DECODE,0x0501
92 #define writeDECCommandRestart 0xca00+STD_BETA_DECODE,0x0502
93 #define wroteDECCommandNoned 0xca00+STD_BETA_DECODE,0x0580
94 #define wroteDECCommandAborted 0xca00+STD_BETA_DECODE,0x0581
95 #define wroteDECCommandRestarted 0xca00+STD_BETA_DECODE,0x0582
97 #define writeDECSourceSelectUnknown 0xca00+STD_BETA_DECODE,0x0900
98 #define writeDECSourceSelectNone 0xca00+STD_BETA_DECODE,0x0901
99 #define writeDECSourceSelectPass 0xca00+STD_BETA_DECODE,0x0902
100 #define writeDECSourceSelectSing 0xca00+STD_BETA_DECODE,0x0903
101 #define writeDECSourceSelectAuto 0xca00+STD_BETA_DECODE,0x0904
102 #define writeDECSourceSelectBitStream 0xca00+STD_BETA_DECODE,0x0905
103 #define writeDECSourceSelectDTSAll 0xca00+STD_BETA_DECODE,0x0906
104 #define writeDECSourceSelectPCMAuto 0xca00+STD_BETA_DECODE,0x0907
105 #define writeDECSourceSelectPCM 0xca00+STD_BETA_DECODE,0x0908
106 #define writeDECSourceSelectPC8 0xca00+STD_BETA_DECODE,0x0909
107 #define writeDECSourceSelectAC3 0xca00+STD_BETA_DECODE,0x090a
108 #define writeDECSourceSelectDTS 0xca00+STD_BETA_DECODE,0x090b
109 #define writeDECSourceSelectAAC 0xca00+STD_BETA_DECODE,0x090c
110 #define writeDECSourceSelectMPEG 0xca00+STD_BETA_DECODE,0x090d
111 #define writeDECSourceSelectDTS12 0xca00+STD_BETA_DECODE,0x090e
112 #define writeDECSourceSelectDTS13 0xca00+STD_BETA_DECODE,0x090f
113 #define writeDECSourceSelectDTS14 0xca00+STD_BETA_DECODE,0x0910
114 #define writeDECSourceSelectDTS16 0xca00+STD_BETA_DECODE,0x0911
115 #define writeDECSourceSelectWMP 0xca00+STD_BETA_DECODE,0x0912
116 #define writeDECSourceSelectMP3 0xca00+STD_BETA_DECODE,0x0913
117 #define writeDECSourceSelectDSD1 0xca00+STD_BETA_DECODE,0x0914
118 #define writeDECSourceSelectDSD2 0xca00+STD_BETA_DECODE,0x0915
119 #define writeDECSourceSelectDSD3 0xca00+STD_BETA_DECODE,0x0916
120 #define writeDECSourceSelectDDP 0xca00+STD_BETA_DECODE,0x0917
121 #define writeDECSourceSelectDTSHD 0xca00+STD_BETA_DECODE,0x0918
122 #define writeDECSourceSelectTHD 0xca00+STD_BETA_DECODE,0x0919
123 #define writeDECSourceSelectDXP 0xca00+STD_BETA_DECODE,0x091a
124 #define writeDECSourceSelectWMA 0xca00+STD_BETA_DECODE,0x091b
126 #define writeDECSourceDualStereo 0xca00+STD_BETA_DECODE,0x0c00
127 #define writeDECSourceDualMono1 0xca00+STD_BETA_DECODE,0x0c01
128 #define writeDECSourceDualMono2 0xca00+STD_BETA_DECODE,0x0c02
129 #define writeDECSourceDualMonoMix 0xca00+STD_BETA_DECODE,0x0c03
131 #define writeDECSourceKaraokeAware 0xca00+STD_BETA_DECODE,0x0dff
132 #define writeDECSourceKaraokeCapableUser 0xca00+STD_BETA_DECODE,0x0d00
133 #define writeDECSourceKaraokeCapableNone 0xca00+STD_BETA_DECODE,0x0d01
134 #define writeDECSourceKaraokeCapableLeft 0xca00+STD_BETA_DECODE,0x0d02
135 #define writeDECSourceKaraokeCapableRght 0xca00+STD_BETA_DECODE,0x0d03
136 #define writeDECSourceKaraokeCapableBoth 0xca00+STD_BETA_DECODE,0x0d04
138 #define writeDECASPGearControlAll 0xca00+STD_BETA_DECODE,0x0e00
139 #define writeDECASPGearControlNil 0xca00+STD_BETA_DECODE,0x0e01
140 #define writeDECASPGearControlStd 0xca00+STD_BETA_DECODE,0x0e02
141 #define writeDECASPGearControlCus 0xca00+STD_BETA_DECODE,0x0e03
142 #define writeDECASPGearControlN(N) 0xca00+STD_BETA_DECODE,0x0e00+((N)&0xff)
144 #define wroteDECASPGearStatusAll 0xca00+STD_BETA_DECODE,0x0f00
145 #define wroteDECASPGearStatusNil 0xca00+STD_BETA_DECODE,0x0f01
146 #define wroteDECASPGearStatusStd 0xca00+STD_BETA_DECODE,0x0f02
147 #define wroteDECASPGearStatusCus 0xca00+STD_BETA_DECODE,0x0f03
149 #define writeDECChannelConfigurationRequestUnknown 0xcc00+STD_BETA_DECODE,0x0038,0x0000,0x0000
151 #define writeDECChannelConfigurationRequestNone       writeDECChannelConfigurationRequestNone_0 
152 #define writeDECChannelConfigurationRequestMono       writeDECChannelConfigurationRequestMono_0 
153 #define writeDECChannelConfigurationRequestStereo     writeDECChannelConfigurationRequestPhantom0_0 
154 #define writeDECChannelConfigurationRequestStereoLtRt writeDECChannelConfigurationRequestPhantom0LtRt_0 
155 #define writeDECChannelConfigurationRequestStereoMono writeDECChannelConfigurationRequestPhantom0Mono_0 
156 #define writeDECChannelConfigurationRequest3Stereo    writeDECChannelConfigurationRequestSurround0_1 
157 #define writeDECChannelConfigurationRequestPhantom    writeDECChannelConfigurationRequestPhantom2_1 
158 #define writeDECChannelConfigurationRequestSurround   writeDECChannelConfigurationRequestSurround2_1 
160 #define writeDECChannelConfigurationRequestNone_0 0xcc00+STD_BETA_DECODE,0x0038,0x0001,0x0000
161 #define writeDECChannelConfigurationRequestMono_0 0xcc00+STD_BETA_DECODE,0x0038,0x0002,0x0000
162 #define writeDECChannelConfigurationRequestPhantom0_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0000
163 #define writeDECChannelConfigurationRequestPhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0001
164 #define writeDECChannelConfigurationRequestPhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0002
165 #define writeDECChannelConfigurationRequestPhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0003
166 #define wroteDECChannelConfigurationRequestPhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0004
167 #define writeDECChannelConfigurationRequestPhantom1_0 0xcc00+STD_BETA_DECODE,0x0038,0x0004,0x0000
168 #define writeDECChannelConfigurationRequestPhantom2_0 0xcc00+STD_BETA_DECODE,0x0038,0x0005,0x0000
169 #define wroteDECChannelConfigurationRequestPhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0038,0x0005,0x0001
170 #define writeDECChannelConfigurationRequestPhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0038,0x0005,0x0002
171 #define wroteDECChannelConfigurationRequestPhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0038,0x0005,0x0003
172 #define writeDECChannelConfigurationRequestPhantom3_0 0xcc00+STD_BETA_DECODE,0x0038,0x0006,0x0000
173 #define writeDECChannelConfigurationRequestPhantom4_0 0xcc00+STD_BETA_DECODE,0x0038,0x0007,0x0000
174 #define writeDECChannelConfigurationRequestSurround0_0 0xcc00+STD_BETA_DECODE,0x0038,0x0008,0x0000
175 #define writeDECChannelConfigurationRequestSurround1_0 0xcc00+STD_BETA_DECODE,0x0038,0x0009,0x0000
176 #define writeDECChannelConfigurationRequestSurround2_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0000
177 #define wroteDECChannelConfigurationRequestSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0001
178 #define writeDECChannelConfigurationRequestSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0002
179 #define wroteDECChannelConfigurationRequestSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0003
180 #define writeDECChannelConfigurationRequestSurround3_0 0xcc00+STD_BETA_DECODE,0x0038,0x000b,0x0000
181 #define writeDECChannelConfigurationRequestSurround4_0 0xcc00+STD_BETA_DECODE,0x0038,0x000c,0x0000
183 #define writeDECChannelConfigurationRequestNone_1 0xcc00+STD_BETA_DECODE,0x0038,0x0101,0x0000
184 #define writeDECChannelConfigurationRequestMono_1 0xcc00+STD_BETA_DECODE,0x0038,0x0102,0x0000
185 #define writeDECChannelConfigurationRequestPhantom0_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0000
186 #define writeDECChannelConfigurationRequestPhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0001
187 #define writeDECChannelConfigurationRequestPhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0002
188 #define writeDECChannelConfigurationRequestPhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0003
189 #define wroteDECChannelConfigurationRequestPhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0004
190 #define writeDECChannelConfigurationRequestPhantom1_1 0xcc00+STD_BETA_DECODE,0x0038,0x0104,0x0000
191 #define writeDECChannelConfigurationRequestPhantom2_1 0xcc00+STD_BETA_DECODE,0x0038,0x0105,0x0000
192 #define wroteDECChannelConfigurationRequestPhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0038,0x0105,0x0001
193 #define writeDECChannelConfigurationRequestPhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0038,0x0105,0x0002
194 #define wroteDECChannelConfigurationRequestPhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0038,0x0105,0x0003
195 #define writeDECChannelConfigurationRequestPhantom3_1 0xcc00+STD_BETA_DECODE,0x0038,0x0106,0x0000
196 #define writeDECChannelConfigurationRequestPhantom4_1 0xcc00+STD_BETA_DECODE,0x0038,0x0107,0x0000
197 #define writeDECChannelConfigurationRequestSurround0_1 0xcc00+STD_BETA_DECODE,0x0038,0x0108,0x0000
198 #define writeDECChannelConfigurationRequestSurround1_1 0xcc00+STD_BETA_DECODE,0x0038,0x0109,0x0000
199 #define writeDECChannelConfigurationRequestSurround2_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0000
200 #define wroteDECChannelConfigurationRequestSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0001
201 #define writeDECChannelConfigurationRequestSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0002
202 #define wroteDECChannelConfigurationRequestSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0003
203 #define writeDECChannelConfigurationRequestSurround3_1 0xcc00+STD_BETA_DECODE,0x0038,0x010b,0x0000
204 #define writeDECChannelConfigurationRequestSurround4_1 0xcc00+STD_BETA_DECODE,0x0038,0x010c,0x0000
206 #define writeDECChannelConfigurationRequestNone_2 0xcc00+STD_BETA_DECODE,0x0038,0x0201,0x0000
207 #define writeDECChannelConfigurationRequestMono_2 0xcc00+STD_BETA_DECODE,0x0038,0x0202,0x0000
208 #define writeDECChannelConfigurationRequestPhantom0_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0000
209 #define writeDECChannelConfigurationRequestPhantom0Stereo_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0001
210 #define writeDECChannelConfigurationRequestPhantom0LtRt_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0002
211 #define writeDECChannelConfigurationRequestPhantom0Mono_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0003
212 #define wroteDECChannelConfigurationRequestPhantom0Dual_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0004
213 #define writeDECChannelConfigurationRequestPhantom1_2 0xcc00+STD_BETA_DECODE,0x0038,0x0204,0x0000
214 #define writeDECChannelConfigurationRequestPhantom2_2 0xcc00+STD_BETA_DECODE,0x0038,0x0205,0x0000
215 #define wroteDECChannelConfigurationRequestPhantom2Stereo_2 0xcc00+STD_BETA_DECODE,0x0038,0x0205,0x0001
216 #define writeDECChannelConfigurationRequestPhantom2LtRt_2 0xcc00+STD_BETA_DECODE,0x0038,0x0205,0x0002
217 #define wroteDECChannelConfigurationRequestPhantom2Mono_2 0xcc00+STD_BETA_DECODE,0x0038,0x0205,0x0003
218 #define writeDECChannelConfigurationRequestPhantom3_2 0xcc00+STD_BETA_DECODE,0x0038,0x0206,0x0000
219 #define writeDECChannelConfigurationRequestPhantom4_2 0xcc00+STD_BETA_DECODE,0x0038,0x0207,0x0000
220 #define writeDECChannelConfigurationRequestSurround0_2 0xcc00+STD_BETA_DECODE,0x0038,0x0208,0x0000
221 #define writeDECChannelConfigurationRequestSurround1_2 0xcc00+STD_BETA_DECODE,0x0038,0x0209,0x0000
222 #define writeDECChannelConfigurationRequestSurround2_2 0xcc00+STD_BETA_DECODE,0x0038,0x020a,0x0000
223 #define wroteDECChannelConfigurationRequestSurround2Stereo_2 0xcc00+STD_BETA_DECODE,0x0038,0x020a,0x0001
224 #define writeDECChannelConfigurationRequestSurround2LtRt_2 0xcc00+STD_BETA_DECODE,0x0038,0x020a,0x0002
225 #define wroteDECChannelConfigurationRequestSurround2Mono_2 0xcc00+STD_BETA_DECODE,0x0038,0x020a,0x0003
226 #define writeDECChannelConfigurationRequestSurround3_2 0xcc00+STD_BETA_DECODE,0x0038,0x020b,0x0000
227 #define writeDECChannelConfigurationRequestSurround4_2 0xcc00+STD_BETA_DECODE,0x0038,0x020c,0x0000
229 #define writeDECChannelConfigurationRequestStereoUnknown 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0000
230 #define writeDECChannelConfigurationRequestStereoStereo 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0001
231 #define writeDECChannelConfigurationRequestStereoDual 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0004
232 #define writeDECChannelConfigurationRequestSurround2Unknown_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0000
233 #define writeDECChannelConfigurationRequestSurround2Unknown_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0000
235 // Extended channel configuration requests
237 #define writeDECChannelConfigurationRequestNoneX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0001,(n<<8)
238 #define writeDECChannelConfigurationRequestNoneLwRw writeDECChannelConfigurationRequestNoneX(0x01)
239 #define writeDECChannelConfigurationRequestNoneLhRh writeDECChannelConfigurationRequestNoneX(0x04)
240 #define writeDECChannelConfigurationRequestNoneLwRwLhRh writeDECChannelConfigurationRequestNoneX(0x05)
241 #define writeDECChannelConfigurationRequestMonoX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0002,(n<<8)
242 #define writeDECChannelConfigurationRequestMonoLwRw writeDECChannelConfigurationRequestMonoX(0x01)
243 #define writeDECChannelConfigurationRequestMonoLhRh writeDECChannelConfigurationRequestMonoX(0x04)
244 #define writeDECChannelConfigurationRequestMonoLwRwLhRh writeDECChannelConfigurationRequestMonoX(0x05)
245 #define writeDECChannelConfigurationRequestStereoX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,(n<<8)
246 #define writeDECChannelConfigurationRequestStereoLwRw writeDECChannelConfigurationRequestStereoX(0x01)
247 #define writeDECChannelConfigurationRequestStereoLhRh writeDECChannelConfigurationRequestStereoX(0x04)
248 #define writeDECChannelConfigurationRequestStereoLwRwLhRh writeDECChannelConfigurationRequestStereoX(0x05)
249 #define writeDECChannelConfigurationRequestStereoXLtRt(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0002)
250 #define writeDECChannelConfigurationRequestStereoLwRwLtRt writeDECChannelConfigurationRequestStereoXLtRt(0x01)
251 #define writeDECChannelConfigurationRequestStereoLhRhLtRt writeDECChannelConfigurationRequestStereoXLtRt(0x04)
252 #define writeDECChannelConfigurationRequestStereoLwRwLhRhLtRt writeDECChannelConfigurationRequestStereoXLtRt(0x05)
253 #define writeDECChannelConfigurationRequestStereoXMono(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0003)
254 #define writeDECChannelConfigurationRequestStereoLwRwMono writeDECChannelConfigurationRequestStereoXMono(0x01)
255 #define writeDECChannelConfigurationRequestStereoLhRhMono writeDECChannelConfigurationRequestStereoXMono(0x04)
256 #define writeDECChannelConfigurationRequestStereoLwRwLhRhMono writeDECChannelConfigurationRequestStereoXMono(0x05)
257 #define writeDECChannelConfigurationRequest3StereoX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0108,(n<<8)
258 #define writeDECChannelConfigurationRequest3StereoLwRw writeDECChannelConfigurationRequest3StereoX(0x01)
259 #define writeDECChannelConfigurationRequest3StereoLhRh writeDECChannelConfigurationRequest3StereoX(0x04)
260 #define writeDECChannelConfigurationRequest3StereoLwRwLhRh writeDECChannelConfigurationRequest3StereoX(0x05)
261 #define writeDECChannelConfigurationRequestPhantomX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,(n<<8)
262 #define writeDECChannelConfigurationRequestPhantomLwRw writeDECChannelConfigurationRequestPhantomX(0x01)
263 #define writeDECChannelConfigurationRequestPhantomLhRh writeDECChannelConfigurationRequestPhantomX(0x04)
264 #define writeDECChannelConfigurationRequestPhantomLwRwLhRh writeDECChannelConfigurationRequestPhantomX(0x05)
265 #define writeDECChannelConfigurationRequestSurroundX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,(n<<8)
266 #define writeDECChannelConfigurationRequestSurroundLwRw writeDECChannelConfigurationRequestSurroundX(0x01)
267 #define writeDECChannelConfigurationRequestSurroundLhRh writeDECChannelConfigurationRequestSurroundX(0x04)
268 #define writeDECChannelConfigurationRequestSurroundLwRwLhRh writeDECChannelConfigurationRequestSurroundX(0x05)
270 // _0
271 #define writeDECChannelConfigurationRequestNoneX_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0001,(n<<8)
272 #define writeDECChannelConfigurationRequestNoneLwRw_0 writeDECChannelConfigurationRequestNoneX_0(0x01)
273 #define writeDECChannelConfigurationRequestNoneLhRh_0 writeDECChannelConfigurationRequestNoneX_0(0x04)
274 #define writeDECChannelConfigurationRequestNoneLwRwLhRh_0 writeDECChannelConfigurationRequestNoneX_0(0x05)
275 #define writeDECChannelConfigurationRequestMonoX_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0002,(n<<8)
276 #define writeDECChannelConfigurationRequestMonoLwRw_0 writeDECChannelConfigurationRequestMonoX_0(0x01)
277 #define writeDECChannelConfigurationRequestMonoLhRh_0 writeDECChannelConfigurationRequestMonoX_0(0x04)
278 #define writeDECChannelConfigurationRequestMonoLwRwLhRh_0 writeDECChannelConfigurationRequestMonoX_0(0x05)
279 #define writeDECChannelConfigurationRequestPhantom0X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,(n<<8)
280 #define writeDECChannelConfigurationRequestPhantom0LwRw_0 writeDECChannelConfigurationRequestPhantom0X_0(0x01)
281 #define writeDECChannelConfigurationRequestPhantom0LhRh_0 writeDECChannelConfigurationRequestPhantom0X_0(0x04)
282 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom0X_0(0x05)
283 #define writeDECChannelConfigurationRequestPhantom0XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0001)
284 #define writeDECChannelConfigurationRequestPhantom0LwRwStereo_0 writeDECChannelConfigurationRequestPhantom0XStereo_0(0x01)
285 #define writeDECChannelConfigurationRequestPhantom0LhRhStereo_0 writeDECChannelConfigurationRequestPhantom0XStereo_0(0x04) 
286 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_0 writeDECChannelConfigurationRequestPhantom0XStereo_0(0x05) 
287 #define writeDECChannelConfigurationRequestPhantom0XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0002)
288 #define writeDECChannelConfigurationRequestPhantom0LwRwLtRt_0 writeDECChannelConfigurationRequestPhantom0XLtRt_0(0x01)
289 #define writeDECChannelConfigurationRequestPhantom0LhRhLtRt_0 writeDECChannelConfigurationRequestPhantom0XLtRt_0(0x04)
290 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhLtRt_0 writeDECChannelConfigurationRequestPhantom0XLtRt_0(0x05)
291 #define writeDECChannelConfigurationRequestPhantom0XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0003)
292 #define writeDECChannelConfigurationRequestPhantom0LwRwMono_0 writeDECChannelConfigurationRequestPhantom0XMono_0(0x01)
293 #define writeDECChannelConfigurationRequestPhantom0LhRhMono_0 writeDECChannelConfigurationRequestPhantom0XMono_0(0x04)
294 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhMono_0 writeDECChannelConfigurationRequestPhantom0XMono_0(0x05)
295 #define wroteDECChannelConfigurationRequestPhantom0XDual_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0004)
296 #define wroteDECChannelConfigurationRequestPhantom0LwRwDual_0 wroteDECChannelConfigurationRequestPhantom0XDual_0(0x01)
297 #define wroteDECChannelConfigurationRequestPhantom0LhRhDual_0 wroteDECChannelConfigurationRequestPhantom0XDual_0(0x04)
298 #define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_0 wroteDECChannelConfigurationRequestPhantom0XDual_0(0x05)
299 #define writeDECChannelConfigurationRequestPhantom1X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0004,(n<<8)
300 #define writeDECChannelConfigurationRequestPhantom1LwRw_0 writeDECChannelConfigurationRequestPhantom1X_0(0x01)
301 #define writeDECChannelConfigurationRequestPhantom1LhRh_0 writeDECChannelConfigurationRequestPhantom1X_0(0x04)
302 #define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom1X_0(0x05)
303 #define writeDECChannelConfigurationRequestPhantom2X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0005,(n<<8)
304 #define writeDECChannelConfigurationRequestPhantom2LwRw_0 writeDECChannelConfigurationRequestPhantom2X_0(0x01)
305 #define writeDECChannelConfigurationRequestPhantom2LhRh_0 writeDECChannelConfigurationRequestPhantom2X_0(0x04)
306 #define writeDECChannelConfigurationRequestPhantom2LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom2X_0(0x05)
307 #define wroteDECChannelConfigurationRequestPhantom2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0005,((n<<8)|0x0001)
308 #define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_0 wroteDECChannelConfigurationRequestPhantom2XStereo_0(0x01) 
309 #define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_0 wroteDECChannelConfigurationRequestPhantom2XStereo_0(0x04) 
310 #define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_0 wroteDECChannelConfigurationRequestPhantom2XStereo_0(0x05) 
311 #define writeDECChannelConfigurationRequestPhantom2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0005,((n<<8)|0x0002)
312 #define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_0 writeDECChannelConfigurationRequestPhantom2XLtRt_0(0x01) 
313 #define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_0 writeDECChannelConfigurationRequestPhantom2XLtRt_0(0x04) 
314 #define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_0 writeDECChannelConfigurationRequestPhantom2XLtRt_0(0x05) 
315 #define wroteDECChannelConfigurationRequestPhantom2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0005,((n<<8)|0x0003)
316 #define wroteDECChannelConfigurationRequestPhantom2LwRwMono_0 wroteDECChannelConfigurationRequestPhantom2XMono_0(0x01) 
317 #define wroteDECChannelConfigurationRequestPhantom2LhRhMono_0 wroteDECChannelConfigurationRequestPhantom2XMono_0(0x04)
318 #define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_0 wroteDECChannelConfigurationRequestPhantom2XMono_0(0x05) 
319 #define writeDECChannelConfigurationRequestPhantom3X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0006,(n<<8)
320 #define writeDECChannelConfigurationRequestPhantom3LwRw_0 writeDECChannelConfigurationRequestPhantom3X_0(0x01)
321 #define writeDECChannelConfigurationRequestPhantom3LhRh_0 writeDECChannelConfigurationRequestPhantom3X_0(0x04)
322 #define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom3X_0(0x05)
323 #define writeDECChannelConfigurationRequestPhantom4X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0007,(n<<8)
324 #define writeDECChannelConfigurationRequestPhantom4LwRw_0 writeDECChannelConfigurationRequestPhantom4X_0(0x01)
325 #define writeDECChannelConfigurationRequestPhantom4LhRh_0 writeDECChannelConfigurationRequestPhantom4X_0(0x04)
326 #define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom4X_0(0x05)
327 #define writeDECChannelConfigurationRequestSurround0X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0008,(n<<8)
328 #define writeDECChannelConfigurationRequestSurround0LwRw_0 writeDECChannelConfigurationRequestSurround0X_0(0x01)
329 #define writeDECChannelConfigurationRequestSurround0LhRh_0 writeDECChannelConfigurationRequestSurround0X_0(0x04)
330 #define writeDECChannelConfigurationRequestSurround0LwRwLhRh_0 writeDECChannelConfigurationRequestSurround0X_0(0x05)
331 #define writeDECChannelConfigurationRequestSurround1X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0009,(n<<8)
332 #define writeDECChannelConfigurationRequestSurround1LwRw_0 writeDECChannelConfigurationRequestSurround1X_0(0x01)
333 #define writeDECChannelConfigurationRequestSurround1LhRh_0 writeDECChannelConfigurationRequestSurround1X_0(0x04)
334 #define writeDECChannelConfigurationRequestSurround1LwRwLhRh_0 writeDECChannelConfigurationRequestSurround1X_0(0x05)
335 #define writeDECChannelConfigurationRequestSurround2X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000a,(n<<8)
336 #define writeDECChannelConfigurationRequestSurround2LwRw_0 writeDECChannelConfigurationRequestSurround2X_0(0x01)
337 #define writeDECChannelConfigurationRequestSurround2LhRh_0 writeDECChannelConfigurationRequestSurround2X_0(0x04)
338 #define writeDECChannelConfigurationRequestSurround2LwRwLhRh_0 writeDECChannelConfigurationRequestSurround2X_0(0x05)
339 #define wroteDECChannelConfigurationRequestSurround2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000a,((n<<8)|0x0001)
340 #define wroteDECChannelConfigurationRequestSurround2LwRwStereo_0 wroteDECChannelConfigurationRequestSurround2XStereo_0(0x01)
341 #define wroteDECChannelConfigurationRequestSurround2LhRhStereo_0 wroteDECChannelConfigurationRequestSurround2XStereo_0(0x04)
342 #define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_0 wroteDECChannelConfigurationRequestSurround2XStereo_0(0x05)
343 #define writeDECChannelConfigurationRequestSurround2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000a,((n<<8)|0x0002)
344 #define writeDECChannelConfigurationRequestSurround2LwRwLtRt_0 writeDECChannelConfigurationRequestSurround2XLtRt_0(0x01) 
345 #define writeDECChannelConfigurationRequestSurround2LhRhLtRt_0 writeDECChannelConfigurationRequestSurround2XLtRt_0(0x04) 
346 #define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_0 writeDECChannelConfigurationRequestSurround2XLtRt_0(0x05) 
347 #define wroteDECChannelConfigurationRequestSurround2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000a,((n<<8)|0x0003)
348 #define wroteDECChannelConfigurationRequestSurround2LwRwMono_0 wroteDECChannelConfigurationRequestSurround2XMono_0(0x01) 
349 #define wroteDECChannelConfigurationRequestSurround2LhRhMono_0 wroteDECChannelConfigurationRequestSurround2XMono_0(0x04)
350 #define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_0 wroteDECChannelConfigurationRequestSurround2XMono_0(0x05) 
351 #define writeDECChannelConfigurationRequestSurround3X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000b,(n<<8)
352 #define writeDECChannelConfigurationRequestSurround3LwRw_0 writeDECChannelConfigurationRequestSurround3X_0(0x01)
353 #define writeDECChannelConfigurationRequestSurround3LhRh_0 writeDECChannelConfigurationRequestSurround3X_0(0x04)
354 #define writeDECChannelConfigurationRequestSurround3LwRwLhRh_0 writeDECChannelConfigurationRequestSurround3X_0(0x05)
355 #define writeDECChannelConfigurationRequestSurround4X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000c,(n<<8)
356 #define writeDECChannelConfigurationRequestSurround4LwRw_0 writeDECChannelConfigurationRequestSurround4X_0(0x01)
357 #define writeDECChannelConfigurationRequestSurround4LhRh_0 writeDECChannelConfigurationRequestSurround4X_0(0x04)
358 #define writeDECChannelConfigurationRequestSurround4LwRwLhRh_0 writeDECChannelConfigurationRequestSurround4X_0(0x05)
360 // _1
361 #define writeDECChannelConfigurationRequestNoneX_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0101,(n<<8)
362 #define writeDECChannelConfigurationRequestNoneLwRw_1 writeDECChannelConfigurationRequestNoneX_1(0x01)
363 #define writeDECChannelConfigurationRequestNoneLhRh_1 writeDECChannelConfigurationRequestNoneX_1(0x04)
364 #define writeDECChannelConfigurationRequestNoneLwRwLhRh_1 writeDECChannelConfigurationRequestNoneX_1(0x05)
365 #define writeDECChannelConfigurationRequestMonoX_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0102,(n<<8)
366 #define writeDECChannelConfigurationRequestMonoLwRw_1 writeDECChannelConfigurationRequestMonoX_1(0x01)
367 #define writeDECChannelConfigurationRequestMonoLhRh_1 writeDECChannelConfigurationRequestMonoX_1(0x04)
368 #define writeDECChannelConfigurationRequestMonoLwRwLhRh_1 writeDECChannelConfigurationRequestMonoX_1(0x05)
369 #define writeDECChannelConfigurationRequestPhantom0X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,(n<<8)
370 #define writeDECChannelConfigurationRequestPhantom0LwRw_1 writeDECChannelConfigurationRequestPhantom0X_1(0x01)
371 #define writeDECChannelConfigurationRequestPhantom0LhRh_1 writeDECChannelConfigurationRequestPhantom0X_1(0x04)
372 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom0X_1(0x05)
373 #define writeDECChannelConfigurationRequestPhantom0XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,((n<<8)|0x0001)
374 #define writeDECChannelConfigurationRequestPhantom0LwRwStereo_1 writeDECChannelConfigurationRequestPhantom0XStereo_1(0x01)
375 #define writeDECChannelConfigurationRequestPhantom0LhRhStereo_1 writeDECChannelConfigurationRequestPhantom0XStereo_1(0x04) 
376 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_1 writeDECChannelConfigurationRequestPhantom0XStereo_1(0x05) 
377 #define writeDECChannelConfigurationRequestPhantom0XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,((n<<8)|0x0002)
378 #define writeDECChannelConfigurationRequestPhantom0LwRwLtRt_1 writeDECChannelConfigurationRequestPhantom0XLtRt_1(0x01)
379 #define writeDECChannelConfigurationRequestPhantom0LhRhLtRt_1 writeDECChannelConfigurationRequestPhantom0XLtRt_1(0x04)
380 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhLtRt_1 writeDECChannelConfigurationRequestPhantom0XLtRt_1(0x05)
381 #define writeDECChannelConfigurationRequestPhantom0XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,((n<<8)|0x0003)
382 #define writeDECChannelConfigurationRequestPhantom0LwRwMono_1 writeDECChannelConfigurationRequestPhantom0XMono_1(0x01)
383 #define writeDECChannelConfigurationRequestPhantom0LhRhMono_1 writeDECChannelConfigurationRequestPhantom0XMono_1(0x04)
384 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhMono_1 writeDECChannelConfigurationRequestPhantom0XMono_1(0x05)
385 #define wroteDECChannelConfigurationRequestPhantom0XDual_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,((n<<8)|0x0004)
386 #define wroteDECChannelConfigurationRequestPhantom0LwRwDual_1 wroteDECChannelConfigurationRequestPhantom0XDual_1(0x01)
387 #define wroteDECChannelConfigurationRequestPhantom0LhRhDual_1 wroteDECChannelConfigurationRequestPhantom0XDual_1(0x04)
388 #define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_1 wroteDECChannelConfigurationRequestPhantom0XDual_1(0x05)
389 #define writeDECChannelConfigurationRequestPhantom1X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0104,(n<<8)
390 #define writeDECChannelConfigurationRequestPhantom1LwRw_1 writeDECChannelConfigurationRequestPhantom1X_1(0x01)
391 #define writeDECChannelConfigurationRequestPhantom1LhRh_1 writeDECChannelConfigurationRequestPhantom1X_1(0x04)
392 #define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom1X_1(0x05)
393 #define writeDECChannelConfigurationRequestPhantom2X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,(n<<8)
394 #define writeDECChannelConfigurationRequestPhantom2LwRw_1 writeDECChannelConfigurationRequestPhantom2X_1(0x01)
395 #define writeDECChannelConfigurationRequestPhantom2LhRh_1 writeDECChannelConfigurationRequestPhantom2X_1(0x04)
396 #define writeDECChannelConfigurationRequestPhantom2LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom2X_1(0x05)
397 #define wroteDECChannelConfigurationRequestPhantom2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,((n<<8)|0x0001)
398 #define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_1 wroteDECChannelConfigurationRequestPhantom2XStereo_1(0x01) 
399 #define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_1 wroteDECChannelConfigurationRequestPhantom2XStereo_1(0x04) 
400 #define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_1 wroteDECChannelConfigurationRequestPhantom2XStereo_1(0x05) 
401 #define writeDECChannelConfigurationRequestPhantom2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,((n<<8)|0x0002)
402 #define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_1 writeDECChannelConfigurationRequestPhantom2XLtRt_1(0x01) 
403 #define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_1 writeDECChannelConfigurationRequestPhantom2XLtRt_1(0x04) 
404 #define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_1 writeDECChannelConfigurationRequestPhantom2XLtRt_1(0x05) 
405 #define wroteDECChannelConfigurationRequestPhantom2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,((n<<8)|0x0003)
406 #define wroteDECChannelConfigurationRequestPhantom2LwRwMono_1 wroteDECChannelConfigurationRequestPhantom2XMono_1(0x01) 
407 #define wroteDECChannelConfigurationRequestPhantom2LhRhMono_1 wroteDECChannelConfigurationRequestPhantom2XMono_1(0x04)
408 #define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_1 wroteDECChannelConfigurationRequestPhantom2XMono_1(0x05) 
409 #define writeDECChannelConfigurationRequestPhantom3X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0106,(n<<8)
410 #define writeDECChannelConfigurationRequestPhantom3LwRw_1 writeDECChannelConfigurationRequestPhantom3X_1(0x01)
411 #define writeDECChannelConfigurationRequestPhantom3LhRh_1 writeDECChannelConfigurationRequestPhantom3X_1(0x04)
412 #define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom3X_1(0x05)
413 #define writeDECChannelConfigurationRequestPhantom4X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0107,(n<<8)
414 #define writeDECChannelConfigurationRequestPhantom4LwRw_1 writeDECChannelConfigurationRequestPhantom4X_1(0x01)
415 #define writeDECChannelConfigurationRequestPhantom4LhRh_1 writeDECChannelConfigurationRequestPhantom4X_1(0x04)
416 #define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom4X_1(0x05)
417 #define writeDECChannelConfigurationRequestSurround0X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0108,(n<<8)
418 #define writeDECChannelConfigurationRequestSurround0LwRw_1 writeDECChannelConfigurationRequestSurround0X_1(0x01)
419 #define writeDECChannelConfigurationRequestSurround0LhRh_1 writeDECChannelConfigurationRequestSurround0X_1(0x04)
420 #define writeDECChannelConfigurationRequestSurround0LwRwLhRh_1 writeDECChannelConfigurationRequestSurround0X_1(0x05)
421 #define writeDECChannelConfigurationRequestSurround1X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0109,(n<<8)
422 #define writeDECChannelConfigurationRequestSurround1LwRw_1 writeDECChannelConfigurationRequestSurround1X_1(0x01)
423 #define writeDECChannelConfigurationRequestSurround1LhRh_1 writeDECChannelConfigurationRequestSurround1X_1(0x04)
424 #define writeDECChannelConfigurationRequestSurround1LwRwLhRh_1 writeDECChannelConfigurationRequestSurround1X_1(0x05)
425 #define writeDECChannelConfigurationRequestSurround2X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,(n<<8)
426 #define writeDECChannelConfigurationRequestSurround2LwRw_1 writeDECChannelConfigurationRequestSurround2X_1(0x01)
427 #define writeDECChannelConfigurationRequestSurround2LhRh_1 writeDECChannelConfigurationRequestSurround2X_1(0x04)
428 #define writeDECChannelConfigurationRequestSurround2LwRwLhRh_1 writeDECChannelConfigurationRequestSurround2X_1(0x05)
429 #define wroteDECChannelConfigurationRequestSurround2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,((n<<8)|0x0001)
430 #define wroteDECChannelConfigurationRequestSurround2LwRwStereo_1 wroteDECChannelConfigurationRequestSurround2XStereo_1(0x01)
431 #define wroteDECChannelConfigurationRequestSurround2LhRhStereo_1 wroteDECChannelConfigurationRequestSurround2XStereo_1(0x04)
432 #define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_1 wroteDECChannelConfigurationRequestSurround2XStereo_1(0x05)
433 #define writeDECChannelConfigurationRequestSurround2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,((n<<8)|0x0002)
434 #define writeDECChannelConfigurationRequestSurround2LwRwLtRt_1 writeDECChannelConfigurationRequestSurround2XLtRt_1(0x01) 
435 #define writeDECChannelConfigurationRequestSurround2LhRhLtRt_1 writeDECChannelConfigurationRequestSurround2XLtRt_1(0x04) 
436 #define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_1 writeDECChannelConfigurationRequestSurround2XLtRt_1(0x05) 
437 #define wroteDECChannelConfigurationRequestSurround2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,((n<<8)|0x0003)
438 #define wroteDECChannelConfigurationRequestSurround2LwRwMono_1 wroteDECChannelConfigurationRequestSurround2XMono_1(0x01) 
439 #define wroteDECChannelConfigurationRequestSurround2LhRhMono_1 wroteDECChannelConfigurationRequestSurround2XMono_1(0x04)
440 #define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_1 wroteDECChannelConfigurationRequestSurround2XMono_1(0x05) 
441 #define writeDECChannelConfigurationRequestSurround3X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010b,(n<<8)
442 #define writeDECChannelConfigurationRequestSurround3LwRw_1 writeDECChannelConfigurationRequestSurround3X_1(0x01)
443 #define writeDECChannelConfigurationRequestSurround3LhRh_1 writeDECChannelConfigurationRequestSurround3X_1(0x04)
444 #define writeDECChannelConfigurationRequestSurround3LwRwLhRh_1 writeDECChannelConfigurationRequestSurround3X_1(0x05)
445 #define writeDECChannelConfigurationRequestSurround4X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010c,(n<<8)
446 #define writeDECChannelConfigurationRequestSurround4LwRw_1 writeDECChannelConfigurationRequestSurround4X_1(0x01)
447 #define writeDECChannelConfigurationRequestSurround4LhRh_1 writeDECChannelConfigurationRequestSurround4X_1(0x04)
448 #define writeDECChannelConfigurationRequestSurround4LwRwLhRh_1 writeDECChannelConfigurationRequestSurround4X_1(0x05)
449 // _2
450 #define writeDECChannelConfigurationRequestNoneX_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0201,(n<<8)
451 #define writeDECChannelConfigurationRequestNoneLwRw_2 writeDECChannelConfigurationRequestNoneX_2(0x01)
452 #define writeDECChannelConfigurationRequestNoneLhRh_2 writeDECChannelConfigurationRequestNoneX_2(0x04)
453 #define writeDECChannelConfigurationRequestNoneLwRwLhRh_2 writeDECChannelConfigurationRequestNoneX_2(0x05)
454 #define writeDECChannelConfigurationRequestMonoX_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0202,(n<<8)
455 #define writeDECChannelConfigurationRequestMonoLwRw_2 writeDECChannelConfigurationRequestMonoX_2(0x01)
456 #define writeDECChannelConfigurationRequestMonoLhRh_2 writeDECChannelConfigurationRequestMonoX_2(0x04)
457 #define writeDECChannelConfigurationRequestMonoLwRwLhRh_2 writeDECChannelConfigurationRequestMonoX_2(0x05)
458 #define writeDECChannelConfigurationRequestPhantom0X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,(n<<8)
459 #define writeDECChannelConfigurationRequestPhantom0LwRw_2 writeDECChannelConfigurationRequestPhantom0X_2(0x01)
460 #define writeDECChannelConfigurationRequestPhantom0LhRh_2 writeDECChannelConfigurationRequestPhantom0X_2(0x04)
461 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom0X_2(0x05)
462 #define writeDECChannelConfigurationRequestPhantom0XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,((n<<8)|0x0001)
463 #define writeDECChannelConfigurationRequestPhantom0LwRwStereo_2 writeDECChannelConfigurationRequestPhantom0XStereo_2(0x01)
464 #define writeDECChannelConfigurationRequestPhantom0LhRhStereo_2 writeDECChannelConfigurationRequestPhantom0XStereo_2(0x04) 
465 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_2 writeDECChannelConfigurationRequestPhantom0XStereo_2(0x05) 
466 #define writeDECChannelConfigurationRequestPhantom0XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,((n<<8)|0x0002)
467 #define writeDECChannelConfigurationRequestPhantom0LwRwLtRt_2 writeDECChannelConfigurationRequestPhantom0XLtRt_2(0x01)
468 #define writeDECChannelConfigurationRequestPhantom0LhRhLtRt_2 writeDECChannelConfigurationRequestPhantom0XLtRt_2(0x04)
469 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhLtRt_2 writeDECChannelConfigurationRequestPhantom0XLtRt_2(0x05)
470 #define writeDECChannelConfigurationRequestPhantom0XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,((n<<8)|0x0003)
471 #define writeDECChannelConfigurationRequestPhantom0LwRwMono_2 writeDECChannelConfigurationRequestPhantom0XMono_2(0x01)
472 #define writeDECChannelConfigurationRequestPhantom0LhRhMono_2 writeDECChannelConfigurationRequestPhantom0XMono_2(0x04)
473 #define writeDECChannelConfigurationRequestPhantom0LwRwLhRhMono_2 writeDECChannelConfigurationRequestPhantom0XMono_2(0x05)
474 #define wroteDECChannelConfigurationRequestPhantom0XDual_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,((n<<8)|0x0004)
475 #define wroteDECChannelConfigurationRequestPhantom0LwRwDual_2 wroteDECChannelConfigurationRequestPhantom0XDual_2(0x01)
476 #define wroteDECChannelConfigurationRequestPhantom0LhRhDual_2 wroteDECChannelConfigurationRequestPhantom0XDual_2(0x04)
477 #define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_2 wroteDECChannelConfigurationRequestPhantom0XDual_2(0x05)
478 #define writeDECChannelConfigurationRequestPhantom1X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0204,(n<<8)
479 #define writeDECChannelConfigurationRequestPhantom1LwRw_2 writeDECChannelConfigurationRequestPhantom1X_2(0x01)
480 #define writeDECChannelConfigurationRequestPhantom1LhRh_2 writeDECChannelConfigurationRequestPhantom1X_2(0x04)
481 #define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom1X_2(0x05)
482 #define writeDECChannelConfigurationRequestPhantom2X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0205,(n<<8)
483 #define writeDECChannelConfigurationRequestPhantom2LwRw_2 writeDECChannelConfigurationRequestPhantom2X_2(0x01)
484 #define writeDECChannelConfigurationRequestPhantom2LhRh_2 writeDECChannelConfigurationRequestPhantom2X_2(0x04)
485 #define writeDECChannelConfigurationRequestPhantom2LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom2X_2(0x05)
486 #define wroteDECChannelConfigurationRequestPhantom2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0205,((n<<8)|0x0001)
487 #define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_2 wroteDECChannelConfigurationRequestPhantom2XStereo_2(0x01) 
488 #define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_2 wroteDECChannelConfigurationRequestPhantom2XStereo_2(0x04) 
489 #define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_2 wroteDECChannelConfigurationRequestPhantom2XStereo_2(0x05) 
490 #define writeDECChannelConfigurationRequestPhantom2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0205,((n<<8)|0x0002)
491 #define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_2 writeDECChannelConfigurationRequestPhantom2XLtRt_2(0x01) 
492 #define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_2 writeDECChannelConfigurationRequestPhantom2XLtRt_2(0x04) 
493 #define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_2 writeDECChannelConfigurationRequestPhantom2XLtRt_2(0x05) 
494 #define wroteDECChannelConfigurationRequestPhantom2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0205,((n<<8)|0x0003)
495 #define wroteDECChannelConfigurationRequestPhantom2LwRwMono_2 wroteDECChannelConfigurationRequestPhantom2XMono_2(0x01) 
496 #define wroteDECChannelConfigurationRequestPhantom2LhRhMono_2 wroteDECChannelConfigurationRequestPhantom2XMono_2(0x04)
497 #define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_2 wroteDECChannelConfigurationRequestPhantom2XMono_2(0x05) 
498 #define writeDECChannelConfigurationRequestPhantom3X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0206,(n<<8)
499 #define writeDECChannelConfigurationRequestPhantom3LwRw_2 writeDECChannelConfigurationRequestPhantom3X_2(0x01)
500 #define writeDECChannelConfigurationRequestPhantom3LhRh_2 writeDECChannelConfigurationRequestPhantom3X_2(0x04)
501 #define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom3X_2(0x05)
502 #define writeDECChannelConfigurationRequestPhantom4X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0207,(n<<8)
503 #define writeDECChannelConfigurationRequestPhantom4LwRw_2 writeDECChannelConfigurationRequestPhantom4X_2(0x01)
504 #define writeDECChannelConfigurationRequestPhantom4LhRh_2 writeDECChannelConfigurationRequestPhantom4X_2(0x04)
505 #define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom4X_2(0x05)
506 #define writeDECChannelConfigurationRequestSurround0X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0208,(n<<8)
507 #define writeDECChannelConfigurationRequestSurround0LwRw_2 writeDECChannelConfigurationRequestSurround0X_2(0x01)
508 #define writeDECChannelConfigurationRequestSurround0LhRh_2 writeDECChannelConfigurationRequestSurround0X_2(0x04)
509 #define writeDECChannelConfigurationRequestSurround0LwRwLhRh_2 writeDECChannelConfigurationRequestSurround0X_2(0x05)
510 #define writeDECChannelConfigurationRequestSurround1X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0209,(n<<8)
511 #define writeDECChannelConfigurationRequestSurround1LwRw_2 writeDECChannelConfigurationRequestSurround1X_2(0x01)
512 #define writeDECChannelConfigurationRequestSurround1LhRh_2 writeDECChannelConfigurationRequestSurround1X_2(0x04)
513 #define writeDECChannelConfigurationRequestSurround1LwRwLhRh_2 writeDECChannelConfigurationRequestSurround1X_2(0x05)
514 #define writeDECChannelConfigurationRequestSurround2X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020a,(n<<8)
515 #define writeDECChannelConfigurationRequestSurround2LwRw_2 writeDECChannelConfigurationRequestSurround2X_2(0x01)
516 #define writeDECChannelConfigurationRequestSurround2LhRh_2 writeDECChannelConfigurationRequestSurround2X_2(0x04)
517 #define writeDECChannelConfigurationRequestSurround2LwRwLhRh_2 writeDECChannelConfigurationRequestSurround2X_2(0x05)
518 #define wroteDECChannelConfigurationRequestSurround2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020a,((n<<8)|0x0001)
519 #define wroteDECChannelConfigurationRequestSurround2LwRwStereo_2 wroteDECChannelConfigurationRequestSurround2XStereo_2(0x01)
520 #define wroteDECChannelConfigurationRequestSurround2LhRhStereo_2 wroteDECChannelConfigurationRequestSurround2XStereo_2(0x04)
521 #define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_2 wroteDECChannelConfigurationRequestSurround2XStereo_2(0x05)
522 #define writeDECChannelConfigurationRequestSurround2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020a,((n<<8)|0x0002)
523 #define writeDECChannelConfigurationRequestSurround2LwRwLtRt_2 writeDECChannelConfigurationRequestSurround2XLtRt_2(0x01) 
524 #define writeDECChannelConfigurationRequestSurround2LhRhLtRt_2 writeDECChannelConfigurationRequestSurround2XLtRt_2(0x04) 
525 #define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_2 writeDECChannelConfigurationRequestSurround2XLtRt_2(0x05) 
526 #define wroteDECChannelConfigurationRequestSurround2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020a,((n<<8)|0x0003)
527 #define wroteDECChannelConfigurationRequestSurround2LwRwMono_2 wroteDECChannelConfigurationRequestSurround2XMono_2(0x01) 
528 #define wroteDECChannelConfigurationRequestSurround2LhRhMono_2 wroteDECChannelConfigurationRequestSurround2XMono_2(0x04)
529 #define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_2 wroteDECChannelConfigurationRequestSurround2XMono_2(0x05) 
530 #define writeDECChannelConfigurationRequestSurround3X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020b,(n<<8)
531 #define writeDECChannelConfigurationRequestSurround3LwRw_2 writeDECChannelConfigurationRequestSurround3X_2(0x01)
532 #define writeDECChannelConfigurationRequestSurround3LhRh_2 writeDECChannelConfigurationRequestSurround3X_2(0x04)
533 #define writeDECChannelConfigurationRequestSurround3LwRwLhRh_2 writeDECChannelConfigurationRequestSurround3X_2(0x05)
534 #define writeDECChannelConfigurationRequestSurround4X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020c,(n<<8)
535 #define writeDECChannelConfigurationRequestSurround4LwRw_2 writeDECChannelConfigurationRequestSurround4X_2(0x01)
536 #define writeDECChannelConfigurationRequestSurround4LhRh_2 writeDECChannelConfigurationRequestSurround4X_2(0x04)
537 #define writeDECChannelConfigurationRequestSurround4LwRwLhRh_2 writeDECChannelConfigurationRequestSurround4X_2(0x05)
539 // sort of legacy.  Only writes the low 32 bits.
540 #define writeDECChannelConfigurationRequestHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x003C,LL,HH
541 // writes the full 64 bits
542 #define writeDECChannelConfigurationRequestHLHL(HH,HL,LH,LL) 0xce00+STD_BETA_DECODE,0x3808,LL,LH,HL,HH
545 #define  readDECChannelConfigurationRequestExtChan         0xc200+STD_BETA_DECODE,0x3B00
546 #define  readDECChannelConfigurationRequestExtMask         readDECChannelConfigurationRequestExtChan
547 #define writeDECChannelConfigurationRequestExtChanNone     0xca00+STD_BETA_DECODE,0x3B00
548 #define writeDECChannelConfigurationRequestExtChanLhRh     0xca00+STD_BETA_DECODE,(0x3B04) // PAF_CC_EXTMASK_LhRh
549 #define writeDECChannelConfigurationRequestExtChanLwRw     0xca00+STD_BETA_DECODE,(0x3B01) // PAF_CC_EXTMASK_LwRw
550 #define writeDECChannelConfigurationRequestExtChanLwRwLhRh 0xca00+STD_BETA_DECODE, \
551                                                            (0x3B05) // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
553 #define writeDECChannelConfigurationRequestAuxUnknown 0xca00+STD_BETA_DECODE,0x3A00
554 #define writeDECChannelConfigurationRequestAuxStereo 0xca00+STD_BETA_DECODE,0x3A01
555 #define writeDECChannelConfigurationRequestAuxLtRt 0xca00+STD_BETA_DECODE,0x3A02
556 #define writeDECChannelConfigurationRequestAuxMono 0xca00+STD_BETA_DECODE,0x3A03
557 #define writeDECChannelConfigurationRequestAuxDual 0xca00+STD_BETA_DECODE,0x3A04
559 //ATMOS
560 #define writeDECChannelConfigurationRequestSurround2ATMOS_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0000,(n<<8),0x0000
561 #define writeDECChannelConfigurationRequestSurround2ATMOS_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0000,(n<<8),0x0000
562 #define writeDECChannelConfigurationRequestSurround2ATMOS_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0000,(n<<8),0x0000
563 #define wroteDECChannelConfigurationRequestSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0003,(n<<8),0x0000
564 #define wroteDECChannelConfigurationRequestSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0003,(n<<8),0x0000
565 #define wroteDECChannelConfigurationRequestSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0003,(n<<8),0x0000
567 #define writeDECChannelConfigurationRequestSurround2LwRwATMOS_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0100,(n<<8),0x0000
568 #define writeDECChannelConfigurationRequestSurround2LwRwATMOS_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0100,(n<<8),0x0000
569 #define writeDECChannelConfigurationRequestSurround2LwRwATMOS_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0100,(n<<8),0x0000
570 #define wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0103,(n<<8),0x0000
571 #define wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0103,(n<<8),0x0000
572 #define wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0103,(n<<8),0x0000
574 #define writeDECChannelConfigurationRequestSurround4ATMOS_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000c,0x0000,(n<<8),0x0000
575 #define writeDECChannelConfigurationRequestSurround4ATMOS_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010c,0x0000,(n<<8),0x0000
576 #define writeDECChannelConfigurationRequestSurround4ATMOS_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020c,0x0000,(n<<8),0x0000
577 #define wroteDECChannelConfigurationRequestSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000c,0x0003,(n<<8),0x0000
578 #define wroteDECChannelConfigurationRequestSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010c,0x0003,(n<<8),0x0000
579 #define wroteDECChannelConfigurationRequestSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020c,0x0003,(n<<8),0x0000
581 #define writeDECChannelConfigurationRequestSurround4LwRwATMOS_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0100,(n<<8),0x0000
582 #define writeDECChannelConfigurationRequestSurround4LwRwATMOS_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0100,(n<<8),0x0000
583 #define writeDECChannelConfigurationRequestSurround4LwRwATMOS_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0100,(n<<8),0x0000
584 #define wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000c,0x0103,(n<<8),0x0000
585 #define wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010c,0x0103,(n<<8),0x0000
586 #define wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020c,0x0103,(n<<8),0x0000
588 #define writeDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_0 writeDECChannelConfigurationRequestSurround2ATMOS_0(0xA)
589 #define writeDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_1 writeDECChannelConfigurationRequestSurround2ATMOS_1(0xA)
590 #define writeDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_2 writeDECChannelConfigurationRequestSurround2ATMOS_2(0xA)
591 #define wroteDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationRequestSurround2ATMOSMono_0(0xA)
592 #define wroteDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationRequestSurround2ATMOSMono_1(0xA)
593 #define wroteDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationRequestSurround2ATMOSMono_2(0xA)
595 #define writeDECChannelConfigurationRequestSurround4LtmRtm_0 writeDECChannelConfigurationRequestSurround4ATMOS_0(0x4)
596 #define writeDECChannelConfigurationRequestSurround4LtmRtm_1 writeDECChannelConfigurationRequestSurround4ATMOS_1(0x4)
597 #define writeDECChannelConfigurationRequestSurround4LtmRtm_2 writeDECChannelConfigurationRequestSurround4ATMOS_2(0x4)
598 #define wroteDECChannelConfigurationRequestSurround4LtmRtm_0 wroteDECChannelConfigurationRequestSurround4ATMOSMono_0(0x4)
599 #define wroteDECChannelConfigurationRequestSurround4LtmRtm_1 wroteDECChannelConfigurationRequestSurround4ATMOSMono_1(0x4)
600 #define wroteDECChannelConfigurationRequestSurround4LtmRtm_2 wroteDECChannelConfigurationRequestSurround4ATMOSMono_2(0x4)
602 #define writeDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_0 writeDECChannelConfigurationRequestSurround2LwRwATMOS_0(0xA)
603 #define writeDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_1 writeDECChannelConfigurationRequestSurround2LwRwATMOS_1(0xA)
604 #define writeDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_2 writeDECChannelConfigurationRequestSurround2LwRwATMOS_2(0xA)
605 #define wroteDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_0(0xA)
606 #define wroteDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_1(0xA)
607 #define wroteDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_2(0xA)
609 #define writeDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_0 writeDECChannelConfigurationRequestSurround4ATMOS_0(0xA)
610 #define writeDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 writeDECChannelConfigurationRequestSurround4ATMOS_1(0xA)
611 #define writeDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_2 writeDECChannelConfigurationRequestSurround4ATMOS_2(0xA)
612 #define wroteDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationRequestSurround4ATMOSMono_0(0xA)
613 #define wroteDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationRequestSurround4ATMOSMono_1(0xA)
614 #define wroteDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationRequestSurround4ATMOSMono_2(0xA)
616 #define writeDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_0 writeDECChannelConfigurationRequestSurround4LwRwATMOS_0(0xA)
617 #define writeDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_1 writeDECChannelConfigurationRequestSurround4LwRwATMOS_1(0xA)
618 #define writeDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_2 writeDECChannelConfigurationRequestSurround4LwRwATMOS_2(0xA)
619 #define wroteDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_0(0xA)
620 #define wroteDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_1(0xA)
621 #define wroteDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_2(0xA)
623 #define readDECChannelConfigurationRequestATMOSChan         0xc200+STD_BETA_DECODE,0x3d00
624 #define readDECChannelConfigurationRequestATMOSMask         readDECChannelConfigurationRequestATMOSChan
625 #define writeDECChannelConfigurationRequestATMOSChanNone     0xca00+STD_BETA_DECODE,0x3d00
626 #define writeDECChannelConfigurationRequestATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x3d11)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
627 #define writeDECChannelConfigurationRequestATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x3d0a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
628 #define writeDECChannelConfigurationRequestATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x3d04)//PAF_CC_EXTMASK_LtmRtm
630 //-------------------------------------------------------------------------------------------------------------
632 #define wroteDECChannelConfigurationProgramUnknown 0xcc00+STD_BETA_DECODE,0x0040,0x0000,0x0000
634 #define wroteDECChannelConfigurationProgramNone 0xcc00+STD_BETA_DECODE,0x0040,0x0001,0x0000
635 #define wroteDECChannelConfigurationProgramMono 0xcc00+STD_BETA_DECODE,0x0040,0x0002,0x0000
636 #define wroteDECChannelConfigurationProgramStereo 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0000
637 #define wroteDECChannelConfigurationProgramStereoLtRt 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0002
638 #define wroteDECChannelConfigurationProgramStereoMono 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0003
639 #define wroteDECChannelConfigurationProgram3Stereo 0xcc00+STD_BETA_DECODE,0x0040,0x0108,0x0000
640 #define wroteDECChannelConfigurationProgramPhantom 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0000
641 #define wroteDECChannelConfigurationProgramSurround 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0000
643 #define wroteDECChannelConfigurationProgramNone_0 0xcc00+STD_BETA_DECODE,0x0040,0x0001,0x0000
644 #define wroteDECChannelConfigurationProgramMono_0 0xcc00+STD_BETA_DECODE,0x0040,0x0002,0x0000
645 #define wroteDECChannelConfigurationProgramPhantom0_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0000
646 #define wroteDECChannelConfigurationProgramPhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0001
647 #define wroteDECChannelConfigurationProgramPhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0002
648 #define wroteDECChannelConfigurationProgramPhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0003
649 #define wroteDECChannelConfigurationProgramPhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0004
650 #define wroteDECChannelConfigurationProgramPhantom1_0 0xcc00+STD_BETA_DECODE,0x0040,0x0004,0x0000
651 #define wroteDECChannelConfigurationProgramPhantom2_0 0xcc00+STD_BETA_DECODE,0x0040,0x0005,0x0000
652 #define wroteDECChannelConfigurationProgramPhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0040,0x0005,0x0001
653 #define wroteDECChannelConfigurationProgramPhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0040,0x0005,0x0002
654 #define wroteDECChannelConfigurationProgramPhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0040,0x0005,0x0003
655 #define wroteDECChannelConfigurationProgramPhantom3_0 0xcc00+STD_BETA_DECODE,0x0040,0x0006,0x0000
656 #define wroteDECChannelConfigurationProgramPhantom4_0 0xcc00+STD_BETA_DECODE,0x0040,0x0007,0x0000
657 #define wroteDECChannelConfigurationProgramSurround0_0 0xcc00+STD_BETA_DECODE,0x0040,0x0008,0x0000
658 #define wroteDECChannelConfigurationProgramSurround1_0 0xcc00+STD_BETA_DECODE,0x0040,0x0009,0x0000
659 #define wroteDECChannelConfigurationProgramSurround2_0 0xcc00+STD_BETA_DECODE,0x0040,0x000a,0x0000
660 #define wroteDECChannelConfigurationProgramSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0040,0x000a,0x0001
661 #define wroteDECChannelConfigurationProgramSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0040,0x000a,0x0002
662 #define wroteDECChannelConfigurationProgramSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0040,0x000a,0x0003
663 #define wroteDECChannelConfigurationProgramSurround3_0 0xcc00+STD_BETA_DECODE,0x0040,0x000b,0x0000
664 #define wroteDECChannelConfigurationProgramSurround4_0 0xcc00+STD_BETA_DECODE,0x0040,0x000c,0x0000
666 #define wroteDECChannelConfigurationProgramNone_1 0xcc00+STD_BETA_DECODE,0x0040,0x0101,0x0000
667 #define wroteDECChannelConfigurationProgramMono_1 0xcc00+STD_BETA_DECODE,0x0040,0x0102,0x0000
668 #define wroteDECChannelConfigurationProgramPhantom0_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0000
669 #define wroteDECChannelConfigurationProgramPhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0001
670 #define wroteDECChannelConfigurationProgramPhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0002
671 #define wroteDECChannelConfigurationProgramPhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0003
672 #define wroteDECChannelConfigurationProgramPhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0004
673 #define wroteDECChannelConfigurationProgramPhantom1_1 0xcc00+STD_BETA_DECODE,0x0040,0x0104,0x0000
674 #define wroteDECChannelConfigurationProgramPhantom2_1 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0000
675 #define wroteDECChannelConfigurationProgramPhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0001
676 #define wroteDECChannelConfigurationProgramPhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0002
677 #define wroteDECChannelConfigurationProgramPhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0003
678 #define wroteDECChannelConfigurationProgramPhantom3_1 0xcc00+STD_BETA_DECODE,0x0040,0x0106,0x0000
679 #define wroteDECChannelConfigurationProgramPhantom4_1 0xcc00+STD_BETA_DECODE,0x0040,0x0107,0x0000
680 #define wroteDECChannelConfigurationProgramSurround0_1 0xcc00+STD_BETA_DECODE,0x0040,0x0108,0x0000
681 #define wroteDECChannelConfigurationProgramSurround1_1 0xcc00+STD_BETA_DECODE,0x0040,0x0109,0x0000
682 #define wroteDECChannelConfigurationProgramSurround2_1 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0000
683 #define wroteDECChannelConfigurationProgramSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0001
684 #define wroteDECChannelConfigurationProgramSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0002
685 #define wroteDECChannelConfigurationProgramSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0003
686 #define wroteDECChannelConfigurationProgramSurround3_1 0xcc00+STD_BETA_DECODE,0x0040,0x010b,0x0000
687 #define wroteDECChannelConfigurationProgramSurround4_1 0xcc00+STD_BETA_DECODE,0x0040,0x010c,0x0000
689 // Extended channel configuration requests
690 #define wroteDECChannelConfigurationProgramNoneX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0001,(n<<8)
691 #define wroteDECChannelConfigurationProgramNoneLwRw wroteDECChannelConfigurationProgramNoneX(0x01)
692 #define wroteDECChannelConfigurationProgramNoneLhRh wroteDECChannelConfigurationProgramNoneX(0x04)
693 #define wroteDECChannelConfigurationProgramNoneLwRwLhRh wroteDECChannelConfigurationProgramNoneX(0x05)
694 #define wroteDECChannelConfigurationProgramMonoX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0002,(n<<8)
695 #define wroteDECChannelConfigurationProgramMonoLwRw wroteDECChannelConfigurationProgramMonoX(0x01)
696 #define wroteDECChannelConfigurationProgramMonoLhRh wroteDECChannelConfigurationProgramMonoX(0x04)
697 #define wroteDECChannelConfigurationProgramMonoLwRwLhRh wroteDECChannelConfigurationProgramMonoX(0x05)
698 #define wroteDECChannelConfigurationProgramStereoX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,(n<<8)
699 #define wroteDECChannelConfigurationProgramStereoLwRw wroteDECChannelConfigurationProgramStereoX(0x01)
700 #define wroteDECChannelConfigurationProgramStereoLhRh wroteDECChannelConfigurationProgramStereoX(0x04)
701 #define wroteDECChannelConfigurationProgramStereoLwRwLhRh wroteDECChannelConfigurationProgramStereoX(0x05)
702 #define wroteDECChannelConfigurationProgramStereoXLtRt(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0002)
703 #define wroteDECChannelConfigurationProgramStereoLwRwLtRt wroteDECChannelConfigurationProgramStereoXLtRt(0x01)
704 #define wroteDECChannelConfigurationProgramStereoLhRhLtRt wroteDECChannelConfigurationProgramStereoXLtRt(0x04)
705 #define wroteDECChannelConfigurationProgramStereoLwRwLhRhLtRt wroteDECChannelConfigurationProgramStereoXLtRt(0x05)
706 #define wroteDECChannelConfigurationProgramStereoXMono(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0003)
707 #define wroteDECChannelConfigurationProgramStereoLwRwMono wroteDECChannelConfigurationProgramStereoXMono(0x01)
708 #define wroteDECChannelConfigurationProgramStereoLhRhMono wroteDECChannelConfigurationProgramStereoXMono(0x04)
709 #define wroteDECChannelConfigurationProgramStereoLwRwLhRhMono wroteDECChannelConfigurationProgramStereoXMono(0x05)
710 #define wroteDECChannelConfigurationProgram3StereoX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0108,(n<<8)
711 #define wroteDECChannelConfigurationProgram3StereoLwRw wroteDECChannelConfigurationProgram3StereoX(0x01)
712 #define wroteDECChannelConfigurationProgram3StereoLhRh wroteDECChannelConfigurationProgram3StereoX(0x04)
713 #define wroteDECChannelConfigurationProgram3StereoLwRwLhRh wroteDECChannelConfigurationProgram3StereoX(0x05)
714 #define wroteDECChannelConfigurationProgramPhantomX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,(n<<8)
715 #define wroteDECChannelConfigurationProgramPhantomLwRw wroteDECChannelConfigurationProgramPhantomX(0x01)
716 #define wroteDECChannelConfigurationProgramPhantomLhRh wroteDECChannelConfigurationProgramPhantomX(0x04)
717 #define wroteDECChannelConfigurationProgramPhantomLwRwLhRh wroteDECChannelConfigurationProgramPhantomX(0x05)
718 #define wroteDECChannelConfigurationProgramSurroundX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,(n<<8)
719 #define wroteDECChannelConfigurationProgramSurroundLwRw wroteDECChannelConfigurationProgramSurroundX(0x01)
720 #define wroteDECChannelConfigurationProgramSurroundLhRh wroteDECChannelConfigurationProgramSurroundX(0x04)
721 #define wroteDECChannelConfigurationProgramSurroundLwRwLhRh wroteDECChannelConfigurationProgramSurroundX(0x05)
723 // _0
724 #define wroteDECChannelConfigurationProgramNoneX_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0001,(n<<8)
725 #define wroteDECChannelConfigurationProgramNoneLwRw_0 wroteDECChannelConfigurationProgramNoneX_0(0x01)
726 #define wroteDECChannelConfigurationProgramNoneLhRh_0 wroteDECChannelConfigurationProgramNoneX_0(0x04)
727 #define wroteDECChannelConfigurationProgramNoneLwRwLhRh_0 wroteDECChannelConfigurationProgramNoneX_0(0x05)
728 #define wroteDECChannelConfigurationProgramMonoX_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0002,(n<<8)
729 #define wroteDECChannelConfigurationProgramMonoLwRw_0 wroteDECChannelConfigurationProgramMonoX_0(0x01)
730 #define wroteDECChannelConfigurationProgramMonoLhRh_0 wroteDECChannelConfigurationProgramMonoX_0(0x04)
731 #define wroteDECChannelConfigurationProgramMonoLwRwLhRh_0 wroteDECChannelConfigurationProgramMonoX_0(0x05)
732 #define wroteDECChannelConfigurationProgramPhantom0X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,(n<<8)
733 #define wroteDECChannelConfigurationProgramPhantom0LwRw_0 wroteDECChannelConfigurationProgramPhantom0X_0(0x01)
734 #define wroteDECChannelConfigurationProgramPhantom0LhRh_0 wroteDECChannelConfigurationProgramPhantom0X_0(0x04)
735 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom0X_0(0x05)
736 #define wroteDECChannelConfigurationProgramPhantom0XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0001)
737 #define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_0 wroteDECChannelConfigurationProgramPhantom0XStereo_0(0x01)
738 #define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_0 wroteDECChannelConfigurationProgramPhantom0XStereo_0(0x04) 
739 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_0 wroteDECChannelConfigurationProgramPhantom0XStereo_0(0x05) 
740 #define wroteDECChannelConfigurationProgramPhantom0XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0002)
741 #define wroteDECChannelConfigurationProgramPhantom0LwRwLtRt_0 wroteDECChannelConfigurationProgramPhantom0XLtRt_0(0x01)
742 #define wroteDECChannelConfigurationProgramPhantom0LhRhLtRt_0 wroteDECChannelConfigurationProgramPhantom0XLtRt_0(0x04)
743 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhLtRt_0 wroteDECChannelConfigurationProgramPhantom0XLtRt_0(0x05)
744 #define wroteDECChannelConfigurationProgramPhantom0XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0003)
745 #define wroteDECChannelConfigurationProgramPhantom0LwRwMono_0 wroteDECChannelConfigurationProgramPhantom0XMono_0(0x01)
746 #define wroteDECChannelConfigurationProgramPhantom0LhRhMono_0 wroteDECChannelConfigurationProgramPhantom0XMono_0(0x04)
747 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhMono_0 wroteDECChannelConfigurationProgramPhantom0XMono_0(0x05)
748 #define wroteDECChannelConfigurationProgramPhantom0XDual_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0004)
749 #define wroteDECChannelConfigurationProgramPhantom0LwRwDual_0 wroteDECChannelConfigurationProgramPhantom0XDual_0(0x01)
750 #define wroteDECChannelConfigurationProgramPhantom0LhRhDual_0 wroteDECChannelConfigurationProgramPhantom0XDual_0(0x04)
751 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_0 wroteDECChannelConfigurationProgramPhantom0XDual_0(0x05)
752 #define wroteDECChannelConfigurationProgramPhantom1X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0004,(n<<8)
753 #define wroteDECChannelConfigurationProgramPhantom1LwRw_0 wroteDECChannelConfigurationProgramPhantom1X_0(0x01)
754 #define wroteDECChannelConfigurationProgramPhantom1LhRh_0 wroteDECChannelConfigurationProgramPhantom1X_0(0x04)
755 #define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom1X_0(0x05)
756 #define wroteDECChannelConfigurationProgramPhantom2X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0005,(n<<8)
757 #define wroteDECChannelConfigurationProgramPhantom2LwRw_0 wroteDECChannelConfigurationProgramPhantom2X_0(0x01)
758 #define wroteDECChannelConfigurationProgramPhantom2LhRh_0 wroteDECChannelConfigurationProgramPhantom2X_0(0x04)
759 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom2X_0(0x05)
760 #define wroteDECChannelConfigurationProgramPhantom2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0005,((n<<8)|0x0001)
761 #define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_0 wroteDECChannelConfigurationProgramPhantom2XStereo_0(0x01) 
762 #define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_0 wroteDECChannelConfigurationProgramPhantom2XStereo_0(0x04) 
763 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_0 wroteDECChannelConfigurationProgramPhantom2XStereo_0(0x05) 
764 #define wroteDECChannelConfigurationProgramPhantom2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0005,((n<<8)|0x0002)
765 #define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_0 wroteDECChannelConfigurationProgramPhantom2XLtRt_0(0x01) 
766 #define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_0 wroteDECChannelConfigurationProgramPhantom2XLtRt_0(0x04) 
767 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_0 wroteDECChannelConfigurationProgramPhantom2XLtRt_0(0x05) 
768 #define wroteDECChannelConfigurationProgramPhantom2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0005,((n<<8)|0x0003)
769 #define wroteDECChannelConfigurationProgramPhantom2LwRwMono_0 wroteDECChannelConfigurationProgramPhantom2XMono_0(0x01) 
770 #define wroteDECChannelConfigurationProgramPhantom2LhRhMono_0 wroteDECChannelConfigurationProgramPhantom2XMono_0(0x04)
771 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_0 wroteDECChannelConfigurationProgramPhantom2XMono_0(0x05) 
772 #define wroteDECChannelConfigurationProgramPhantom3X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0006,(n<<8)
773 #define wroteDECChannelConfigurationProgramPhantom3LwRw_0 wroteDECChannelConfigurationProgramPhantom3X_0(0x01)
774 #define wroteDECChannelConfigurationProgramPhantom3LhRh_0 wroteDECChannelConfigurationProgramPhantom3X_0(0x04)
775 #define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom3X_0(0x05)
776 #define wroteDECChannelConfigurationProgramPhantom4X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0007,(n<<8)
777 #define wroteDECChannelConfigurationProgramPhantom4LwRw_0 wroteDECChannelConfigurationProgramPhantom4X_0(0x01)
778 #define wroteDECChannelConfigurationProgramPhantom4LhRh_0 wroteDECChannelConfigurationProgramPhantom4X_0(0x04)
779 #define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom4X_0(0x05)
780 #define wroteDECChannelConfigurationProgramSurround0X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0008,(n<<8)
781 #define wroteDECChannelConfigurationProgramSurround0LwRw_0 wroteDECChannelConfigurationProgramSurround0X_0(0x01)
782 #define wroteDECChannelConfigurationProgramSurround0LhRh_0 wroteDECChannelConfigurationProgramSurround0X_0(0x04)
783 #define wroteDECChannelConfigurationProgramSurround0LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround0X_0(0x05)
784 #define wroteDECChannelConfigurationProgramSurround1X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0009,(n<<8)
785 #define wroteDECChannelConfigurationProgramSurround1LwRw_0 wroteDECChannelConfigurationProgramSurround1X_0(0x01)
786 #define wroteDECChannelConfigurationProgramSurround1LhRh_0 wroteDECChannelConfigurationProgramSurround1X_0(0x04)
787 #define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround1X_0(0x05)
788 #define wroteDECChannelConfigurationProgramSurround2X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000a,(n<<8)
789 #define wroteDECChannelConfigurationProgramSurround2LwRw_0 wroteDECChannelConfigurationProgramSurround2X_0(0x01)
790 #define wroteDECChannelConfigurationProgramSurround2LhRh_0 wroteDECChannelConfigurationProgramSurround2X_0(0x04)
791 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround2X_0(0x05)
792 #define wroteDECChannelConfigurationProgramSurround2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000a,((n<<8)|0x0001)
793 #define wroteDECChannelConfigurationProgramSurround2LwRwStereo_0 wroteDECChannelConfigurationProgramSurround2XStereo_0(0x01)
794 #define wroteDECChannelConfigurationProgramSurround2LhRhStereo_0 wroteDECChannelConfigurationProgramSurround2XStereo_0(0x04)
795 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_0 wroteDECChannelConfigurationProgramSurround2XStereo_0(0x05)
796 #define wroteDECChannelConfigurationProgramSurround2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000a,((n<<8)|0x0002)
797 #define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_0 wroteDECChannelConfigurationProgramSurround2XLtRt_0(0x01) 
798 #define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_0 wroteDECChannelConfigurationProgramSurround2XLtRt_0(0x04) 
799 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_0 wroteDECChannelConfigurationProgramSurround2XLtRt_0(0x05) 
800 #define wroteDECChannelConfigurationProgramSurround2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000a,((n<<8)|0x0003)
801 #define wroteDECChannelConfigurationProgramSurround2LwRwMono_0 wroteDECChannelConfigurationProgramSurround2XMono_0(0x01) 
802 #define wroteDECChannelConfigurationProgramSurround2LhRhMono_0 wroteDECChannelConfigurationProgramSurround2XMono_0(0x04)
803 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_0 wroteDECChannelConfigurationProgramSurround2XMono_0(0x05) 
804 #define wroteDECChannelConfigurationProgramSurround3X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000b,(n<<8)
805 #define wroteDECChannelConfigurationProgramSurround3LwRw_0 wroteDECChannelConfigurationProgramSurround3X_0(0x01)
806 #define wroteDECChannelConfigurationProgramSurround3LhRh_0 wroteDECChannelConfigurationProgramSurround3X_0(0x04)
807 #define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround3X_0(0x05)
808 #define wroteDECChannelConfigurationProgramSurround4X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000c,(n<<8)
809 #define wroteDECChannelConfigurationProgramSurround4LwRw_0 wroteDECChannelConfigurationProgramSurround4X_0(0x01)
810 #define wroteDECChannelConfigurationProgramSurround4LhRh_0 wroteDECChannelConfigurationProgramSurround4X_0(0x04)
811 #define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround4X_0(0x05)
813 // _1
814 #define wroteDECChannelConfigurationProgramNoneX_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0101,(n<<8)
815 #define wroteDECChannelConfigurationProgramNoneLwRw_1 wroteDECChannelConfigurationProgramNoneX_1(0x01)
816 #define wroteDECChannelConfigurationProgramNoneLhRh_1 wroteDECChannelConfigurationProgramNoneX_1(0x04)
817 #define wroteDECChannelConfigurationProgramNoneLwRwLhRh_1 wroteDECChannelConfigurationProgramNoneX_1(0x05)
818 #define wroteDECChannelConfigurationProgramMonoX_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0102,(n<<8)
819 #define wroteDECChannelConfigurationProgramMonoLwRw_1 wroteDECChannelConfigurationProgramMonoX_1(0x01)
820 #define wroteDECChannelConfigurationProgramMonoLhRh_1 wroteDECChannelConfigurationProgramMonoX_1(0x04)
821 #define wroteDECChannelConfigurationProgramMonoLwRwLhRh_1 wroteDECChannelConfigurationProgramMonoX_1(0x05)
822 #define wroteDECChannelConfigurationProgramPhantom0X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,(n<<8)
823 #define wroteDECChannelConfigurationProgramPhantom0LwRw_1 wroteDECChannelConfigurationProgramPhantom0X_1(0x01)
824 #define wroteDECChannelConfigurationProgramPhantom0LhRh_1 wroteDECChannelConfigurationProgramPhantom0X_1(0x04)
825 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom0X_1(0x05)
826 #define wroteDECChannelConfigurationProgramPhantom0XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,((n<<8)|0x0001)
827 #define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_1 wroteDECChannelConfigurationProgramPhantom0XStereo_1(0x01)
828 #define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_1 wroteDECChannelConfigurationProgramPhantom0XStereo_1(0x04) 
829 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_1 wroteDECChannelConfigurationProgramPhantom0XStereo_1(0x05) 
830 #define wroteDECChannelConfigurationProgramPhantom0XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,((n<<8)|0x0002)
831 #define wroteDECChannelConfigurationProgramPhantom0LwRwLtRt_1 wroteDECChannelConfigurationProgramPhantom0XLtRt_1(0x01)
832 #define wroteDECChannelConfigurationProgramPhantom0LhRhLtRt_1 wroteDECChannelConfigurationProgramPhantom0XLtRt_1(0x04)
833 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhLtRt_1 wroteDECChannelConfigurationProgramPhantom0XLtRt_1(0x05)
834 #define wroteDECChannelConfigurationProgramPhantom0XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,((n<<8)|0x0003)
835 #define wroteDECChannelConfigurationProgramPhantom0LwRwMono_1 wroteDECChannelConfigurationProgramPhantom0XMono_1(0x01)
836 #define wroteDECChannelConfigurationProgramPhantom0LhRhMono_1 wroteDECChannelConfigurationProgramPhantom0XMono_1(0x04)
837 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhMono_1 wroteDECChannelConfigurationProgramPhantom0XMono_1(0x05)
838 #define wroteDECChannelConfigurationProgramPhantom0XDual_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,((n<<8)|0x0004)
839 #define wroteDECChannelConfigurationProgramPhantom0LwRwDual_1 wroteDECChannelConfigurationProgramPhantom0XDual_1(0x01)
840 #define wroteDECChannelConfigurationProgramPhantom0LhRhDual_1 wroteDECChannelConfigurationProgramPhantom0XDual_1(0x04)
841 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_1 wroteDECChannelConfigurationProgramPhantom0XDual_1(0x05)
842 #define wroteDECChannelConfigurationProgramPhantom1X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0104,(n<<8)
843 #define wroteDECChannelConfigurationProgramPhantom1LwRw_1 wroteDECChannelConfigurationProgramPhantom1X_1(0x01)
844 #define wroteDECChannelConfigurationProgramPhantom1LhRh_1 wroteDECChannelConfigurationProgramPhantom1X_1(0x04)
845 #define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom1X_1(0x05)
846 #define wroteDECChannelConfigurationProgramPhantom2X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,(n<<8)
847 #define wroteDECChannelConfigurationProgramPhantom2LwRw_1 wroteDECChannelConfigurationProgramPhantom2X_1(0x01)
848 #define wroteDECChannelConfigurationProgramPhantom2LhRh_1 wroteDECChannelConfigurationProgramPhantom2X_1(0x04)
849 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom2X_1(0x05)
850 #define wroteDECChannelConfigurationProgramPhantom2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,((n<<8)|0x0001)
851 #define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_1 wroteDECChannelConfigurationProgramPhantom2XStereo_1(0x01) 
852 #define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_1 wroteDECChannelConfigurationProgramPhantom2XStereo_1(0x04) 
853 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_1 wroteDECChannelConfigurationProgramPhantom2XStereo_1(0x05) 
854 #define wroteDECChannelConfigurationProgramPhantom2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,((n<<8)|0x0002)
855 #define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_1 wroteDECChannelConfigurationProgramPhantom2XLtRt_1(0x01) 
856 #define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_1 wroteDECChannelConfigurationProgramPhantom2XLtRt_1(0x04) 
857 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_1 wroteDECChannelConfigurationProgramPhantom2XLtRt_1(0x05) 
858 #define wroteDECChannelConfigurationProgramPhantom2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,((n<<8)|0x0003)
859 #define wroteDECChannelConfigurationProgramPhantom2LwRwMono_1 wroteDECChannelConfigurationProgramPhantom2XMono_1(0x01) 
860 #define wroteDECChannelConfigurationProgramPhantom2LhRhMono_1 wroteDECChannelConfigurationProgramPhantom2XMono_1(0x04)
861 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_1 wroteDECChannelConfigurationProgramPhantom2XMono_1(0x05) 
862 #define wroteDECChannelConfigurationProgramPhantom3X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0106,(n<<8)
863 #define wroteDECChannelConfigurationProgramPhantom3LwRw_1 wroteDECChannelConfigurationProgramPhantom3X_1(0x01)
864 #define wroteDECChannelConfigurationProgramPhantom3LhRh_1 wroteDECChannelConfigurationProgramPhantom3X_1(0x04)
865 #define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom3X_1(0x05)
866 #define wroteDECChannelConfigurationProgramPhantom4X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0107,(n<<8)
867 #define wroteDECChannelConfigurationProgramPhantom4LwRw_1 wroteDECChannelConfigurationProgramPhantom4X_1(0x01)
868 #define wroteDECChannelConfigurationProgramPhantom4LhRh_1 wroteDECChannelConfigurationProgramPhantom4X_1(0x04)
869 #define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom4X_1(0x05)
870 #define wroteDECChannelConfigurationProgramSurround0X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0108,(n<<8)
871 #define wroteDECChannelConfigurationProgramSurround0LwRw_1 wroteDECChannelConfigurationProgramSurround0X_1(0x01)
872 #define wroteDECChannelConfigurationProgramSurround0LhRh_1 wroteDECChannelConfigurationProgramSurround0X_1(0x04)
873 #define wroteDECChannelConfigurationProgramSurround0LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround0X_1(0x05)
874 #define wroteDECChannelConfigurationProgramSurround1X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0109,(n<<8)
875 #define wroteDECChannelConfigurationProgramSurround1LwRw_1 wroteDECChannelConfigurationProgramSurround1X_1(0x01)
876 #define wroteDECChannelConfigurationProgramSurround1LhRh_1 wroteDECChannelConfigurationProgramSurround1X_1(0x04)
877 #define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround1X_1(0x05)
878 #define wroteDECChannelConfigurationProgramSurround2X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,(n<<8)
879 #define wroteDECChannelConfigurationProgramSurround2LwRw_1 wroteDECChannelConfigurationProgramSurround2X_1(0x01)
880 #define wroteDECChannelConfigurationProgramSurround2LhRh_1 wroteDECChannelConfigurationProgramSurround2X_1(0x04)
881 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround2X_1(0x05)
882 #define wroteDECChannelConfigurationProgramSurround2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,((n<<8)|0x0001)
883 #define wroteDECChannelConfigurationProgramSurround2LwRwStereo_1 wroteDECChannelConfigurationProgramSurround2XStereo_1(0x01)
884 #define wroteDECChannelConfigurationProgramSurround2LhRhStereo_1 wroteDECChannelConfigurationProgramSurround2XStereo_1(0x04)
885 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_1 wroteDECChannelConfigurationProgramSurround2XStereo_1(0x05)
886 #define wroteDECChannelConfigurationProgramSurround2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,((n<<8)|0x0002)
887 #define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_1 wroteDECChannelConfigurationProgramSurround2XLtRt_1(0x01) 
888 #define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_1 wroteDECChannelConfigurationProgramSurround2XLtRt_1(0x04) 
889 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_1 wroteDECChannelConfigurationProgramSurround2XLtRt_1(0x05) 
890 #define wroteDECChannelConfigurationProgramSurround2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,((n<<8)|0x0003)
891 #define wroteDECChannelConfigurationProgramSurround2LwRwMono_1 wroteDECChannelConfigurationProgramSurround2XMono_1(0x01) 
892 #define wroteDECChannelConfigurationProgramSurround2LhRhMono_1 wroteDECChannelConfigurationProgramSurround2XMono_1(0x04)
893 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_1 wroteDECChannelConfigurationProgramSurround2XMono_1(0x05) 
894 #define wroteDECChannelConfigurationProgramSurround3X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010b,(n<<8)
895 #define wroteDECChannelConfigurationProgramSurround3LwRw_1 wroteDECChannelConfigurationProgramSurround3X_1(0x01)
896 #define wroteDECChannelConfigurationProgramSurround3LhRh_1 wroteDECChannelConfigurationProgramSurround3X_1(0x04)
897 #define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround3X_1(0x05)
898 #define wroteDECChannelConfigurationProgramSurround4X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010c,(n<<8)
899 #define wroteDECChannelConfigurationProgramSurround4LwRw_1 wroteDECChannelConfigurationProgramSurround4X_1(0x01)
900 #define wroteDECChannelConfigurationProgramSurround4LhRh_1 wroteDECChannelConfigurationProgramSurround4X_1(0x04)
901 #define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround4X_1(0x05)
903 // _2
904 #define wroteDECChannelConfigurationProgramNoneX_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0201,(n<<8)
905 #define wroteDECChannelConfigurationProgramNoneLwRw_2 wroteDECChannelConfigurationProgramNoneX_2(0x01)
906 #define wroteDECChannelConfigurationProgramNoneLhRh_2 wroteDECChannelConfigurationProgramNoneX_2(0x04)
907 #define wroteDECChannelConfigurationProgramNoneLwRwLhRh_2 wroteDECChannelConfigurationProgramNoneX_2(0x05)
908 #define wroteDECChannelConfigurationProgramMonoX_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0202,(n<<8)
909 #define wroteDECChannelConfigurationProgramMonoLwRw_2 wroteDECChannelConfigurationProgramMonoX_2(0x01)
910 #define wroteDECChannelConfigurationProgramMonoLhRh_2 wroteDECChannelConfigurationProgramMonoX_2(0x04)
911 #define wroteDECChannelConfigurationProgramMonoLwRwLhRh_2 wroteDECChannelConfigurationProgramMonoX_2(0x05)
912 #define wroteDECChannelConfigurationProgramPhantom0X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,(n<<8)
913 #define wroteDECChannelConfigurationProgramPhantom0LwRw_2 wroteDECChannelConfigurationProgramPhantom0X_2(0x01)
914 #define wroteDECChannelConfigurationProgramPhantom0LhRh_2 wroteDECChannelConfigurationProgramPhantom0X_2(0x04)
915 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom0X_2(0x05)
916 #define wroteDECChannelConfigurationProgramPhantom0XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,((n<<8)|0x0001)
917 #define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_2 wroteDECChannelConfigurationProgramPhantom0XStereo_2(0x01)
918 #define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_2 wroteDECChannelConfigurationProgramPhantom0XStereo_2(0x04) 
919 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_2 wroteDECChannelConfigurationProgramPhantom0XStereo_2(0x05) 
920 #define wroteDECChannelConfigurationProgramPhantom0XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,((n<<8)|0x0002)
921 #define wroteDECChannelConfigurationProgramPhantom0LwRwLtRt_2 wroteDECChannelConfigurationProgramPhantom0XLtRt_2(0x01)
922 #define wroteDECChannelConfigurationProgramPhantom0LhRhLtRt_2 wroteDECChannelConfigurationProgramPhantom0XLtRt_2(0x04)
923 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhLtRt_2 wroteDECChannelConfigurationProgramPhantom0XLtRt_2(0x05)
924 #define wroteDECChannelConfigurationProgramPhantom0XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,((n<<8)|0x0003)
925 #define wroteDECChannelConfigurationProgramPhantom0LwRwMono_2 wroteDECChannelConfigurationProgramPhantom0XMono_2(0x01)
926 #define wroteDECChannelConfigurationProgramPhantom0LhRhMono_2 wroteDECChannelConfigurationProgramPhantom0XMono_2(0x04)
927 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhMono_2 wroteDECChannelConfigurationProgramPhantom0XMono_2(0x05)
928 #define wroteDECChannelConfigurationProgramPhantom0XDual_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,((n<<8)|0x0004)
929 #define wroteDECChannelConfigurationProgramPhantom0LwRwDual_2 wroteDECChannelConfigurationProgramPhantom0XDual_2(0x01)
930 #define wroteDECChannelConfigurationProgramPhantom0LhRhDual_2 wroteDECChannelConfigurationProgramPhantom0XDual_2(0x04)
931 #define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_2 wroteDECChannelConfigurationProgramPhantom0XDual_2(0x05)
932 #define wroteDECChannelConfigurationProgramPhantom1X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0204,(n<<8)
933 #define wroteDECChannelConfigurationProgramPhantom1LwRw_2 wroteDECChannelConfigurationProgramPhantom1X_2(0x01)
934 #define wroteDECChannelConfigurationProgramPhantom1LhRh_2 wroteDECChannelConfigurationProgramPhantom1X_2(0x04)
935 #define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom1X_2(0x05)
936 #define wroteDECChannelConfigurationProgramPhantom2X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0205,(n<<8)
937 #define wroteDECChannelConfigurationProgramPhantom2LwRw_2 wroteDECChannelConfigurationProgramPhantom2X_2(0x01)
938 #define wroteDECChannelConfigurationProgramPhantom2LhRh_2 wroteDECChannelConfigurationProgramPhantom2X_2(0x04)
939 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom2X_2(0x05)
940 #define wroteDECChannelConfigurationProgramPhantom2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0205,((n<<8)|0x0001)
941 #define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_2 wroteDECChannelConfigurationProgramPhantom2XStereo_2(0x01) 
942 #define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_2 wroteDECChannelConfigurationProgramPhantom2XStereo_2(0x04) 
943 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_2 wroteDECChannelConfigurationProgramPhantom2XStereo_2(0x05) 
944 #define wroteDECChannelConfigurationProgramPhantom2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0205,((n<<8)|0x0002)
945 #define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_2 wroteDECChannelConfigurationProgramPhantom2XLtRt_2(0x01) 
946 #define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_2 wroteDECChannelConfigurationProgramPhantom2XLtRt_2(0x04) 
947 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_2 wroteDECChannelConfigurationProgramPhantom2XLtRt_2(0x05) 
948 #define wroteDECChannelConfigurationProgramPhantom2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0205,((n<<8)|0x0003)
949 #define wroteDECChannelConfigurationProgramPhantom2LwRwMono_2 wroteDECChannelConfigurationProgramPhantom2XMono_2(0x01) 
950 #define wroteDECChannelConfigurationProgramPhantom2LhRhMono_2 wroteDECChannelConfigurationProgramPhantom2XMono_2(0x04)
951 #define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_2 wroteDECChannelConfigurationProgramPhantom2XMono_2(0x05) 
952 #define wroteDECChannelConfigurationProgramPhantom3X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0206,(n<<8)
953 #define wroteDECChannelConfigurationProgramPhantom3LwRw_2 wroteDECChannelConfigurationProgramPhantom3X_2(0x01)
954 #define wroteDECChannelConfigurationProgramPhantom3LhRh_2 wroteDECChannelConfigurationProgramPhantom3X_2(0x04)
955 #define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom3X_2(0x05)
956 #define wroteDECChannelConfigurationProgramPhantom4X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0207,(n<<8)
957 #define wroteDECChannelConfigurationProgramPhantom4LwRw_2 wroteDECChannelConfigurationProgramPhantom4X_2(0x01)
958 #define wroteDECChannelConfigurationProgramPhantom4LhRh_2 wroteDECChannelConfigurationProgramPhantom4X_2(0x04)
959 #define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom4X_2(0x05)
960 #define wroteDECChannelConfigurationProgramSurround0X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0208,(n<<8)
961 #define wroteDECChannelConfigurationProgramSurround0LwRw_2 wroteDECChannelConfigurationProgramSurround0X_2(0x01)
962 #define wroteDECChannelConfigurationProgramSurround0LhRh_2 wroteDECChannelConfigurationProgramSurround0X_2(0x04)
963 #define wroteDECChannelConfigurationProgramSurround0LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround0X_2(0x05)
964 #define wroteDECChannelConfigurationProgramSurround1X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0209,(n<<8)
965 #define wroteDECChannelConfigurationProgramSurround1LwRw_2 wroteDECChannelConfigurationProgramSurround1X_2(0x01)
966 #define wroteDECChannelConfigurationProgramSurround1LhRh_2 wroteDECChannelConfigurationProgramSurround1X_2(0x04)
967 #define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround1X_2(0x05)
968 #define wroteDECChannelConfigurationProgramSurround2X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020a,(n<<8)
969 #define wroteDECChannelConfigurationProgramSurround2LwRw_2 wroteDECChannelConfigurationProgramSurround2X_2(0x01)
970 #define wroteDECChannelConfigurationProgramSurround2LhRh_2 wroteDECChannelConfigurationProgramSurround2X_2(0x04)
971 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround2X_2(0x05)
972 #define wroteDECChannelConfigurationProgramSurround2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020a,((n<<8)|0x0001)
973 #define wroteDECChannelConfigurationProgramSurround2LwRwStereo_2 wroteDECChannelConfigurationProgramSurround2XStereo_2(0x01)
974 #define wroteDECChannelConfigurationProgramSurround2LhRhStereo_2 wroteDECChannelConfigurationProgramSurround2XStereo_2(0x04)
975 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_2 wroteDECChannelConfigurationProgramSurround2XStereo_2(0x05)
976 #define wroteDECChannelConfigurationProgramSurround2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020a,((n<<8)|0x0002)
977 #define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_2 wroteDECChannelConfigurationProgramSurround2XLtRt_2(0x01) 
978 #define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_2 wroteDECChannelConfigurationProgramSurround2XLtRt_2(0x04) 
979 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_2 wroteDECChannelConfigurationProgramSurround2XLtRt_2(0x05) 
980 #define wroteDECChannelConfigurationProgramSurround2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020a,((n<<8)|0x0003)
981 #define wroteDECChannelConfigurationProgramSurround2LwRwMono_2 wroteDECChannelConfigurationProgramSurround2XMono_2(0x01) 
982 #define wroteDECChannelConfigurationProgramSurround2LhRhMono_2 wroteDECChannelConfigurationProgramSurround2XMono_2(0x04)
983 #define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_2 wroteDECChannelConfigurationProgramSurround2XMono_2(0x05) 
984 #define wroteDECChannelConfigurationProgramSurround3X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020b,(n<<8)
985 #define wroteDECChannelConfigurationProgramSurround3LwRw_2 wroteDECChannelConfigurationProgramSurround3X_2(0x01)
986 #define wroteDECChannelConfigurationProgramSurround3LhRh_2 wroteDECChannelConfigurationProgramSurround3X_2(0x04)
987 #define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround3X_2(0x05)
988 #define wroteDECChannelConfigurationProgramSurround4X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020c,(n<<8)
989 #define wroteDECChannelConfigurationProgramSurround4LwRw_2 wroteDECChannelConfigurationProgramSurround4X_2(0x01)
990 #define wroteDECChannelConfigurationProgramSurround4LhRh_2 wroteDECChannelConfigurationProgramSurround4X_2(0x04)
991 #define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround4X_2(0x05)
993 #define wroteDECChannelConfigurationProgramHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0040,LL,HH
995 #define  readDECChannelConfigurationProgramExtChan         0xc200+STD_BETA_DECODE,0x4300
996 #define  readDECChannelConfigurationProgramExtMask         readDECChannelConfigurationProgramExtChan
997 #define wroteDECChannelConfigurationProgramExtChanNone     0xca00+STD_BETA_DECODE,0x4300
998 #define wroteDECChannelConfigurationProgramExtChanLhRh     0xca00+STD_BETA_DECODE,(0x4304) // PAF_CC_EXTMASK_LhRh
999 #define wroteDECChannelConfigurationProgramExtChanLwRw     0xca00+STD_BETA_DECODE,(0x4301) // PAF_CC_EXTMASK_LwRw
1000 #define wroteDECChannelConfigurationProgramExtChanLwRwLhRh 0xca00+STD_BETA_DECODE, \
1001                                                            (0x4305) // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
1003 #define wroteDECChannelConfigurationProgramAuxUnknown 0xca00+STD_BETA_DECODE,0x4200
1004 #define wroteDECChannelConfigurationProgramAuxStereo 0xca00+STD_BETA_DECODE,0x4201
1005 #define wroteDECChannelConfigurationProgramAuxLtRt 0xca00+STD_BETA_DECODE,0x4202
1006 #define wroteDECChannelConfigurationProgramAuxMono 0xca00+STD_BETA_DECODE,0x4203
1007 #define wroteDECChannelConfigurationProgramAuxDual 0xca00+STD_BETA_DECODE,0x4204
1009 //ATMOS
1010 #define wroteDECChannelConfigurationProgramSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4008,0x000a,0x0003,(n<<8),0x0000
1011 #define wroteDECChannelConfigurationProgramSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4008,0x010a,0x0003,(n<<8),0x0000
1012 #define wroteDECChannelConfigurationProgramSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4008,0x020a,0x0003,(n<<8),0x0000
1014 #define wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4008,0x000a,0x0103,(n<<8),0x0000
1015 #define wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4008,0x010a,0x0103,(n<<8),0x0000
1016 #define wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4008,0x020a,0x0103,(n<<8),0x0000
1018 #define wroteDECChannelConfigurationProgramSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4008,0x000c,0x0003,(n<<8),0x0000
1019 #define wroteDECChannelConfigurationProgramSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4008,0x010c,0x0003,(n<<8),0x0000
1020 #define wroteDECChannelConfigurationProgramSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4008,0x020c,0x0003,(n<<8),0x0000
1022 #define wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4008,0x000c,0x0103,(n<<8),0x0000
1023 #define wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4008,0x010c,0x0103,(n<<8),0x0000
1024 #define wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4008,0x020c,0x0103,(n<<8),0x0000
1026 #define wroteDECChannelConfigurationProgramSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationProgramSurround2ATMOSMono_0(0xA)
1027 #define wroteDECChannelConfigurationProgramSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationProgramSurround2ATMOSMono_1(0xA)
1028 #define wroteDECChannelConfigurationProgramSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationProgramSurround2ATMOSMono_2(0xA)
1030 #define wroteDECChannelConfigurationProgramSurround4LtmRtm_0 wroteDECChannelConfigurationProgramSurround4ATMOSMono_0(0x4)
1031 #define wroteDECChannelConfigurationProgramSurround4LtmRtm_1 wroteDECChannelConfigurationProgramSurround4ATMOSMono_1(0x4)
1032 #define wroteDECChannelConfigurationProgramSurround4LtmRtm_2 wroteDECChannelConfigurationProgramSurround4ATMOSMono_2(0x4)
1034 #define wroteDECChannelConfigurationProgramSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_0(0xA)
1035 #define wroteDECChannelConfigurationProgramSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_1(0xA)
1036 #define wroteDECChannelConfigurationProgramSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_2(0xA)
1038 #define wroteDECChannelConfigurationProgramSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationProgramSurround4ATMOSMono_0(0xA)
1039 #define wroteDECChannelConfigurationProgramSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationProgramSurround4ATMOSMono_1(0xA)
1040 #define wroteDECChannelConfigurationProgramSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationProgramSurround4ATMOSMono_2(0xA)
1042 #define wroteDECChannelConfigurationProgramSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_0(0xA)
1043 #define wroteDECChannelConfigurationProgramSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_1(0xA)
1044 #define wroteDECChannelConfigurationProgramSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_2(0xA)
1046 #define readDECChannelConfigurationProgramATMOSChan         0xc200+STD_BETA_DECODE,0x4500
1047 #define readDECChannelConfigurationProgramATMOSMask         readDECChannelConfigurationProgramATMOSChan
1048 #define wroteDECChannelConfigurationProgramATMOSChanNone     0xca00+STD_BETA_DECODE,0x4500
1049 #define wroteDECChannelConfigurationProgramATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x4511)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
1050 #define wroteDECChannelConfigurationProgramATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x450a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
1051 #define wroteDECChannelConfigurationProgramATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x4504)//PAF_CC_EXTMASK_LtmRtm
1053 //-------------------------------------------------------------------------------------------------------------
1055 #define wroteDECChannelConfigurationDecodeUnknown 0xcc00+STD_BETA_DECODE,0x0048,0x0000,0x0000
1057 #define wroteDECChannelConfigurationDecodeNone 0xcc00+STD_BETA_DECODE,0x0048,0x0001,0x0000
1058 #define wroteDECChannelConfigurationDecodeMono 0xcc00+STD_BETA_DECODE,0x0048,0x0002,0x0000
1059 #define wroteDECChannelConfigurationDecodeStereo 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0000
1060 #define wroteDECChannelConfigurationDecodeStereoLtRt 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0002
1061 #define wroteDECChannelConfigurationDecodeStereoMono 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0003
1062 #define wroteDECChannelConfigurationDecode3Stereo 0xcc00+STD_BETA_DECODE,0x0048,0x0108,0x0000
1063 #define wroteDECChannelConfigurationDecodePhantom 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0000
1064 #define wroteDECChannelConfigurationDecodeSurround 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0000
1066 #define wroteDECChannelConfigurationDecodeNone_0 0xcc00+STD_BETA_DECODE,0x0048,0x0001,0x0000
1067 #define wroteDECChannelConfigurationDecodeMono_0 0xcc00+STD_BETA_DECODE,0x0048,0x0002,0x0000
1068 #define wroteDECChannelConfigurationDecodePhantom0_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0000
1069 #define wroteDECChannelConfigurationDecodePhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0001
1070 #define wroteDECChannelConfigurationDecodePhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0002
1071 #define wroteDECChannelConfigurationDecodePhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0003
1072 #define wroteDECChannelConfigurationDecodePhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0004
1073 #define wroteDECChannelConfigurationDecodePhantom1_0 0xcc00+STD_BETA_DECODE,0x0048,0x0004,0x0000
1074 #define wroteDECChannelConfigurationDecodePhantom2_0 0xcc00+STD_BETA_DECODE,0x0048,0x0005,0x0000
1075 #define wroteDECChannelConfigurationDecodePhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0048,0x0005,0x0001
1076 #define wroteDECChannelConfigurationDecodePhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0048,0x0005,0x0002
1077 #define wroteDECChannelConfigurationDecodePhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0048,0x0005,0x0003
1078 #define wroteDECChannelConfigurationDecodePhantom3_0 0xcc00+STD_BETA_DECODE,0x0048,0x0006,0x0000
1079 #define wroteDECChannelConfigurationDecodePhantom4_0 0xcc00+STD_BETA_DECODE,0x0048,0x0007,0x0000
1080 #define wroteDECChannelConfigurationDecodeSurround0_0 0xcc00+STD_BETA_DECODE,0x0048,0x0008,0x0000
1081 #define wroteDECChannelConfigurationDecodeSurround1_0 0xcc00+STD_BETA_DECODE,0x0048,0x0009,0x0000
1082 #define wroteDECChannelConfigurationDecodeSurround2_0 0xcc00+STD_BETA_DECODE,0x0048,0x000a,0x0000
1083 #define wroteDECChannelConfigurationDecodeSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0048,0x000a,0x0001
1084 #define wroteDECChannelConfigurationDecodeSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0048,0x000a,0x0002
1085 #define wroteDECChannelConfigurationDecodeSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0048,0x000a,0x0003
1086 #define wroteDECChannelConfigurationDecodeSurround3_0 0xcc00+STD_BETA_DECODE,0x0048,0x000b,0x0000
1087 #define wroteDECChannelConfigurationDecodeSurround4_0 0xcc00+STD_BETA_DECODE,0x0048,0x000c,0x0000
1089 #define wroteDECChannelConfigurationDecodeNone_1 0xcc00+STD_BETA_DECODE,0x0048,0x0101,0x0000
1090 #define wroteDECChannelConfigurationDecodeMono_1 0xcc00+STD_BETA_DECODE,0x0048,0x0102,0x0000
1091 #define wroteDECChannelConfigurationDecodePhantom0_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0000
1092 #define wroteDECChannelConfigurationDecodePhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0001
1093 #define wroteDECChannelConfigurationDecodePhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0002
1094 #define wroteDECChannelConfigurationDecodePhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0003
1095 #define wroteDECChannelConfigurationDecodePhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0004
1096 #define wroteDECChannelConfigurationDecodePhantom1_1 0xcc00+STD_BETA_DECODE,0x0048,0x0104,0x0000
1097 #define wroteDECChannelConfigurationDecodePhantom2_1 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0000
1098 #define wroteDECChannelConfigurationDecodePhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0001
1099 #define wroteDECChannelConfigurationDecodePhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0002
1100 #define wroteDECChannelConfigurationDecodePhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0003
1101 #define wroteDECChannelConfigurationDecodePhantom3_1 0xcc00+STD_BETA_DECODE,0x0048,0x0106,0x0000
1102 #define wroteDECChannelConfigurationDecodePhantom4_1 0xcc00+STD_BETA_DECODE,0x0048,0x0107,0x0000
1103 #define wroteDECChannelConfigurationDecodeSurround0_1 0xcc00+STD_BETA_DECODE,0x0048,0x0108,0x0000
1104 #define wroteDECChannelConfigurationDecodeSurround1_1 0xcc00+STD_BETA_DECODE,0x0048,0x0109,0x0000
1105 #define wroteDECChannelConfigurationDecodeSurround2_1 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0000
1106 #define wroteDECChannelConfigurationDecodeSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0001
1107 #define wroteDECChannelConfigurationDecodeSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0002
1108 #define wroteDECChannelConfigurationDecodeSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0003
1109 #define wroteDECChannelConfigurationDecodeSurround3_1 0xcc00+STD_BETA_DECODE,0x0048,0x010b,0x0000
1110 #define wroteDECChannelConfigurationDecodeSurround4_1 0xcc00+STD_BETA_DECODE,0x0048,0x010c,0x0000
1112 // Extended channel configuration requests
1113 #define wroteDECChannelConfigurationDecodeNoneX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0001,(n<<8)
1114 #define wroteDECChannelConfigurationDecodeNoneLwRw wroteDECChannelConfigurationDecodeNoneX(0x01)
1115 #define wroteDECChannelConfigurationDecodeNoneLhRh wroteDECChannelConfigurationDecodeNoneX(0x04)
1116 #define wroteDECChannelConfigurationDecodeNoneLwRwLhRh wroteDECChannelConfigurationDecodeNoneX(0x05)
1117 #define wroteDECChannelConfigurationDecodeMonoX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0002,(n<<8)
1118 #define wroteDECChannelConfigurationDecodeMonoLwRw wroteDECChannelConfigurationDecodeMonoX(0x01)
1119 #define wroteDECChannelConfigurationDecodeMonoLhRh wroteDECChannelConfigurationDecodeMonoX(0x04)
1120 #define wroteDECChannelConfigurationDecodeMonoLwRwLhRh wroteDECChannelConfigurationDecodeMonoX(0x05)
1121 #define wroteDECChannelConfigurationDecodeStereoX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,(n<<8)
1122 #define wroteDECChannelConfigurationDecodeStereoLwRw wroteDECChannelConfigurationDecodeStereoX(0x01)
1123 #define wroteDECChannelConfigurationDecodeStereoLhRh wroteDECChannelConfigurationDecodeStereoX(0x04)
1124 #define wroteDECChannelConfigurationDecodeStereoLwRwLhRh wroteDECChannelConfigurationDecodeStereoX(0x05)
1125 #define wroteDECChannelConfigurationDecodeStereoXLtRt(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0002)
1126 #define wroteDECChannelConfigurationDecodeStereoLwRwLtRt wroteDECChannelConfigurationDecodeStereoXLtRt(0x01)
1127 #define wroteDECChannelConfigurationDecodeStereoLhRhLtRt wroteDECChannelConfigurationDecodeStereoXLtRt(0x04)
1128 #define wroteDECChannelConfigurationDecodeStereoLwRwLhRhLtRt wroteDECChannelConfigurationDecodeStereoXLtRt(0x05)
1129 #define wroteDECChannelConfigurationDecodeStereoXMono(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0003)
1130 #define wroteDECChannelConfigurationDecodeStereoLwRwMono wroteDECChannelConfigurationDecodeStereoXMono(0x01)
1131 #define wroteDECChannelConfigurationDecodeStereoLhRhMono wroteDECChannelConfigurationDecodeStereoXMono(0x04)
1132 #define wroteDECChannelConfigurationDecodeStereoLwRwLhRhMono wroteDECChannelConfigurationDecodeStereoXMono(0x05)
1133 #define wroteDECChannelConfigurationDecode3StereoX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0108,(n<<8)
1134 #define wroteDECChannelConfigurationDecode3StereoLwRw wroteDECChannelConfigurationDecode3StereoX(0x01)
1135 #define wroteDECChannelConfigurationDecode3StereoLhRh wroteDECChannelConfigurationDecode3StereoX(0x04)
1136 #define wroteDECChannelConfigurationDecode3StereoLwRwLhRh wroteDECChannelConfigurationDecode3StereoX(0x05)
1137 #define wroteDECChannelConfigurationDecodePhantomX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,(n<<8)
1138 #define wroteDECChannelConfigurationDecodePhantomLwRw wroteDECChannelConfigurationDecodePhantomX(0x01)
1139 #define wroteDECChannelConfigurationDecodePhantomLhRh wroteDECChannelConfigurationDecodePhantomX(0x04)
1140 #define wroteDECChannelConfigurationDecodePhantomLwRwLhRh wroteDECChannelConfigurationDecodePhantomX(0x05)
1141 #define wroteDECChannelConfigurationDecodeSurroundX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,(n<<8)
1142 #define wroteDECChannelConfigurationDecodeSurroundLwRw wroteDECChannelConfigurationDecodeSurroundX(0x01)
1143 #define wroteDECChannelConfigurationDecodeSurroundLhRh wroteDECChannelConfigurationDecodeSurroundX(0x04)
1144 #define wroteDECChannelConfigurationDecodeSurroundLwRwLhRh wroteDECChannelConfigurationDecodeSurroundX(0x05)
1146 // _0
1147 #define wroteDECChannelConfigurationDecodeNoneX_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0001,(n<<8)
1148 #define wroteDECChannelConfigurationDecodeNoneLwRw_0 wroteDECChannelConfigurationDecodeNoneX_0(0x01)
1149 #define wroteDECChannelConfigurationDecodeNoneLhRh_0 wroteDECChannelConfigurationDecodeNoneX_0(0x04)
1150 #define wroteDECChannelConfigurationDecodeNoneLwRwLhRh_0 wroteDECChannelConfigurationDecodeNoneX_0(0x05)
1151 #define wroteDECChannelConfigurationDecodeMonoX_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0002,(n<<8)
1152 #define wroteDECChannelConfigurationDecodeMonoLwRw_0 wroteDECChannelConfigurationDecodeMonoX_0(0x01)
1153 #define wroteDECChannelConfigurationDecodeMonoLhRh_0 wroteDECChannelConfigurationDecodeMonoX_0(0x04)
1154 #define wroteDECChannelConfigurationDecodeMonoLwRwLhRh_0 wroteDECChannelConfigurationDecodeMonoX_0(0x05)
1155 #define wroteDECChannelConfigurationDecodePhantom0X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,(n<<8)
1156 #define wroteDECChannelConfigurationDecodePhantom0LwRw_0 wroteDECChannelConfigurationDecodePhantom0X_0(0x01)
1157 #define wroteDECChannelConfigurationDecodePhantom0LhRh_0 wroteDECChannelConfigurationDecodePhantom0X_0(0x04)
1158 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom0X_0(0x05)
1159 #define wroteDECChannelConfigurationDecodePhantom0XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0001)
1160 #define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_0 wroteDECChannelConfigurationDecodePhantom0XStereo_0(0x01)
1161 #define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_0 wroteDECChannelConfigurationDecodePhantom0XStereo_0(0x04) 
1162 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_0 wroteDECChannelConfigurationDecodePhantom0XStereo_0(0x05) 
1163 #define wroteDECChannelConfigurationDecodePhantom0XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0002)
1164 #define wroteDECChannelConfigurationDecodePhantom0LwRwLtRt_0 wroteDECChannelConfigurationDecodePhantom0XLtRt_0(0x01)
1165 #define wroteDECChannelConfigurationDecodePhantom0LhRhLtRt_0 wroteDECChannelConfigurationDecodePhantom0XLtRt_0(0x04)
1166 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhLtRt_0 wroteDECChannelConfigurationDecodePhantom0XLtRt_0(0x05)
1167 #define wroteDECChannelConfigurationDecodePhantom0XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0003)
1168 #define wroteDECChannelConfigurationDecodePhantom0LwRwMono_0 wroteDECChannelConfigurationDecodePhantom0XMono_0(0x01)
1169 #define wroteDECChannelConfigurationDecodePhantom0LhRhMono_0 wroteDECChannelConfigurationDecodePhantom0XMono_0(0x04)
1170 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhMono_0 wroteDECChannelConfigurationDecodePhantom0XMono_0(0x05)
1171 #define wroteDECChannelConfigurationDecodePhantom0XDual_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0004)
1172 #define wroteDECChannelConfigurationDecodePhantom0LwRwDual_0 wroteDECChannelConfigurationDecodePhantom0XDual_0(0x01)
1173 #define wroteDECChannelConfigurationDecodePhantom0LhRhDual_0 wroteDECChannelConfigurationDecodePhantom0XDual_0(0x04)
1174 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_0 wroteDECChannelConfigurationDecodePhantom0XDual_0(0x05)
1175 #define wroteDECChannelConfigurationDecodePhantom1X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0004,(n<<8)
1176 #define wroteDECChannelConfigurationDecodePhantom1LwRw_0 wroteDECChannelConfigurationDecodePhantom1X_0(0x01)
1177 #define wroteDECChannelConfigurationDecodePhantom1LhRh_0 wroteDECChannelConfigurationDecodePhantom1X_0(0x04)
1178 #define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom1X_0(0x05)
1179 #define wroteDECChannelConfigurationDecodePhantom2X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0005,(n<<8)
1180 #define wroteDECChannelConfigurationDecodePhantom2LwRw_0 wroteDECChannelConfigurationDecodePhantom2X_0(0x01)
1181 #define wroteDECChannelConfigurationDecodePhantom2LhRh_0 wroteDECChannelConfigurationDecodePhantom2X_0(0x04)
1182 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom2X_0(0x05)
1183 #define wroteDECChannelConfigurationDecodePhantom2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0005,((n<<8)|0x0001)
1184 #define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_0 wroteDECChannelConfigurationDecodePhantom2XStereo_0(0x01) 
1185 #define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_0 wroteDECChannelConfigurationDecodePhantom2XStereo_0(0x04) 
1186 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_0 wroteDECChannelConfigurationDecodePhantom2XStereo_0(0x05) 
1187 #define wroteDECChannelConfigurationDecodePhantom2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0005,((n<<8)|0x0002)
1188 #define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_0 wroteDECChannelConfigurationDecodePhantom2XLtRt_0(0x01) 
1189 #define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_0 wroteDECChannelConfigurationDecodePhantom2XLtRt_0(0x04) 
1190 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_0 wroteDECChannelConfigurationDecodePhantom2XLtRt_0(0x05) 
1191 #define wroteDECChannelConfigurationDecodePhantom2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0005,((n<<8)|0x0003)
1192 #define wroteDECChannelConfigurationDecodePhantom2LwRwMono_0 wroteDECChannelConfigurationDecodePhantom2XMono_0(0x01) 
1193 #define wroteDECChannelConfigurationDecodePhantom2LhRhMono_0 wroteDECChannelConfigurationDecodePhantom2XMono_0(0x04)
1194 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_0 wroteDECChannelConfigurationDecodePhantom2XMono_0(0x05) 
1195 #define wroteDECChannelConfigurationDecodePhantom3X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0006,(n<<8)
1196 #define wroteDECChannelConfigurationDecodePhantom3LwRw_0 wroteDECChannelConfigurationDecodePhantom3X_0(0x01)
1197 #define wroteDECChannelConfigurationDecodePhantom3LhRh_0 wroteDECChannelConfigurationDecodePhantom3X_0(0x04)
1198 #define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom3X_0(0x05)
1199 #define wroteDECChannelConfigurationDecodePhantom4X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0007,(n<<8)
1200 #define wroteDECChannelConfigurationDecodePhantom4LwRw_0 wroteDECChannelConfigurationDecodePhantom4X_0(0x01)
1201 #define wroteDECChannelConfigurationDecodePhantom4LhRh_0 wroteDECChannelConfigurationDecodePhantom4X_0(0x04)
1202 #define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom4X_0(0x05)
1203 #define wroteDECChannelConfigurationDecodeSurround0X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0008,(n<<8)
1204 #define wroteDECChannelConfigurationDecodeSurround0LwRw_0 wroteDECChannelConfigurationDecodeSurround0X_0(0x01)
1205 #define wroteDECChannelConfigurationDecodeSurround0LhRh_0 wroteDECChannelConfigurationDecodeSurround0X_0(0x04)
1206 #define wroteDECChannelConfigurationDecodeSurround0LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround0X_0(0x05)
1207 #define wroteDECChannelConfigurationDecodeSurround1X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0009,(n<<8)
1208 #define wroteDECChannelConfigurationDecodeSurround1LwRw_0 wroteDECChannelConfigurationDecodeSurround1X_0(0x01)
1209 #define wroteDECChannelConfigurationDecodeSurround1LhRh_0 wroteDECChannelConfigurationDecodeSurround1X_0(0x04)
1210 #define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround1X_0(0x05)
1211 #define wroteDECChannelConfigurationDecodeSurround2X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000a,(n<<8)
1212 #define wroteDECChannelConfigurationDecodeSurround2LwRw_0 wroteDECChannelConfigurationDecodeSurround2X_0(0x01)
1213 #define wroteDECChannelConfigurationDecodeSurround2LhRh_0 wroteDECChannelConfigurationDecodeSurround2X_0(0x04)
1214 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround2X_0(0x05)
1215 #define wroteDECChannelConfigurationDecodeSurround2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000a,((n<<8)|0x0001)
1216 #define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_0 wroteDECChannelConfigurationDecodeSurround2XStereo_0(0x01)
1217 #define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_0 wroteDECChannelConfigurationDecodeSurround2XStereo_0(0x04)
1218 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_0 wroteDECChannelConfigurationDecodeSurround2XStereo_0(0x05)
1219 #define wroteDECChannelConfigurationDecodeSurround2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000a,((n<<8)|0x0002)
1220 #define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_0 wroteDECChannelConfigurationDecodeSurround2XLtRt_0(0x01) 
1221 #define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_0 wroteDECChannelConfigurationDecodeSurround2XLtRt_0(0x04) 
1222 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_0 wroteDECChannelConfigurationDecodeSurround2XLtRt_0(0x05) 
1223 #define wroteDECChannelConfigurationDecodeSurround2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000a,((n<<8)|0x0003)
1224 #define wroteDECChannelConfigurationDecodeSurround2LwRwMono_0 wroteDECChannelConfigurationDecodeSurround2XMono_0(0x01) 
1225 #define wroteDECChannelConfigurationDecodeSurround2LhRhMono_0 wroteDECChannelConfigurationDecodeSurround2XMono_0(0x04)
1226 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_0 wroteDECChannelConfigurationDecodeSurround2XMono_0(0x05) 
1227 #define wroteDECChannelConfigurationDecodeSurround3X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000b,(n<<8)
1228 #define wroteDECChannelConfigurationDecodeSurround3LwRw_0 wroteDECChannelConfigurationDecodeSurround3X_0(0x01)
1229 #define wroteDECChannelConfigurationDecodeSurround3LhRh_0 wroteDECChannelConfigurationDecodeSurround3X_0(0x04)
1230 #define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround3X_0(0x05)
1231 #define wroteDECChannelConfigurationDecodeSurround4X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000c,(n<<8)
1232 #define wroteDECChannelConfigurationDecodeSurround4LwRw_0 wroteDECChannelConfigurationDecodeSurround4X_0(0x01)
1233 #define wroteDECChannelConfigurationDecodeSurround4LhRh_0 wroteDECChannelConfigurationDecodeSurround4X_0(0x04)
1234 #define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround4X_0(0x05)
1236 // _1
1237 #define wroteDECChannelConfigurationDecodeNoneX_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0101,(n<<8)
1238 #define wroteDECChannelConfigurationDecodeNoneLwRw_1 wroteDECChannelConfigurationDecodeNoneX_1(0x01)
1239 #define wroteDECChannelConfigurationDecodeNoneLhRh_1 wroteDECChannelConfigurationDecodeNoneX_1(0x04)
1240 #define wroteDECChannelConfigurationDecodeNoneLwRwLhRh_1 wroteDECChannelConfigurationDecodeNoneX_1(0x05)
1241 #define wroteDECChannelConfigurationDecodeMonoX_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0102,(n<<8)
1242 #define wroteDECChannelConfigurationDecodeMonoLwRw_1 wroteDECChannelConfigurationDecodeMonoX_1(0x01)
1243 #define wroteDECChannelConfigurationDecodeMonoLhRh_1 wroteDECChannelConfigurationDecodeMonoX_1(0x04)
1244 #define wroteDECChannelConfigurationDecodeMonoLwRwLhRh_1 wroteDECChannelConfigurationDecodeMonoX_1(0x05)
1245 #define wroteDECChannelConfigurationDecodePhantom0X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,(n<<8)
1246 #define wroteDECChannelConfigurationDecodePhantom0LwRw_1 wroteDECChannelConfigurationDecodePhantom0X_1(0x01)
1247 #define wroteDECChannelConfigurationDecodePhantom0LhRh_1 wroteDECChannelConfigurationDecodePhantom0X_1(0x04)
1248 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom0X_1(0x05)
1249 #define wroteDECChannelConfigurationDecodePhantom0XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,((n<<8)|0x0001)
1250 #define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_1 wroteDECChannelConfigurationDecodePhantom0XStereo_1(0x01)
1251 #define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_1 wroteDECChannelConfigurationDecodePhantom0XStereo_1(0x04) 
1252 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_1 wroteDECChannelConfigurationDecodePhantom0XStereo_1(0x05) 
1253 #define wroteDECChannelConfigurationDecodePhantom0XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,((n<<8)|0x0002)
1254 #define wroteDECChannelConfigurationDecodePhantom0LwRwLtRt_1 wroteDECChannelConfigurationDecodePhantom0XLtRt_1(0x01)
1255 #define wroteDECChannelConfigurationDecodePhantom0LhRhLtRt_1 wroteDECChannelConfigurationDecodePhantom0XLtRt_1(0x04)
1256 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhLtRt_1 wroteDECChannelConfigurationDecodePhantom0XLtRt_1(0x05)
1257 #define wroteDECChannelConfigurationDecodePhantom0XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,((n<<8)|0x0003)
1258 #define wroteDECChannelConfigurationDecodePhantom0LwRwMono_1 wroteDECChannelConfigurationDecodePhantom0XMono_1(0x01)
1259 #define wroteDECChannelConfigurationDecodePhantom0LhRhMono_1 wroteDECChannelConfigurationDecodePhantom0XMono_1(0x04)
1260 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhMono_1 wroteDECChannelConfigurationDecodePhantom0XMono_1(0x05)
1261 #define wroteDECChannelConfigurationDecodePhantom0XDual_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,((n<<8)|0x0004)
1262 #define wroteDECChannelConfigurationDecodePhantom0LwRwDual_1 wroteDECChannelConfigurationDecodePhantom0XDual_1(0x01)
1263 #define wroteDECChannelConfigurationDecodePhantom0LhRhDual_1 wroteDECChannelConfigurationDecodePhantom0XDual_1(0x04)
1264 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_1 wroteDECChannelConfigurationDecodePhantom0XDual_1(0x05)
1265 #define wroteDECChannelConfigurationDecodePhantom1X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0104,(n<<8)
1266 #define wroteDECChannelConfigurationDecodePhantom1LwRw_1 wroteDECChannelConfigurationDecodePhantom1X_1(0x01)
1267 #define wroteDECChannelConfigurationDecodePhantom1LhRh_1 wroteDECChannelConfigurationDecodePhantom1X_1(0x04)
1268 #define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom1X_1(0x05)
1269 #define wroteDECChannelConfigurationDecodePhantom2X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,(n<<8)
1270 #define wroteDECChannelConfigurationDecodePhantom2LwRw_1 wroteDECChannelConfigurationDecodePhantom2X_1(0x01)
1271 #define wroteDECChannelConfigurationDecodePhantom2LhRh_1 wroteDECChannelConfigurationDecodePhantom2X_1(0x04)
1272 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom2X_1(0x05)
1273 #define wroteDECChannelConfigurationDecodePhantom2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,((n<<8)|0x0001)
1274 #define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_1 wroteDECChannelConfigurationDecodePhantom2XStereo_1(0x01) 
1275 #define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_1 wroteDECChannelConfigurationDecodePhantom2XStereo_1(0x04) 
1276 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_1 wroteDECChannelConfigurationDecodePhantom2XStereo_1(0x05) 
1277 #define wroteDECChannelConfigurationDecodePhantom2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,((n<<8)|0x0002)
1278 #define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_1 wroteDECChannelConfigurationDecodePhantom2XLtRt_1(0x01) 
1279 #define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_1 wroteDECChannelConfigurationDecodePhantom2XLtRt_1(0x04) 
1280 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_1 wroteDECChannelConfigurationDecodePhantom2XLtRt_1(0x05) 
1281 #define wroteDECChannelConfigurationDecodePhantom2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,((n<<8)|0x0003)
1282 #define wroteDECChannelConfigurationDecodePhantom2LwRwMono_1 wroteDECChannelConfigurationDecodePhantom2XMono_1(0x01) 
1283 #define wroteDECChannelConfigurationDecodePhantom2LhRhMono_1 wroteDECChannelConfigurationDecodePhantom2XMono_1(0x04)
1284 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_1 wroteDECChannelConfigurationDecodePhantom2XMono_1(0x05) 
1285 #define wroteDECChannelConfigurationDecodePhantom3X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0106,(n<<8)
1286 #define wroteDECChannelConfigurationDecodePhantom3LwRw_1 wroteDECChannelConfigurationDecodePhantom3X_1(0x01)
1287 #define wroteDECChannelConfigurationDecodePhantom3LhRh_1 wroteDECChannelConfigurationDecodePhantom3X_1(0x04)
1288 #define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom3X_1(0x05)
1289 #define wroteDECChannelConfigurationDecodePhantom4X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0107,(n<<8)
1290 #define wroteDECChannelConfigurationDecodePhantom4LwRw_1 wroteDECChannelConfigurationDecodePhantom4X_1(0x01)
1291 #define wroteDECChannelConfigurationDecodePhantom4LhRh_1 wroteDECChannelConfigurationDecodePhantom4X_1(0x04)
1292 #define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom4X_1(0x05)
1293 #define wroteDECChannelConfigurationDecodeSurround0X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0108,(n<<8)
1294 #define wroteDECChannelConfigurationDecodeSurround0LwRw_1 wroteDECChannelConfigurationDecodeSurround0X_1(0x01)
1295 #define wroteDECChannelConfigurationDecodeSurround0LhRh_1 wroteDECChannelConfigurationDecodeSurround0X_1(0x04)
1296 #define wroteDECChannelConfigurationDecodeSurround0LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround0X_1(0x05)
1297 #define wroteDECChannelConfigurationDecodeSurround1X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0109,(n<<8)
1298 #define wroteDECChannelConfigurationDecodeSurround1LwRw_1 wroteDECChannelConfigurationDecodeSurround1X_1(0x01)
1299 #define wroteDECChannelConfigurationDecodeSurround1LhRh_1 wroteDECChannelConfigurationDecodeSurround1X_1(0x04)
1300 #define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround1X_1(0x05)
1301 #define wroteDECChannelConfigurationDecodeSurround2X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,(n<<8)
1302 #define wroteDECChannelConfigurationDecodeSurround2LwRw_1 wroteDECChannelConfigurationDecodeSurround2X_1(0x01)
1303 #define wroteDECChannelConfigurationDecodeSurround2LhRh_1 wroteDECChannelConfigurationDecodeSurround2X_1(0x04)
1304 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround2X_1(0x05)
1305 #define wroteDECChannelConfigurationDecodeSurround2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,((n<<8)|0x0001)
1306 #define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_1 wroteDECChannelConfigurationDecodeSurround2XStereo_1(0x01)
1307 #define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_1 wroteDECChannelConfigurationDecodeSurround2XStereo_1(0x04)
1308 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_1 wroteDECChannelConfigurationDecodeSurround2XStereo_1(0x05)
1309 #define wroteDECChannelConfigurationDecodeSurround2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,((n<<8)|0x0002)
1310 #define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_1 wroteDECChannelConfigurationDecodeSurround2XLtRt_1(0x01) 
1311 #define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_1 wroteDECChannelConfigurationDecodeSurround2XLtRt_1(0x04) 
1312 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_1 wroteDECChannelConfigurationDecodeSurround2XLtRt_1(0x05) 
1313 #define wroteDECChannelConfigurationDecodeSurround2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,((n<<8)|0x0003)
1314 #define wroteDECChannelConfigurationDecodeSurround2LwRwMono_1 wroteDECChannelConfigurationDecodeSurround2XMono_1(0x01) 
1315 #define wroteDECChannelConfigurationDecodeSurround2LhRhMono_1 wroteDECChannelConfigurationDecodeSurround2XMono_1(0x04)
1316 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_1 wroteDECChannelConfigurationDecodeSurround2XMono_1(0x05) 
1317 #define wroteDECChannelConfigurationDecodeSurround3X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010b,(n<<8)
1318 #define wroteDECChannelConfigurationDecodeSurround3LwRw_1 wroteDECChannelConfigurationDecodeSurround3X_1(0x01)
1319 #define wroteDECChannelConfigurationDecodeSurround3LhRh_1 wroteDECChannelConfigurationDecodeSurround3X_1(0x04)
1320 #define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround3X_1(0x05)
1321 #define wroteDECChannelConfigurationDecodeSurround4X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010c,(n<<8)
1322 #define wroteDECChannelConfigurationDecodeSurround4LwRw_1 wroteDECChannelConfigurationDecodeSurround4X_1(0x01)
1323 #define wroteDECChannelConfigurationDecodeSurround4LhRh_1 wroteDECChannelConfigurationDecodeSurround4X_1(0x04)
1324 #define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround4X_1(0x05)
1326 // _2
1327 #define wroteDECChannelConfigurationDecodeNoneX_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0201,(n<<8)
1328 #define wroteDECChannelConfigurationDecodeNoneLwRw_2 wroteDECChannelConfigurationDecodeNoneX_2(0x01)
1329 #define wroteDECChannelConfigurationDecodeNoneLhRh_2 wroteDECChannelConfigurationDecodeNoneX_2(0x04)
1330 #define wroteDECChannelConfigurationDecodeNoneLwRwLhRh_2 wroteDECChannelConfigurationDecodeNoneX_2(0x05)
1331 #define wroteDECChannelConfigurationDecodeMonoX_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0202,(n<<8)
1332 #define wroteDECChannelConfigurationDecodeMonoLwRw_2 wroteDECChannelConfigurationDecodeMonoX_2(0x01)
1333 #define wroteDECChannelConfigurationDecodeMonoLhRh_2 wroteDECChannelConfigurationDecodeMonoX_2(0x04)
1334 #define wroteDECChannelConfigurationDecodeMonoLwRwLhRh_2 wroteDECChannelConfigurationDecodeMonoX_2(0x05)
1335 #define wroteDECChannelConfigurationDecodePhantom0X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,(n<<8)
1336 #define wroteDECChannelConfigurationDecodePhantom0LwRw_2 wroteDECChannelConfigurationDecodePhantom0X_2(0x01)
1337 #define wroteDECChannelConfigurationDecodePhantom0LhRh_2 wroteDECChannelConfigurationDecodePhantom0X_2(0x04)
1338 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom0X_2(0x05)
1339 #define wroteDECChannelConfigurationDecodePhantom0XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,((n<<8)|0x0001)
1340 #define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_2 wroteDECChannelConfigurationDecodePhantom0XStereo_2(0x01)
1341 #define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_2 wroteDECChannelConfigurationDecodePhantom0XStereo_2(0x04) 
1342 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_2 wroteDECChannelConfigurationDecodePhantom0XStereo_2(0x05) 
1343 #define wroteDECChannelConfigurationDecodePhantom0XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,((n<<8)|0x0002)
1344 #define wroteDECChannelConfigurationDecodePhantom0LwRwLtRt_2 wroteDECChannelConfigurationDecodePhantom0XLtRt_2(0x01)
1345 #define wroteDECChannelConfigurationDecodePhantom0LhRhLtRt_2 wroteDECChannelConfigurationDecodePhantom0XLtRt_2(0x04)
1346 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhLtRt_2 wroteDECChannelConfigurationDecodePhantom0XLtRt_2(0x05)
1347 #define wroteDECChannelConfigurationDecodePhantom0XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,((n<<8)|0x0003)
1348 #define wroteDECChannelConfigurationDecodePhantom0LwRwMono_2 wroteDECChannelConfigurationDecodePhantom0XMono_2(0x01)
1349 #define wroteDECChannelConfigurationDecodePhantom0LhRhMono_2 wroteDECChannelConfigurationDecodePhantom0XMono_2(0x04)
1350 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhMono_2 wroteDECChannelConfigurationDecodePhantom0XMono_2(0x05)
1351 #define wroteDECChannelConfigurationDecodePhantom0XDual_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,((n<<8)|0x0004)
1352 #define wroteDECChannelConfigurationDecodePhantom0LwRwDual_2 wroteDECChannelConfigurationDecodePhantom0XDual_2(0x01)
1353 #define wroteDECChannelConfigurationDecodePhantom0LhRhDual_2 wroteDECChannelConfigurationDecodePhantom0XDual_2(0x04)
1354 #define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_2 wroteDECChannelConfigurationDecodePhantom0XDual_2(0x05)
1355 #define wroteDECChannelConfigurationDecodePhantom1X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0204,(n<<8)
1356 #define wroteDECChannelConfigurationDecodePhantom1LwRw_2 wroteDECChannelConfigurationDecodePhantom1X_2(0x01)
1357 #define wroteDECChannelConfigurationDecodePhantom1LhRh_2 wroteDECChannelConfigurationDecodePhantom1X_2(0x04)
1358 #define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom1X_2(0x05)
1359 #define wroteDECChannelConfigurationDecodePhantom2X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0205,(n<<8)
1360 #define wroteDECChannelConfigurationDecodePhantom2LwRw_2 wroteDECChannelConfigurationDecodePhantom2X_2(0x01)
1361 #define wroteDECChannelConfigurationDecodePhantom2LhRh_2 wroteDECChannelConfigurationDecodePhantom2X_2(0x04)
1362 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom2X_2(0x05)
1363 #define wroteDECChannelConfigurationDecodePhantom2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0205,((n<<8)|0x0001)
1364 #define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_2 wroteDECChannelConfigurationDecodePhantom2XStereo_2(0x01) 
1365 #define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_2 wroteDECChannelConfigurationDecodePhantom2XStereo_2(0x04) 
1366 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_2 wroteDECChannelConfigurationDecodePhantom2XStereo_2(0x05) 
1367 #define wroteDECChannelConfigurationDecodePhantom2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0205,((n<<8)|0x0002)
1368 #define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_2 wroteDECChannelConfigurationDecodePhantom2XLtRt_2(0x01) 
1369 #define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_2 wroteDECChannelConfigurationDecodePhantom2XLtRt_2(0x04) 
1370 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_2 wroteDECChannelConfigurationDecodePhantom2XLtRt_2(0x05) 
1371 #define wroteDECChannelConfigurationDecodePhantom2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0205,((n<<8)|0x0003)
1372 #define wroteDECChannelConfigurationDecodePhantom2LwRwMono_2 wroteDECChannelConfigurationDecodePhantom2XMono_2(0x01) 
1373 #define wroteDECChannelConfigurationDecodePhantom2LhRhMono_2 wroteDECChannelConfigurationDecodePhantom2XMono_2(0x04)
1374 #define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_2 wroteDECChannelConfigurationDecodePhantom2XMono_2(0x05) 
1375 #define wroteDECChannelConfigurationDecodePhantom3X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0206,(n<<8)
1376 #define wroteDECChannelConfigurationDecodePhantom3LwRw_2 wroteDECChannelConfigurationDecodePhantom3X_2(0x01)
1377 #define wroteDECChannelConfigurationDecodePhantom3LhRh_2 wroteDECChannelConfigurationDecodePhantom3X_2(0x04)
1378 #define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom3X_2(0x05)
1379 #define wroteDECChannelConfigurationDecodePhantom4X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0207,(n<<8)
1380 #define wroteDECChannelConfigurationDecodePhantom4LwRw_2 wroteDECChannelConfigurationDecodePhantom4X_2(0x01)
1381 #define wroteDECChannelConfigurationDecodePhantom4LhRh_2 wroteDECChannelConfigurationDecodePhantom4X_2(0x04)
1382 #define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom4X_2(0x05)
1383 #define wroteDECChannelConfigurationDecodeSurround0X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0208,(n<<8)
1384 #define wroteDECChannelConfigurationDecodeSurround0LwRw_2 wroteDECChannelConfigurationDecodeSurround0X_2(0x01)
1385 #define wroteDECChannelConfigurationDecodeSurround0LhRh_2 wroteDECChannelConfigurationDecodeSurround0X_2(0x04)
1386 #define wroteDECChannelConfigurationDecodeSurround0LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround0X_2(0x05)
1387 #define wroteDECChannelConfigurationDecodeSurround1X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0209,(n<<8)
1388 #define wroteDECChannelConfigurationDecodeSurround1LwRw_2 wroteDECChannelConfigurationDecodeSurround1X_2(0x01)
1389 #define wroteDECChannelConfigurationDecodeSurround1LhRh_2 wroteDECChannelConfigurationDecodeSurround1X_2(0x04)
1390 #define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround1X_2(0x05)
1391 #define wroteDECChannelConfigurationDecodeSurround2X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020a,(n<<8)
1392 #define wroteDECChannelConfigurationDecodeSurround2LwRw_2 wroteDECChannelConfigurationDecodeSurround2X_2(0x01)
1393 #define wroteDECChannelConfigurationDecodeSurround2LhRh_2 wroteDECChannelConfigurationDecodeSurround2X_2(0x04)
1394 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround2X_2(0x05)
1395 #define wroteDECChannelConfigurationDecodeSurround2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020a,((n<<8)|0x0001)
1396 #define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_2 wroteDECChannelConfigurationDecodeSurround2XStereo_2(0x01)
1397 #define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_2 wroteDECChannelConfigurationDecodeSurround2XStereo_2(0x04)
1398 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_2 wroteDECChannelConfigurationDecodeSurround2XStereo_2(0x05)
1399 #define wroteDECChannelConfigurationDecodeSurround2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020a,((n<<8)|0x0002)
1400 #define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_2 wroteDECChannelConfigurationDecodeSurround2XLtRt_2(0x01) 
1401 #define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_2 wroteDECChannelConfigurationDecodeSurround2XLtRt_2(0x04) 
1402 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_2 wroteDECChannelConfigurationDecodeSurround2XLtRt_2(0x05) 
1403 #define wroteDECChannelConfigurationDecodeSurround2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020a,((n<<8)|0x0003)
1404 #define wroteDECChannelConfigurationDecodeSurround2LwRwMono_2 wroteDECChannelConfigurationDecodeSurround2XMono_2(0x01) 
1405 #define wroteDECChannelConfigurationDecodeSurround2LhRhMono_2 wroteDECChannelConfigurationDecodeSurround2XMono_2(0x04)
1406 #define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_2 wroteDECChannelConfigurationDecodeSurround2XMono_2(0x05) 
1407 #define wroteDECChannelConfigurationDecodeSurround3X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020b,(n<<8)
1408 #define wroteDECChannelConfigurationDecodeSurround3LwRw_2 wroteDECChannelConfigurationDecodeSurround3X_2(0x01)
1409 #define wroteDECChannelConfigurationDecodeSurround3LhRh_2 wroteDECChannelConfigurationDecodeSurround3X_2(0x04)
1410 #define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround3X_2(0x05)
1411 #define wroteDECChannelConfigurationDecodeSurround4X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020c,(n<<8)
1412 #define wroteDECChannelConfigurationDecodeSurround4LwRw_2 wroteDECChannelConfigurationDecodeSurround4X_2(0x01)
1413 #define wroteDECChannelConfigurationDecodeSurround4LhRh_2 wroteDECChannelConfigurationDecodeSurround4X_2(0x04)
1414 #define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround4X_2(0x05)
1416 #define wroteDECChannelConfigurationDecodeHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0048,LL,HH
1418 #define  readDECChannelConfigurationDecodeExtChan         0xc200+STD_BETA_DECODE,0x4B00
1419 #define  readDECChannelConfigurationDecodeExtMask         readDECChannelConfigurationDecodeExtChan
1420 #define wroteDECChannelConfigurationDecodeExtChanNone     0xca00+STD_BETA_DECODE,0x4B00
1421 #define wroteDECChannelConfigurationDecodeExtChanLhRh     0xca00+STD_BETA_DECODE,(0x4B04) // PAF_CC_EXTMASK_LhRh
1422 #define wroteDECChannelConfigurationDecodeExtChanLwRw     0xca00+STD_BETA_DECODE,(0x4B01) // PAF_CC_EXTMASK_LwRw
1423 #define wroteDECChannelConfigurationDecodeExtChanLwRwLhRh 0xca00+STD_BETA_DECODE, \
1424                                                            (0x4B05) // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
1426 #define wroteDECChannelConfigurationDecodeAuxUnknown 0xca00+STD_BETA_DECODE,0x4A00
1427 #define wroteDECChannelConfigurationDecodeAuxStereo 0xca00+STD_BETA_DECODE,0x4A01
1428 #define wroteDECChannelConfigurationDecodeAuxLtRt 0xca00+STD_BETA_DECODE,0x4A02
1429 #define wroteDECChannelConfigurationDecodeAuxMono 0xca00+STD_BETA_DECODE,0x4A03
1430 #define wroteDECChannelConfigurationDecodeAuxDual 0xca00+STD_BETA_DECODE,0x4A04
1432 //ATMOS
1433 #define wroteDECChannelConfigurationDecodeSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4808,0x000a,0x0003,(n<<8),0x0000
1434 #define wroteDECChannelConfigurationDecodeSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4808,0x010a,0x0003,(n<<8),0x0000
1435 #define wroteDECChannelConfigurationDecodeSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4808,0x020a,0x0003,(n<<8),0x0000
1437 #define wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4808,0x000a,0x0103,(n<<8),0x0000
1438 #define wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4808,0x010a,0x0103,(n<<8),0x0000
1439 #define wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4808,0x020a,0x0103,(n<<8),0x0000
1441 #define wroteDECChannelConfigurationDecodeSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4808,0x000c,0x0003,(n<<8),0x0000
1442 #define wroteDECChannelConfigurationDecodeSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4808,0x010c,0x0003,(n<<8),0x0000
1443 #define wroteDECChannelConfigurationDecodeSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4808,0x020c,0x0003,(n<<8),0x0000
1445 #define wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4808,0x000c,0x0103,(n<<8),0x0000
1446 #define wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4808,0x010c,0x0103,(n<<8),0x0000
1447 #define wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4808,0x020c,0x0103,(n<<8),0x0000
1449 #define wroteDECChannelConfigurationDecodeSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationDecodeSurround2ATMOSMono_0(0xA)
1450 #define wroteDECChannelConfigurationDecodeSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationDecodeSurround2ATMOSMono_1(0xA)
1451 #define wroteDECChannelConfigurationDecodeSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationDecodeSurround2ATMOSMono_2(0xA)
1453 #define wroteDECChannelConfigurationDecodeSurround4LtmRtm_0 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_0(0x4)
1454 #define wroteDECChannelConfigurationDecodeSurround4LtmRtm_1 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_1(0x4)
1455 #define wroteDECChannelConfigurationDecodeSurround4LtmRtm_2 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_2(0x4)
1457 #define wroteDECChannelConfigurationDecodeSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_0(0xA)
1458 #define wroteDECChannelConfigurationDecodeSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_1(0xA)
1459 #define wroteDECChannelConfigurationDecodeSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_2(0xA)
1461 #define wroteDECChannelConfigurationDecodeSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_0(0xA)
1462 #define wroteDECChannelConfigurationDecodeSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_1(0xA)
1463 #define wroteDECChannelConfigurationDecodeSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_2(0xA)
1465 #define wroteDECChannelConfigurationDecodeSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_0(0xA)
1466 #define wroteDECChannelConfigurationDecodeSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_1(0xA)
1467 #define wroteDECChannelConfigurationDecodeSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_2(0xA)
1469 #define readDECChannelConfigurationDecodeATMOSChan         0xc200+STD_BETA_DECODE,0x4d00
1470 #define readDECChannelConfigurationDecodeATMOSMask         readDECChannelConfigurationDecodeATMOSChan
1471 #define wroteDECChannelConfigurationDecodeATMOSChanNone     0xca00+STD_BETA_DECODE,0x4d00
1472 #define wroteDECChannelConfigurationDecodeATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x4d11)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
1473 #define wroteDECChannelConfigurationDecodeATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x4d0a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
1474 #define wroteDECChannelConfigurationDecodeATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x4d04)//PAF_CC_EXTMASK_LtmRtm
1476 //-------------------------------------------------------------------------------------------------------------
1478 #define wroteDECChannelConfigurationDownmixUnknown 0xcc00+STD_BETA_DECODE,0x0050,0x0000,0x0000
1480 #define wroteDECChannelConfigurationDownmixNone 0xcc00+STD_BETA_DECODE,0x0050,0x0001,0x0000
1481 #define wroteDECChannelConfigurationDownmixMono 0xcc00+STD_BETA_DECODE,0x0050,0x0002,0x0000
1482 #define wroteDECChannelConfigurationDownmixStereo 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0000
1483 #define wroteDECChannelConfigurationDownmixStereoLtRt 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0002
1484 #define wroteDECChannelConfigurationDownmixStereoMono 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0003
1485 #define wroteDECChannelConfigurationDownmix3Stereo 0xcc00+STD_BETA_DECODE,0x0050,0x0108,0x0000
1486 #define wroteDECChannelConfigurationDownmixPhantom 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0000
1487 #define wroteDECChannelConfigurationDownmixSurround 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0000
1489 #define wroteDECChannelConfigurationDownmixNone_0 0xcc00+STD_BETA_DECODE,0x0050,0x0001,0x0000
1490 #define wroteDECChannelConfigurationDownmixMono_0 0xcc00+STD_BETA_DECODE,0x0050,0x0002,0x0000
1491 #define wroteDECChannelConfigurationDownmixPhantom0_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0000
1492 #define wroteDECChannelConfigurationDownmixPhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0001
1493 #define wroteDECChannelConfigurationDownmixPhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0002
1494 #define wroteDECChannelConfigurationDownmixPhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0003
1495 #define wroteDECChannelConfigurationDownmixPhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0004
1496 #define wroteDECChannelConfigurationDownmixPhantom1_0 0xcc00+STD_BETA_DECODE,0x0050,0x0004,0x0000
1497 #define wroteDECChannelConfigurationDownmixPhantom2_0 0xcc00+STD_BETA_DECODE,0x0050,0x0005,0x0000
1498 #define wroteDECChannelConfigurationDownmixPhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0050,0x0005,0x0001
1499 #define wroteDECChannelConfigurationDownmixPhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0050,0x0005,0x0002
1500 #define wroteDECChannelConfigurationDownmixPhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0050,0x0005,0x0003
1501 #define wroteDECChannelConfigurationDownmixPhantom3_0 0xcc00+STD_BETA_DECODE,0x0050,0x0006,0x0000
1502 #define wroteDECChannelConfigurationDownmixPhantom4_0 0xcc00+STD_BETA_DECODE,0x0050,0x0007,0x0000
1503 #define wroteDECChannelConfigurationDownmixSurround0_0 0xcc00+STD_BETA_DECODE,0x0050,0x0008,0x0000
1504 #define wroteDECChannelConfigurationDownmixSurround1_0 0xcc00+STD_BETA_DECODE,0x0050,0x0009,0x0000
1505 #define wroteDECChannelConfigurationDownmixSurround2_0 0xcc00+STD_BETA_DECODE,0x0050,0x000a,0x0000
1506 #define wroteDECChannelConfigurationDownmixSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0050,0x000a,0x0001
1507 #define wroteDECChannelConfigurationDownmixSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0050,0x000a,0x0002
1508 #define wroteDECChannelConfigurationDownmixSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0050,0x000a,0x0003
1509 #define wroteDECChannelConfigurationDownmixSurround3_0 0xcc00+STD_BETA_DECODE,0x0050,0x000b,0x0000
1510 #define wroteDECChannelConfigurationDownmixSurround4_0 0xcc00+STD_BETA_DECODE,0x0050,0x000c,0x0000
1512 #define wroteDECChannelConfigurationDownmixNone_1 0xcc00+STD_BETA_DECODE,0x0050,0x0101,0x0000
1513 #define wroteDECChannelConfigurationDownmixMono_1 0xcc00+STD_BETA_DECODE,0x0050,0x0102,0x0000
1514 #define wroteDECChannelConfigurationDownmixPhantom0_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0000
1515 #define wroteDECChannelConfigurationDownmixPhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0001
1516 #define wroteDECChannelConfigurationDownmixPhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0002
1517 #define wroteDECChannelConfigurationDownmixPhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0003
1518 #define wroteDECChannelConfigurationDownmixPhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0004
1519 #define wroteDECChannelConfigurationDownmixPhantom1_1 0xcc00+STD_BETA_DECODE,0x0050,0x0104,0x0000
1520 #define wroteDECChannelConfigurationDownmixPhantom2_1 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0000
1521 #define wroteDECChannelConfigurationDownmixPhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0001
1522 #define wroteDECChannelConfigurationDownmixPhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0002
1523 #define wroteDECChannelConfigurationDownmixPhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0003
1524 #define wroteDECChannelConfigurationDownmixPhantom3_1 0xcc00+STD_BETA_DECODE,0x0050,0x0106,0x0000
1525 #define wroteDECChannelConfigurationDownmixPhantom4_1 0xcc00+STD_BETA_DECODE,0x0050,0x0107,0x0000
1526 #define wroteDECChannelConfigurationDownmixSurround0_1 0xcc00+STD_BETA_DECODE,0x0050,0x0108,0x0000
1527 #define wroteDECChannelConfigurationDownmixSurround1_1 0xcc00+STD_BETA_DECODE,0x0050,0x0109,0x0000
1528 #define wroteDECChannelConfigurationDownmixSurround2_1 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0000
1529 #define wroteDECChannelConfigurationDownmixSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0001
1530 #define wroteDECChannelConfigurationDownmixSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0002
1531 #define wroteDECChannelConfigurationDownmixSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0003
1532 #define wroteDECChannelConfigurationDownmixSurround3_1 0xcc00+STD_BETA_DECODE,0x0050,0x010b,0x0000
1533 #define wroteDECChannelConfigurationDownmixSurround4_1 0xcc00+STD_BETA_DECODE,0x0050,0x010c,0x0000
1535 // Extended channel configuration requests
1536 #define wroteDECChannelConfigurationDownmixNoneX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0001,(n<<8)
1537 #define wroteDECChannelConfigurationDownmixNoneLwRw wroteDECChannelConfigurationDownmixNoneX(0x01)
1538 #define wroteDECChannelConfigurationDownmixNoneLhRh wroteDECChannelConfigurationDownmixNoneX(0x04)
1539 #define wroteDECChannelConfigurationDownmixNoneLwRwLhRh wroteDECChannelConfigurationDownmixNoneX(0x05)
1540 #define wroteDECChannelConfigurationDownmixMonoX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0002,(n<<8)
1541 #define wroteDECChannelConfigurationDownmixMonoLwRw wroteDECChannelConfigurationDownmixMonoX(0x01)
1542 #define wroteDECChannelConfigurationDownmixMonoLhRh wroteDECChannelConfigurationDownmixMonoX(0x04)
1543 #define wroteDECChannelConfigurationDownmixMonoLwRwLhRh wroteDECChannelConfigurationDownmixMonoX(0x05)
1544 #define wroteDECChannelConfigurationDownmixStereoX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,(n<<8)
1545 #define wroteDECChannelConfigurationDownmixStereoLwRw wroteDECChannelConfigurationDownmixStereoX(0x01)
1546 #define wroteDECChannelConfigurationDownmixStereoLhRh wroteDECChannelConfigurationDownmixStereoX(0x04)
1547 #define wroteDECChannelConfigurationDownmixStereoLwRwLhRh wroteDECChannelConfigurationDownmixStereoX(0x05)
1548 #define wroteDECChannelConfigurationDownmixStereoXLtRt(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0002)
1549 #define wroteDECChannelConfigurationDownmixStereoLwRwLtRt wroteDECChannelConfigurationDownmixStereoXLtRt(0x01)
1550 #define wroteDECChannelConfigurationDownmixStereoLhRhLtRt wroteDECChannelConfigurationDownmixStereoXLtRt(0x04)
1551 #define wroteDECChannelConfigurationDownmixStereoLwRwLhRhLtRt wroteDECChannelConfigurationDownmixStereoXLtRt(0x05)
1552 #define wroteDECChannelConfigurationDownmixStereoXMono(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0003)
1553 #define wroteDECChannelConfigurationDownmixStereoLwRwMono wroteDECChannelConfigurationDownmixStereoXMono(0x01)
1554 #define wroteDECChannelConfigurationDownmixStereoLhRhMono wroteDECChannelConfigurationDownmixStereoXMono(0x04)
1555 #define wroteDECChannelConfigurationDownmixStereoLwRwLhRhMono wroteDECChannelConfigurationDownmixStereoXMono(0x05)
1556 #define wroteDECChannelConfigurationDownmix3StereoX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0108,(n<<8)
1557 #define wroteDECChannelConfigurationDownmix3StereoLwRw wroteDECChannelConfigurationDownmix3StereoX(0x01)
1558 #define wroteDECChannelConfigurationDownmix3StereoLhRh wroteDECChannelConfigurationDownmix3StereoX(0x04)
1559 #define wroteDECChannelConfigurationDownmix3StereoLwRwLhRh wroteDECChannelConfigurationDownmix3StereoX(0x05)
1560 #define wroteDECChannelConfigurationDownmixPhantomX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,(n<<8)
1561 #define wroteDECChannelConfigurationDownmixPhantomLwRw wroteDECChannelConfigurationDownmixPhantomX(0x01)
1562 #define wroteDECChannelConfigurationDownmixPhantomLhRh wroteDECChannelConfigurationDownmixPhantomX(0x04)
1563 #define wroteDECChannelConfigurationDownmixPhantomLwRwLhRh wroteDECChannelConfigurationDownmixPhantomX(0x05)
1564 #define wroteDECChannelConfigurationDownmixSurroundX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,(n<<8)
1565 #define wroteDECChannelConfigurationDownmixSurroundLwRw wroteDECChannelConfigurationDownmixSurroundX(0x01)
1566 #define wroteDECChannelConfigurationDownmixSurroundLhRh wroteDECChannelConfigurationDownmixSurroundX(0x04)
1567 #define wroteDECChannelConfigurationDownmixSurroundLwRwLhRh wroteDECChannelConfigurationDownmixSurroundX(0x05)
1569 // _0
1570 #define wroteDECChannelConfigurationDownmixNoneX_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0001,(n<<8)
1571 #define wroteDECChannelConfigurationDownmixNoneLwRw_0 wroteDECChannelConfigurationDownmixNoneX_0(0x01)
1572 #define wroteDECChannelConfigurationDownmixNoneLhRh_0 wroteDECChannelConfigurationDownmixNoneX_0(0x04)
1573 #define wroteDECChannelConfigurationDownmixNoneLwRwLhRh_0 wroteDECChannelConfigurationDownmixNoneX_0(0x05)
1574 #define wroteDECChannelConfigurationDownmixMonoX_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0002,(n<<8)
1575 #define wroteDECChannelConfigurationDownmixMonoLwRw_0 wroteDECChannelConfigurationDownmixMonoX_0(0x01)
1576 #define wroteDECChannelConfigurationDownmixMonoLhRh_0 wroteDECChannelConfigurationDownmixMonoX_0(0x04)
1577 #define wroteDECChannelConfigurationDownmixMonoLwRwLhRh_0 wroteDECChannelConfigurationDownmixMonoX_0(0x05)
1578 #define wroteDECChannelConfigurationDownmixPhantom0X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,(n<<8)
1579 #define wroteDECChannelConfigurationDownmixPhantom0LwRw_0 wroteDECChannelConfigurationDownmixPhantom0X_0(0x01)
1580 #define wroteDECChannelConfigurationDownmixPhantom0LhRh_0 wroteDECChannelConfigurationDownmixPhantom0X_0(0x04)
1581 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom0X_0(0x05)
1582 #define wroteDECChannelConfigurationDownmixPhantom0XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0001)
1583 #define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_0 wroteDECChannelConfigurationDownmixPhantom0XStereo_0(0x01)
1584 #define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_0 wroteDECChannelConfigurationDownmixPhantom0XStereo_0(0x04) 
1585 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_0 wroteDECChannelConfigurationDownmixPhantom0XStereo_0(0x05) 
1586 #define wroteDECChannelConfigurationDownmixPhantom0XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0002)
1587 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLtRt_0 wroteDECChannelConfigurationDownmixPhantom0XLtRt_0(0x01)
1588 #define wroteDECChannelConfigurationDownmixPhantom0LhRhLtRt_0 wroteDECChannelConfigurationDownmixPhantom0XLtRt_0(0x04)
1589 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhLtRt_0 wroteDECChannelConfigurationDownmixPhantom0XLtRt_0(0x05)
1590 #define wroteDECChannelConfigurationDownmixPhantom0XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0003)
1591 #define wroteDECChannelConfigurationDownmixPhantom0LwRwMono_0 wroteDECChannelConfigurationDownmixPhantom0XMono_0(0x01)
1592 #define wroteDECChannelConfigurationDownmixPhantom0LhRhMono_0 wroteDECChannelConfigurationDownmixPhantom0XMono_0(0x04)
1593 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhMono_0 wroteDECChannelConfigurationDownmixPhantom0XMono_0(0x05)
1594 #define wroteDECChannelConfigurationDownmixPhantom0XDual_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0004)
1595 #define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_0 wroteDECChannelConfigurationDownmixPhantom0XDual_0(0x01)
1596 #define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_0 wroteDECChannelConfigurationDownmixPhantom0XDual_0(0x04)
1597 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_0 wroteDECChannelConfigurationDownmixPhantom0XDual_0(0x05)
1598 #define wroteDECChannelConfigurationDownmixPhantom1X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0004,(n<<8)
1599 #define wroteDECChannelConfigurationDownmixPhantom1LwRw_0 wroteDECChannelConfigurationDownmixPhantom1X_0(0x01)
1600 #define wroteDECChannelConfigurationDownmixPhantom1LhRh_0 wroteDECChannelConfigurationDownmixPhantom1X_0(0x04)
1601 #define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom1X_0(0x05)
1602 #define wroteDECChannelConfigurationDownmixPhantom2X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0005,(n<<8)
1603 #define wroteDECChannelConfigurationDownmixPhantom2LwRw_0 wroteDECChannelConfigurationDownmixPhantom2X_0(0x01)
1604 #define wroteDECChannelConfigurationDownmixPhantom2LhRh_0 wroteDECChannelConfigurationDownmixPhantom2X_0(0x04)
1605 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom2X_0(0x05)
1606 #define wroteDECChannelConfigurationDownmixPhantom2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0005,((n<<8)|0x0001)
1607 #define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_0 wroteDECChannelConfigurationDownmixPhantom2XStereo_0(0x01) 
1608 #define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_0 wroteDECChannelConfigurationDownmixPhantom2XStereo_0(0x04) 
1609 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_0 wroteDECChannelConfigurationDownmixPhantom2XStereo_0(0x05) 
1610 #define wroteDECChannelConfigurationDownmixPhantom2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0005,((n<<8)|0x0002)
1611 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_0 wroteDECChannelConfigurationDownmixPhantom2XLtRt_0(0x01) 
1612 #define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_0 wroteDECChannelConfigurationDownmixPhantom2XLtRt_0(0x04) 
1613 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_0 wroteDECChannelConfigurationDownmixPhantom2XLtRt_0(0x05) 
1614 #define wroteDECChannelConfigurationDownmixPhantom2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0005,((n<<8)|0x0003)
1615 #define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_0 wroteDECChannelConfigurationDownmixPhantom2XMono_0(0x01) 
1616 #define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_0 wroteDECChannelConfigurationDownmixPhantom2XMono_0(0x04)
1617 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_0 wroteDECChannelConfigurationDownmixPhantom2XMono_0(0x05) 
1618 #define wroteDECChannelConfigurationDownmixPhantom3X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0006,(n<<8)
1619 #define wroteDECChannelConfigurationDownmixPhantom3LwRw_0 wroteDECChannelConfigurationDownmixPhantom3X_0(0x01)
1620 #define wroteDECChannelConfigurationDownmixPhantom3LhRh_0 wroteDECChannelConfigurationDownmixPhantom3X_0(0x04)
1621 #define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom3X_0(0x05)
1622 #define wroteDECChannelConfigurationDownmixPhantom4X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0007,(n<<8)
1623 #define wroteDECChannelConfigurationDownmixPhantom4LwRw_0 wroteDECChannelConfigurationDownmixPhantom4X_0(0x01)
1624 #define wroteDECChannelConfigurationDownmixPhantom4LhRh_0 wroteDECChannelConfigurationDownmixPhantom4X_0(0x04)
1625 #define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom4X_0(0x05)
1626 #define wroteDECChannelConfigurationDownmixSurround0X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0008,(n<<8)
1627 #define wroteDECChannelConfigurationDownmixSurround0LwRw_0 wroteDECChannelConfigurationDownmixSurround0X_0(0x01)
1628 #define wroteDECChannelConfigurationDownmixSurround0LhRh_0 wroteDECChannelConfigurationDownmixSurround0X_0(0x04)
1629 #define wroteDECChannelConfigurationDownmixSurround0LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround0X_0(0x05)
1630 #define wroteDECChannelConfigurationDownmixSurround1X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0009,(n<<8)
1631 #define wroteDECChannelConfigurationDownmixSurround1LwRw_0 wroteDECChannelConfigurationDownmixSurround1X_0(0x01)
1632 #define wroteDECChannelConfigurationDownmixSurround1LhRh_0 wroteDECChannelConfigurationDownmixSurround1X_0(0x04)
1633 #define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround1X_0(0x05)
1634 #define wroteDECChannelConfigurationDownmixSurround2X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000a,(n<<8)
1635 #define wroteDECChannelConfigurationDownmixSurround2LwRw_0 wroteDECChannelConfigurationDownmixSurround2X_0(0x01)
1636 #define wroteDECChannelConfigurationDownmixSurround2LhRh_0 wroteDECChannelConfigurationDownmixSurround2X_0(0x04)
1637 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround2X_0(0x05)
1638 #define wroteDECChannelConfigurationDownmixSurround2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000a,((n<<8)|0x0001)
1639 #define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_0 wroteDECChannelConfigurationDownmixSurround2XStereo_0(0x01)
1640 #define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_0 wroteDECChannelConfigurationDownmixSurround2XStereo_0(0x04)
1641 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_0 wroteDECChannelConfigurationDownmixSurround2XStereo_0(0x05)
1642 #define wroteDECChannelConfigurationDownmixSurround2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000a,((n<<8)|0x0002)
1643 #define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_0 wroteDECChannelConfigurationDownmixSurround2XLtRt_0(0x01) 
1644 #define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_0 wroteDECChannelConfigurationDownmixSurround2XLtRt_0(0x04) 
1645 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_0 wroteDECChannelConfigurationDownmixSurround2XLtRt_0(0x05) 
1646 #define wroteDECChannelConfigurationDownmixSurround2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000a,((n<<8)|0x0003)
1647 #define wroteDECChannelConfigurationDownmixSurround2LwRwMono_0 wroteDECChannelConfigurationDownmixSurround2XMono_0(0x01) 
1648 #define wroteDECChannelConfigurationDownmixSurround2LhRhMono_0 wroteDECChannelConfigurationDownmixSurround2XMono_0(0x04)
1649 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_0 wroteDECChannelConfigurationDownmixSurround2XMono_0(0x05) 
1650 #define wroteDECChannelConfigurationDownmixSurround3X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000b,(n<<8)
1651 #define wroteDECChannelConfigurationDownmixSurround3LwRw_0 wroteDECChannelConfigurationDownmixSurround3X_0(0x01)
1652 #define wroteDECChannelConfigurationDownmixSurround3LhRh_0 wroteDECChannelConfigurationDownmixSurround3X_0(0x04)
1653 #define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround3X_0(0x05)
1654 #define wroteDECChannelConfigurationDownmixSurround4X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000c,(n<<8)
1655 #define wroteDECChannelConfigurationDownmixSurround4LwRw_0 wroteDECChannelConfigurationDownmixSurround4X_0(0x01)
1656 #define wroteDECChannelConfigurationDownmixSurround4LhRh_0 wroteDECChannelConfigurationDownmixSurround4X_0(0x04)
1657 #define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround4X_0(0x05)
1659 // _1
1660 #define wroteDECChannelConfigurationDownmixNoneX_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0101,(n<<8)
1661 #define wroteDECChannelConfigurationDownmixNoneLwRw_1 wroteDECChannelConfigurationDownmixNoneX_1(0x01)
1662 #define wroteDECChannelConfigurationDownmixNoneLhRh_1 wroteDECChannelConfigurationDownmixNoneX_1(0x04)
1663 #define wroteDECChannelConfigurationDownmixNoneLwRwLhRh_1 wroteDECChannelConfigurationDownmixNoneX_1(0x05)
1664 #define wroteDECChannelConfigurationDownmixMonoX_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0102,(n<<8)
1665 #define wroteDECChannelConfigurationDownmixMonoLwRw_1 wroteDECChannelConfigurationDownmixMonoX_1(0x01)
1666 #define wroteDECChannelConfigurationDownmixMonoLhRh_1 wroteDECChannelConfigurationDownmixMonoX_1(0x04)
1667 #define wroteDECChannelConfigurationDownmixMonoLwRwLhRh_1 wroteDECChannelConfigurationDownmixMonoX_1(0x05)
1668 #define wroteDECChannelConfigurationDownmixPhantom0X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,(n<<8)
1669 #define wroteDECChannelConfigurationDownmixPhantom0LwRw_1 wroteDECChannelConfigurationDownmixPhantom0X_1(0x01)
1670 #define wroteDECChannelConfigurationDownmixPhantom0LhRh_1 wroteDECChannelConfigurationDownmixPhantom0X_1(0x04)
1671 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom0X_1(0x05)
1672 #define wroteDECChannelConfigurationDownmixPhantom0XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,((n<<8)|0x0001)
1673 #define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_1 wroteDECChannelConfigurationDownmixPhantom0XStereo_1(0x01)
1674 #define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_1 wroteDECChannelConfigurationDownmixPhantom0XStereo_1(0x04) 
1675 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_1 wroteDECChannelConfigurationDownmixPhantom0XStereo_1(0x05) 
1676 #define wroteDECChannelConfigurationDownmixPhantom0XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,((n<<8)|0x0002)
1677 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLtRt_1 wroteDECChannelConfigurationDownmixPhantom0XLtRt_1(0x01)
1678 #define wroteDECChannelConfigurationDownmixPhantom0LhRhLtRt_1 wroteDECChannelConfigurationDownmixPhantom0XLtRt_1(0x04)
1679 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhLtRt_1 wroteDECChannelConfigurationDownmixPhantom0XLtRt_1(0x05)
1680 #define wroteDECChannelConfigurationDownmixPhantom0XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,((n<<8)|0x0003)
1681 #define wroteDECChannelConfigurationDownmixPhantom0LwRwMono_1 wroteDECChannelConfigurationDownmixPhantom0XMono_1(0x01)
1682 #define wroteDECChannelConfigurationDownmixPhantom0LhRhMono_1 wroteDECChannelConfigurationDownmixPhantom0XMono_1(0x04)
1683 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhMono_1 wroteDECChannelConfigurationDownmixPhantom0XMono_1(0x05)
1684 #define wroteDECChannelConfigurationDownmixPhantom0XDual_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,((n<<8)|0x0004)
1685 #define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_1 wroteDECChannelConfigurationDownmixPhantom0XDual_1(0x01)
1686 #define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_1 wroteDECChannelConfigurationDownmixPhantom0XDual_1(0x04)
1687 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_1 wroteDECChannelConfigurationDownmixPhantom0XDual_1(0x05)
1688 #define wroteDECChannelConfigurationDownmixPhantom1X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0104,(n<<8)
1689 #define wroteDECChannelConfigurationDownmixPhantom1LwRw_1 wroteDECChannelConfigurationDownmixPhantom1X_1(0x01)
1690 #define wroteDECChannelConfigurationDownmixPhantom1LhRh_1 wroteDECChannelConfigurationDownmixPhantom1X_1(0x04)
1691 #define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom1X_1(0x05)
1692 #define wroteDECChannelConfigurationDownmixPhantom2X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,(n<<8)
1693 #define wroteDECChannelConfigurationDownmixPhantom2LwRw_1 wroteDECChannelConfigurationDownmixPhantom2X_1(0x01)
1694 #define wroteDECChannelConfigurationDownmixPhantom2LhRh_1 wroteDECChannelConfigurationDownmixPhantom2X_1(0x04)
1695 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom2X_1(0x05)
1696 #define wroteDECChannelConfigurationDownmixPhantom2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,((n<<8)|0x0001)
1697 #define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_1 wroteDECChannelConfigurationDownmixPhantom2XStereo_1(0x01) 
1698 #define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_1 wroteDECChannelConfigurationDownmixPhantom2XStereo_1(0x04) 
1699 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_1 wroteDECChannelConfigurationDownmixPhantom2XStereo_1(0x05) 
1700 #define wroteDECChannelConfigurationDownmixPhantom2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,((n<<8)|0x0002)
1701 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_1 wroteDECChannelConfigurationDownmixPhantom2XLtRt_1(0x01) 
1702 #define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_1 wroteDECChannelConfigurationDownmixPhantom2XLtRt_1(0x04) 
1703 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_1 wroteDECChannelConfigurationDownmixPhantom2XLtRt_1(0x05) 
1704 #define wroteDECChannelConfigurationDownmixPhantom2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,((n<<8)|0x0003)
1705 #define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_1 wroteDECChannelConfigurationDownmixPhantom2XMono_1(0x01) 
1706 #define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_1 wroteDECChannelConfigurationDownmixPhantom2XMono_1(0x04)
1707 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_1 wroteDECChannelConfigurationDownmixPhantom2XMono_1(0x05) 
1708 #define wroteDECChannelConfigurationDownmixPhantom3X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0106,(n<<8)
1709 #define wroteDECChannelConfigurationDownmixPhantom3LwRw_1 wroteDECChannelConfigurationDownmixPhantom3X_1(0x01)
1710 #define wroteDECChannelConfigurationDownmixPhantom3LhRh_1 wroteDECChannelConfigurationDownmixPhantom3X_1(0x04)
1711 #define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom3X_1(0x05)
1712 #define wroteDECChannelConfigurationDownmixPhantom4X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0107,(n<<8)
1713 #define wroteDECChannelConfigurationDownmixPhantom4LwRw_1 wroteDECChannelConfigurationDownmixPhantom4X_1(0x01)
1714 #define wroteDECChannelConfigurationDownmixPhantom4LhRh_1 wroteDECChannelConfigurationDownmixPhantom4X_1(0x04)
1715 #define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom4X_1(0x05)
1716 #define wroteDECChannelConfigurationDownmixSurround0X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0108,(n<<8)
1717 #define wroteDECChannelConfigurationDownmixSurround0LwRw_1 wroteDECChannelConfigurationDownmixSurround0X_1(0x01)
1718 #define wroteDECChannelConfigurationDownmixSurround0LhRh_1 wroteDECChannelConfigurationDownmixSurround0X_1(0x04)
1719 #define wroteDECChannelConfigurationDownmixSurround0LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround0X_1(0x05)
1720 #define wroteDECChannelConfigurationDownmixSurround1X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0109,(n<<8)
1721 #define wroteDECChannelConfigurationDownmixSurround1LwRw_1 wroteDECChannelConfigurationDownmixSurround1X_1(0x01)
1722 #define wroteDECChannelConfigurationDownmixSurround1LhRh_1 wroteDECChannelConfigurationDownmixSurround1X_1(0x04)
1723 #define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround1X_1(0x05)
1724 #define wroteDECChannelConfigurationDownmixSurround2X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,(n<<8)
1725 #define wroteDECChannelConfigurationDownmixSurround2LwRw_1 wroteDECChannelConfigurationDownmixSurround2X_1(0x01)
1726 #define wroteDECChannelConfigurationDownmixSurround2LhRh_1 wroteDECChannelConfigurationDownmixSurround2X_1(0x04)
1727 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround2X_1(0x05)
1728 #define wroteDECChannelConfigurationDownmixSurround2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,((n<<8)|0x0001)
1729 #define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_1 wroteDECChannelConfigurationDownmixSurround2XStereo_1(0x01)
1730 #define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_1 wroteDECChannelConfigurationDownmixSurround2XStereo_1(0x04)
1731 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_1 wroteDECChannelConfigurationDownmixSurround2XStereo_1(0x05)
1732 #define wroteDECChannelConfigurationDownmixSurround2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,((n<<8)|0x0002)
1733 #define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_1 wroteDECChannelConfigurationDownmixSurround2XLtRt_1(0x01) 
1734 #define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_1 wroteDECChannelConfigurationDownmixSurround2XLtRt_1(0x04) 
1735 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_1 wroteDECChannelConfigurationDownmixSurround2XLtRt_1(0x05) 
1736 #define wroteDECChannelConfigurationDownmixSurround2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,((n<<8)|0x0003)
1737 #define wroteDECChannelConfigurationDownmixSurround2LwRwMono_1 wroteDECChannelConfigurationDownmixSurround2XMono_1(0x01) 
1738 #define wroteDECChannelConfigurationDownmixSurround2LhRhMono_1 wroteDECChannelConfigurationDownmixSurround2XMono_1(0x04)
1739 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_1 wroteDECChannelConfigurationDownmixSurround2XMono_1(0x05) 
1740 #define wroteDECChannelConfigurationDownmixSurround3X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010b,(n<<8)
1741 #define wroteDECChannelConfigurationDownmixSurround3LwRw_1 wroteDECChannelConfigurationDownmixSurround3X_1(0x01)
1742 #define wroteDECChannelConfigurationDownmixSurround3LhRh_1 wroteDECChannelConfigurationDownmixSurround3X_1(0x04)
1743 #define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround3X_1(0x05)
1744 #define wroteDECChannelConfigurationDownmixSurround4X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010c,(n<<8)
1745 #define wroteDECChannelConfigurationDownmixSurround4LwRw_1 wroteDECChannelConfigurationDownmixSurround4X_1(0x01)
1746 #define wroteDECChannelConfigurationDownmixSurround4LhRh_1 wroteDECChannelConfigurationDownmixSurround4X_1(0x04)
1747 #define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround4X_1(0x05)
1749 // _2
1750 #define wroteDECChannelConfigurationDownmixNoneX_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0201,(n<<8)
1751 #define wroteDECChannelConfigurationDownmixNoneLwRw_2 wroteDECChannelConfigurationDownmixNoneX_2(0x01)
1752 #define wroteDECChannelConfigurationDownmixNoneLhRh_2 wroteDECChannelConfigurationDownmixNoneX_2(0x04)
1753 #define wroteDECChannelConfigurationDownmixNoneLwRwLhRh_2 wroteDECChannelConfigurationDownmixNoneX_2(0x05)
1754 #define wroteDECChannelConfigurationDownmixMonoX_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0202,(n<<8)
1755 #define wroteDECChannelConfigurationDownmixMonoLwRw_2 wroteDECChannelConfigurationDownmixMonoX_2(0x01)
1756 #define wroteDECChannelConfigurationDownmixMonoLhRh_2 wroteDECChannelConfigurationDownmixMonoX_2(0x04)
1757 #define wroteDECChannelConfigurationDownmixMonoLwRwLhRh_2 wroteDECChannelConfigurationDownmixMonoX_2(0x05)
1758 #define wroteDECChannelConfigurationDownmixPhantom0X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,(n<<8)
1759 #define wroteDECChannelConfigurationDownmixPhantom0LwRw_2 wroteDECChannelConfigurationDownmixPhantom0X_2(0x01)
1760 #define wroteDECChannelConfigurationDownmixPhantom0LhRh_2 wroteDECChannelConfigurationDownmixPhantom0X_2(0x04)
1761 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom0X_2(0x05)
1762 #define wroteDECChannelConfigurationDownmixPhantom0XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,((n<<8)|0x0001)
1763 #define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_2 wroteDECChannelConfigurationDownmixPhantom0XStereo_2(0x01)
1764 #define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_2 wroteDECChannelConfigurationDownmixPhantom0XStereo_2(0x04) 
1765 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_2 wroteDECChannelConfigurationDownmixPhantom0XStereo_2(0x05) 
1766 #define wroteDECChannelConfigurationDownmixPhantom0XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,((n<<8)|0x0002)
1767 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLtRt_2 wroteDECChannelConfigurationDownmixPhantom0XLtRt_2(0x01)
1768 #define wroteDECChannelConfigurationDownmixPhantom0LhRhLtRt_2 wroteDECChannelConfigurationDownmixPhantom0XLtRt_2(0x04)
1769 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhLtRt_2 wroteDECChannelConfigurationDownmixPhantom0XLtRt_2(0x05)
1770 #define wroteDECChannelConfigurationDownmixPhantom0XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,((n<<8)|0x0003)
1771 #define wroteDECChannelConfigurationDownmixPhantom0LwRwMono_2 wroteDECChannelConfigurationDownmixPhantom0XMono_2(0x01)
1772 #define wroteDECChannelConfigurationDownmixPhantom0LhRhMono_2 wroteDECChannelConfigurationDownmixPhantom0XMono_2(0x04)
1773 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhMono_2 wroteDECChannelConfigurationDownmixPhantom0XMono_2(0x05)
1774 #define wroteDECChannelConfigurationDownmixPhantom0XDual_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,((n<<8)|0x0004)
1775 #define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_2 wroteDECChannelConfigurationDownmixPhantom0XDual_2(0x01)
1776 #define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_2 wroteDECChannelConfigurationDownmixPhantom0XDual_2(0x04)
1777 #define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_2 wroteDECChannelConfigurationDownmixPhantom0XDual_2(0x05)
1778 #define wroteDECChannelConfigurationDownmixPhantom1X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0204,(n<<8)
1779 #define wroteDECChannelConfigurationDownmixPhantom1LwRw_2 wroteDECChannelConfigurationDownmixPhantom1X_2(0x01)
1780 #define wroteDECChannelConfigurationDownmixPhantom1LhRh_2 wroteDECChannelConfigurationDownmixPhantom1X_2(0x04)
1781 #define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom1X_2(0x05)
1782 #define wroteDECChannelConfigurationDownmixPhantom2X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0205,(n<<8)
1783 #define wroteDECChannelConfigurationDownmixPhantom2LwRw_2 wroteDECChannelConfigurationDownmixPhantom2X_2(0x01)
1784 #define wroteDECChannelConfigurationDownmixPhantom2LhRh_2 wroteDECChannelConfigurationDownmixPhantom2X_2(0x04)
1785 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom2X_2(0x05)
1786 #define wroteDECChannelConfigurationDownmixPhantom2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0205,((n<<8)|0x0001)
1787 #define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_2 wroteDECChannelConfigurationDownmixPhantom2XStereo_2(0x01) 
1788 #define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_2 wroteDECChannelConfigurationDownmixPhantom2XStereo_2(0x04) 
1789 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_2 wroteDECChannelConfigurationDownmixPhantom2XStereo_2(0x05) 
1790 #define wroteDECChannelConfigurationDownmixPhantom2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0205,((n<<8)|0x0002)
1791 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_2 wroteDECChannelConfigurationDownmixPhantom2XLtRt_2(0x01) 
1792 #define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_2 wroteDECChannelConfigurationDownmixPhantom2XLtRt_2(0x04) 
1793 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_2 wroteDECChannelConfigurationDownmixPhantom2XLtRt_2(0x05) 
1794 #define wroteDECChannelConfigurationDownmixPhantom2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0205,((n<<8)|0x0003)
1795 #define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_2 wroteDECChannelConfigurationDownmixPhantom2XMono_2(0x01) 
1796 #define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_2 wroteDECChannelConfigurationDownmixPhantom2XMono_2(0x04)
1797 #define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_2 wroteDECChannelConfigurationDownmixPhantom2XMono_2(0x05) 
1798 #define wroteDECChannelConfigurationDownmixPhantom3X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0206,(n<<8)
1799 #define wroteDECChannelConfigurationDownmixPhantom3LwRw_2 wroteDECChannelConfigurationDownmixPhantom3X_2(0x01)
1800 #define wroteDECChannelConfigurationDownmixPhantom3LhRh_2 wroteDECChannelConfigurationDownmixPhantom3X_2(0x04)
1801 #define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom3X_2(0x05)
1802 #define wroteDECChannelConfigurationDownmixPhantom4X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0207,(n<<8)
1803 #define wroteDECChannelConfigurationDownmixPhantom4LwRw_2 wroteDECChannelConfigurationDownmixPhantom4X_2(0x01)
1804 #define wroteDECChannelConfigurationDownmixPhantom4LhRh_2 wroteDECChannelConfigurationDownmixPhantom4X_2(0x04)
1805 #define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom4X_2(0x05)
1806 #define wroteDECChannelConfigurationDownmixSurround0X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0208,(n<<8)
1807 #define wroteDECChannelConfigurationDownmixSurround0LwRw_2 wroteDECChannelConfigurationDownmixSurround0X_2(0x01)
1808 #define wroteDECChannelConfigurationDownmixSurround0LhRh_2 wroteDECChannelConfigurationDownmixSurround0X_2(0x04)
1809 #define wroteDECChannelConfigurationDownmixSurround0LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround0X_2(0x05)
1810 #define wroteDECChannelConfigurationDownmixSurround1X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0209,(n<<8)
1811 #define wroteDECChannelConfigurationDownmixSurround1LwRw_2 wroteDECChannelConfigurationDownmixSurround1X_2(0x01)
1812 #define wroteDECChannelConfigurationDownmixSurround1LhRh_2 wroteDECChannelConfigurationDownmixSurround1X_2(0x04)
1813 #define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround1X_2(0x05)
1814 #define wroteDECChannelConfigurationDownmixSurround2X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020a,(n<<8)
1815 #define wroteDECChannelConfigurationDownmixSurround2LwRw_2 wroteDECChannelConfigurationDownmixSurround2X_2(0x01)
1816 #define wroteDECChannelConfigurationDownmixSurround2LhRh_2 wroteDECChannelConfigurationDownmixSurround2X_2(0x04)
1817 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround2X_2(0x05)
1818 #define wroteDECChannelConfigurationDownmixSurround2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020a,((n<<8)|0x0001)
1819 #define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_2 wroteDECChannelConfigurationDownmixSurround2XStereo_2(0x01)
1820 #define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_2 wroteDECChannelConfigurationDownmixSurround2XStereo_2(0x04)
1821 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_2 wroteDECChannelConfigurationDownmixSurround2XStereo_2(0x05)
1822 #define wroteDECChannelConfigurationDownmixSurround2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020a,((n<<8)|0x0002)
1823 #define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_2 wroteDECChannelConfigurationDownmixSurround2XLtRt_2(0x01) 
1824 #define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_2 wroteDECChannelConfigurationDownmixSurround2XLtRt_2(0x04) 
1825 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_2 wroteDECChannelConfigurationDownmixSurround2XLtRt_2(0x05) 
1826 #define wroteDECChannelConfigurationDownmixSurround2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020a,((n<<8)|0x0003)
1827 #define wroteDECChannelConfigurationDownmixSurround2LwRwMono_2 wroteDECChannelConfigurationDownmixSurround2XMono_2(0x01) 
1828 #define wroteDECChannelConfigurationDownmixSurround2LhRhMono_2 wroteDECChannelConfigurationDownmixSurround2XMono_2(0x04)
1829 #define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_2 wroteDECChannelConfigurationDownmixSurround2XMono_2(0x05) 
1830 #define wroteDECChannelConfigurationDownmixSurround3X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020b,(n<<8)
1831 #define wroteDECChannelConfigurationDownmixSurround3LwRw_2 wroteDECChannelConfigurationDownmixSurround3X_2(0x01)
1832 #define wroteDECChannelConfigurationDownmixSurround3LhRh_2 wroteDECChannelConfigurationDownmixSurround3X_2(0x04)
1833 #define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround3X_2(0x05)
1834 #define wroteDECChannelConfigurationDownmixSurround4X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020c,(n<<8)
1835 #define wroteDECChannelConfigurationDownmixSurround4LwRw_2 wroteDECChannelConfigurationDownmixSurround4X_2(0x01)
1836 #define wroteDECChannelConfigurationDownmixSurround4LhRh_2 wroteDECChannelConfigurationDownmixSurround4X_2(0x04)
1837 #define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround4X_2(0x05)
1839 #define wroteDECChannelConfigurationDownmixHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0050,LL,HH
1841 #define  readDECChannelConfigurationDownmixExtChan         0xc200+STD_BETA_DECODE,0x5300
1842 #define  readDECChannelConfigurationDownmixExtMask         readDECChannelConfigurationDownmixExtChan
1843 #define wroteDECChannelConfigurationDownmixExtChanNone     0xca00+STD_BETA_DECODE,0x5300
1844 #define wroteDECChannelConfigurationDownmixExtChanLhRh     0xca00+STD_BETA_DECODE,(0x5304) // PAF_CC_EXTMASK_LhRh
1845 #define wroteDECChannelConfigurationDownmixExtChanLwRw     0xca00+STD_BETA_DECODE,(0x5301) // PAF_CC_EXTMASK_LwRw
1846 #define wroteDECChannelConfigurationDownmixExtChanLwRwLhRh 0xca00+STD_BETA_DECODE, \
1847                                                            (0x5305) // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
1849 #define wroteDECChannelConfigurationDownmixAuxUnknown 0xca00+STD_BETA_DECODE,0x5200
1850 #define wroteDECChannelConfigurationDownmixAuxStereo 0xca00+STD_BETA_DECODE,0x5201
1851 #define wroteDECChannelConfigurationDownmixAuxLtRt 0xca00+STD_BETA_DECODE,0x5202
1852 #define wroteDECChannelConfigurationDownmixAuxMono 0xca00+STD_BETA_DECODE,0x5203
1853 #define wroteDECChannelConfigurationDownmixAuxDual 0xca00+STD_BETA_DECODE,0x5204
1855 //ATMOS
1856 #define wroteDECChannelConfigurationDownmixSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5008,0x000a,0x0003,(n<<8),0x0000
1857 #define wroteDECChannelConfigurationDownmixSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5008,0x010a,0x0003,(n<<8),0x0000
1858 #define wroteDECChannelConfigurationDownmixSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5008,0x020a,0x0003,(n<<8),0x0000
1860 #define wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5008,0x000a,0x0103,(n<<8),0x0000
1861 #define wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5008,0x010a,0x0103,(n<<8),0x0000
1862 #define wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5008,0x020a,0x0103,(n<<8),0x0000
1864 #define wroteDECChannelConfigurationDownmixSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5008,0x000c,0x0003,(n<<8),0x0000
1865 #define wroteDECChannelConfigurationDownmixSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5008,0x010c,0x0003,(n<<8),0x0000
1866 #define wroteDECChannelConfigurationDownmixSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5008,0x020c,0x0003,(n<<8),0x0000
1868 #define wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5008,0x000c,0x0103,(n<<8),0x0000
1869 #define wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5008,0x010c,0x0103,(n<<8),0x0000
1870 #define wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5008,0x020c,0x0103,(n<<8),0x0000
1872 #define wroteDECChannelConfigurationDownmixSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationDownmixSurround2ATMOSMono_0(0xA)
1873 #define wroteDECChannelConfigurationDownmixSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationDownmixSurround2ATMOSMono_1(0xA)
1874 #define wroteDECChannelConfigurationDownmixSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationDownmixSurround2ATMOSMono_2(0xA)
1876 #define wroteDECChannelConfigurationDownmixSurround4LtmRtm_0 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_0(0x4)
1877 #define wroteDECChannelConfigurationDownmixSurround4LtmRtm_1 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_1(0x4)
1878 #define wroteDECChannelConfigurationDownmixSurround4LtmRtm_2 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_2(0x4)
1880 #define wroteDECChannelConfigurationDownmixSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_0(0xA)
1881 #define wroteDECChannelConfigurationDownmixSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_1(0xA)
1882 #define wroteDECChannelConfigurationDownmixSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_2(0xA)
1884 #define wroteDECChannelConfigurationDownmixSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_0(0xA)
1885 #define wroteDECChannelConfigurationDownmixSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_1(0xA)
1886 #define wroteDECChannelConfigurationDownmixSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_2(0xA)
1888 #define wroteDECChannelConfigurationDownmixSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_0(0xA)
1889 #define wroteDECChannelConfigurationDownmixSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_1(0xA)
1890 #define wroteDECChannelConfigurationDownmixSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_2(0xA)
1892 #define readDECChannelConfigurationDownmixATMOSChan         0xc200+STD_BETA_DECODE,0x5500
1893 #define readDECChannelConfigurationDownmixATMOSMask         readDECChannelConfigurationDownmixATMOSChan
1894 #define wroteDECChannelConfigurationDownmixATMOSChanNone     0xca00+STD_BETA_DECODE,0x5500
1895 #define wroteDECChannelConfigurationDownmixATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x5511)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
1896 #define wroteDECChannelConfigurationDownmixATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x550a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
1897 #define wroteDECChannelConfigurationDownmixATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x5504)//PAF_CC_EXTMASK_LtmRtm
1899 //-------------------------------------------------------------------------------------------------------------
1900 #define writeDECFrameCountHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0024,LL,HH
1902 #define wroteDECKaraokeCapableUserQ6 0xce00+STD_BETA_DECODE,0x2806
1903 #define writeDECKaraokeCapableUserQ6N6(NN0,NN1,NN2,NN3,NN4,NN5) \
1904     wroteDECKaraokeCapableUserQ6,((NN1)&0xff)*256+((NN0)&0xff),((NN3)&0xff)*256+((NN2)&0xff),((NN5)&0xff)*256+((NN4)&0xff)
1905 #define writeDECKaraokeCapableUserVocal1LevelQ6N(NN) 0xca00+STD_BETA_DECODE,0x2800+((NN)&0xff)
1906 #define writeDECKaraokeCapableUserVocal1PanQ6N(NN) 0xca00+STD_BETA_DECODE,0x2900+((NN)&0xff)
1907 #define writeDECKaraokeCapableUserVocal2LevelQ6N(NN) 0xca00+STD_BETA_DECODE,0x2a00+((NN)&0xff)
1908 #define writeDECKaraokeCapableUserVocal2PanQ6N(NN) 0xca00+STD_BETA_DECODE,0x2b00+((NN)&0xff)
1909 #define writeDECKaraokeCapableUserMelodyLevelQ6N(NN) 0xca00+STD_BETA_DECODE,0x2c00+((NN)&0xff)
1910 #define writeDECKaraokeCapableUserMelodyPanQ6N(NN) 0xca00+STD_BETA_DECODE,0x2d00+((NN)&0xff)
1912 #define wroteDECSampleRateUnknown       0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_UNKNOWN
1913 #define wroteDECSampleRateNone          0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_NONE
1914 #define wroteDECSampleRate32000Hz       0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_32000HZ
1915 #define wroteDECSampleRate44100Hz       0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_44100HZ
1916 #define wroteDECSampleRate48000Hz       0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_48000HZ
1917 #define wroteDECSampleRate88200Hz       0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_88200HZ
1918 #define wroteDECSampleRate96000Hz       0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_96000HZ
1919 #define wroteDECSampleRate192000Hz      0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_192000HZ
1920 #define wroteDECSampleRate64000Hz       0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_64000HZ
1921 #define wroteDECSampleRate128000Hz  0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_128000HZ
1922 #define wroteDECSampleRate176400Hz  0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_176400HZ
1923 #define wroteDECSampleRate8000Hz    0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_8000HZ
1924 #define wroteDECSampleRate11025Hz   0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_11025HZ
1925 #define wroteDECSampleRate12000Hz   0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_12000HZ
1926 #define wroteDECSampleRate16000Hz   0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_16000HZ
1927 #define wroteDECSampleRate22050Hz   0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_22050HZ
1928 #define wroteDECSampleRate24000Hz   0xca00+STD_BETA_DECODE,0x0800+PAF_SAMPLERATE_24000HZ
1930 #define wroteDECSourceProgramUnknown 0xca00+STD_BETA_DECODE,0x0a00
1931 #define wroteDECSourceProgramNone 0xca00+STD_BETA_DECODE,0x0a01
1932 #define wroteDECSourceProgramPass 0xca00+STD_BETA_DECODE,0x0a02
1933 #define wroteDECSourceProgramSing 0xca00+STD_BETA_DECODE,0x0a03
1934 #define wroteDECSourceProgramAuto 0xca00+STD_BETA_DECODE,0x0a04
1935 #define wroteDECSourceProgramBitStream 0xca00+STD_BETA_DECODE,0x0a05
1936 #define wroteDECSourceProgramDTSAll 0xca00+STD_BETA_DECODE,0x0a06
1937 #define wroteDECSourceProgramPCMAuto 0xca00+STD_BETA_DECODE,0x0a07
1938 #define wroteDECSourceProgramPCM 0xca00+STD_BETA_DECODE,0x0a08
1939 #define wroteDECSourceProgramPC8 0xca00+STD_BETA_DECODE,0x0a09
1940 #define wroteDECSourceProgramAC3 0xca00+STD_BETA_DECODE,0x0a0a
1941 #define wroteDECSourceProgramDTS 0xca00+STD_BETA_DECODE,0x0a0b
1942 #define wroteDECSourceProgramAAC 0xca00+STD_BETA_DECODE,0x0a0c
1943 #define wroteDECSourceProgramMPEG 0xca00+STD_BETA_DECODE,0x0a0d
1944 #define wroteDECSourceProgramDTS12 0xca00+STD_BETA_DECODE,0x0a0e
1945 #define wroteDECSourceProgramDTS13 0xca00+STD_BETA_DECODE,0x0a0f
1946 #define wroteDECSourceProgramDTS14 0xca00+STD_BETA_DECODE,0x0a10
1947 #define wroteDECSourceProgramDTS16 0xca00+STD_BETA_DECODE,0x0a11
1948 #define wroteDECSourceProgramWMP 0xca00+STD_BETA_DECODE,0x0a12
1949 #define wroteDECSourceProgramMP3 0xca00+STD_BETA_DECODE,0x0a13
1950 #define wroteDECSourceProgramDSD1 0xca00+STD_BETA_DECODE,0x0a14
1951 #define wroteDECSourceProgramDSD2 0xca00+STD_BETA_DECODE,0x0a15
1952 #define wroteDECSourceProgramDSD3 0xca00+STD_BETA_DECODE,0x0a16
1953 #define wroteDECSourceProgramDDP 0xca00+STD_BETA_DECODE,0x0a17
1954 #define wroteDECSourceProgramDTSHD 0xca00+STD_BETA_DECODE,0x0a18
1955 #define wroteDECSourceProgramTHD 0xca00+STD_BETA_DECODE,0x0a19
1956 #define wroteDECSourceProgramDXP 0xca00+STD_BETA_DECODE,0x0a1a
1957 #define wroteDECSourceProgramWMA 0xca00+STD_BETA_DECODE,0x0a1b
1959 #define wroteDECSourceProgramSubTypeUnknown 0xca00+STD_BETA_DECODE,0x3700
1960 #define wroteDECSourceProgramSubTypeNone 0xca00+STD_BETA_DECODE,0x3701
1961 #define wroteDECSourceProgramSubTypeMatPCMObj 0xca00+STD_BETA_DECODE,0x3702
1962 #define wroteDECSourceProgramSubTypeMatPCMCnl 0xca00+STD_BETA_DECODE,0x3703
1963 #define wroteDECSourceProgramSubTypeMatTHDObj 0xca00+STD_BETA_DECODE,0x3704
1964 #define wroteDECSourceProgramSubTypeMatTHDCnl 0xca00+STD_BETA_DECODE,0x3705
1965 #define wroteDECSourceProgramSubTypeDDPObj 0xca00+STD_BETA_DECODE,0x3706
1966 #define wroteDECSourceProgramSubTypeDDPCnl 0xca00+STD_BETA_DECODE,0x3707
1968 #define wroteDECSourceDecodeUnknown 0xca00+STD_BETA_DECODE,0x0b00
1969 #define wroteDECSourceDecodeNone 0xca00+STD_BETA_DECODE,0x0b01
1970 #define wroteDECSourceDecodePass 0xca00+STD_BETA_DECODE,0x0b02
1971 #define wroteDECSourceDecodeSing 0xca00+STD_BETA_DECODE,0x0b03
1972 #define wroteDECSourceDecodeAuto 0xca00+STD_BETA_DECODE,0x0b04
1973 #define wroteDECSourceDecodeBitStream 0xca00+STD_BETA_DECODE,0x0b05
1974 #define wroteDECSourceDecodeDTSAll 0xca00+STD_BETA_DECODE,0x0b06
1975 #define wroteDECSourceDecodePCMAuto 0xca00+STD_BETA_DECODE,0x0b07
1976 #define wroteDECSourceDecodePCM 0xca00+STD_BETA_DECODE,0x0b08
1977 #define wroteDECSourceDecodePC8 0xca00+STD_BETA_DECODE,0x0b09
1978 #define wroteDECSourceDecodeAC3 0xca00+STD_BETA_DECODE,0x0b0a
1979 #define wroteDECSourceDecodeDTS 0xca00+STD_BETA_DECODE,0x0b0b
1980 #define wroteDECSourceDecodeAAC 0xca00+STD_BETA_DECODE,0x0b0c
1981 #define wroteDECSourceDecodeMPEG 0xca00+STD_BETA_DECODE,0x0b0d
1982 #define wroteDECSourceDecodeDTS12 0xca00+STD_BETA_DECODE,0x0b0e
1983 #define wroteDECSourceDecodeDTS13 0xca00+STD_BETA_DECODE,0x0b0f
1984 #define wroteDECSourceDecodeDTS14 0xca00+STD_BETA_DECODE,0x0b10
1985 #define wroteDECSourceDecodeDTS16 0xca00+STD_BETA_DECODE,0x0b11
1986 #define wroteDECSourceDecodeWMP 0xca00+STD_BETA_DECODE,0x0b12
1987 #define wroteDECSourceDecodeMP3 0xca00+STD_BETA_DECODE,0x0b13
1988 #define wroteDECSourceDecodeDSD1 0xca00+STD_BETA_DECODE,0x0b14
1989 #define wroteDECSourceDecodeDSD2 0xca00+STD_BETA_DECODE,0x0b15
1990 #define wroteDECSourceDecodeDSD3 0xca00+STD_BETA_DECODE,0x0b16
1991 #define wroteDECSourceDecodeDDP 0xca00+STD_BETA_DECODE,0x0b17
1992 #define wroteDECSourceDecodeDTSHD 0xca00+STD_BETA_DECODE,0x0b18
1993 #define wroteDECSourceDecodeTHD 0xca00+STD_BETA_DECODE,0x0b19
1994 #define wroteDECSourceDecodeDXP 0xca00+STD_BETA_DECODE,0x0b1a
1995 #define wroteDECSourceDecodeWMA 0xca00+STD_BETA_DECODE,0x0b1b
1997 #define wroteDECSourceDecodeSubTypeUnknown 0xca00+STD_BETA_DECODE,0x3600
1998 #define wroteDECSourceDecodeSubTypeNone 0xca00+STD_BETA_DECODE,0x3601
1999 #define wroteDECSourceDecodeSubTypeMatPCMObj 0xca00+STD_BETA_DECODE,0x3602
2000 #define wroteDECSourceDecodeSubTypeMatPCMCnl 0xca00+STD_BETA_DECODE,0x3603
2001 #define wroteDECSourceDecodeSubTypeMatTHDObj 0xca00+STD_BETA_DECODE,0x3604
2002 #define wroteDECSourceDecodeSubTypeMatTHDCnl 0xca00+STD_BETA_DECODE,0x3605
2003 #define wroteDECSourceDecodeSubTypeDDPObj 0xca00+STD_BETA_DECODE,0x3606
2004 #define wroteDECSourceDecodeSubTypeDDPCnl 0xca00+STD_BETA_DECODE,0x3607
2006 #define wroteDECChannelConfigurationRequest 0xcc00+STD_BETA_DECODE,0x0038
2007 #define wroteDECChannelConfigurationProgram 0xcc00+STD_BETA_DECODE,0x0040
2008 #define wroteDECChannelConfigurationDecode 0xcc00+STD_BETA_DECODE,0x0048
2009 #define wroteDECChannelConfigurationDownmix 0xcc00+STD_BETA_DECODE,0x0050
2010 #define wroteDECFrameCount 0xcc00+STD_BETA_DECODE,0x0024
2012 #define  readDECChannelConfigurationOverride 0xc400+STD_BETA_DECODE,0x0058
2014 #define writeDECChannelConfigurationOverrideUnknown 0xcc00+STD_BETA_DECODE,0x0058,0x0000,0x0000
2016 #define writeDECChannelConfigurationOverrideNone 0xcc00+STD_BETA_DECODE,0x0058,0x0001,0x0000
2017 #define writeDECChannelConfigurationOverrideMono 0xcc00+STD_BETA_DECODE,0x0058,0x0002,0x0000
2018 #define writeDECChannelConfigurationOverrideStereo 0xcc00+STD_BETA_DECODE,0x0058,0x0003,0x0000
2019 #define writeDECChannelConfigurationOverrideStereoLtRt 0xcc00+STD_BETA_DECODE,0x0058,0x0003,0x0002
2020 #define writeDECChannelConfigurationOverrideStereoMono 0xcc00+STD_BETA_DECODE,0x0058,0x0003,0x0003
2021 #define writeDECChannelConfigurationOverride3Stereo 0xcc00+STD_BETA_DECODE,0x0058,0x0108,0x0000
2022 #define writeDECChannelConfigurationOverridePhantom 0xcc00+STD_BETA_DECODE,0x0058,0x0105,0x0000
2023 #define writeDECChannelConfigurationOverrideSurround 0xcc00+STD_BETA_DECODE,0x0058,0x010a,0x0000
2025 #define writeDECChannelConfigurationOverrideNone_0 0xcc00+STD_BETA_DECODE,0x0058,0x0001,0x0000
2026 #define writeDECChannelConfigurationOverrideMono_0 0xcc00+STD_BETA_DECODE,0x0058,0x0002,0x0000
2027 #define writeDECChannelConfigurationOverridePhantom0_0 0xcc00+STD_BETA_DECODE,0x0058,0x0003,0x0000
2028 #define writeDECChannelConfigurationOverridePhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0058,0x0003,0x0001
2029 #define writeDECChannelConfigurationOverridePhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0058,0x0003,0x0002
2030 #define writeDECChannelConfigurationOverridePhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0058,0x0003,0x0003
2031 #define wroteDECChannelConfigurationOverridePhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0058,0x0003,0x0004
2032 #define writeDECChannelConfigurationOverridePhantom1_0 0xcc00+STD_BETA_DECODE,0x0058,0x0004,0x0000
2033 #define writeDECChannelConfigurationOverridePhantom2_0 0xcc00+STD_BETA_DECODE,0x0058,0x0005,0x0000
2034 #define wroteDECChannelConfigurationOverridePhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0058,0x0005,0x0001
2035 #define writeDECChannelConfigurationOverridePhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0058,0x0005,0x0002
2036 #define wroteDECChannelConfigurationOverridePhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0058,0x0005,0x0003
2037 #define writeDECChannelConfigurationOverridePhantom3_0 0xcc00+STD_BETA_DECODE,0x0058,0x0006,0x0000
2038 #define writeDECChannelConfigurationOverridePhantom4_0 0xcc00+STD_BETA_DECODE,0x0058,0x0007,0x0000
2039 #define writeDECChannelConfigurationOverrideSurround0_0 0xcc00+STD_BETA_DECODE,0x0058,0x0008,0x0000
2040 #define writeDECChannelConfigurationOverrideSurround1_0 0xcc00+STD_BETA_DECODE,0x0058,0x0009,0x0000
2041 #define writeDECChannelConfigurationOverrideSurround2_0 0xcc00+STD_BETA_DECODE,0x0058,0x000a,0x0000
2042 #define wroteDECChannelConfigurationOverrideSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0058,0x000a,0x0001
2043 #define writeDECChannelConfigurationOverrideSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0058,0x000a,0x0002
2044 #define wroteDECChannelConfigurationOverrideSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0058,0x000a,0x0003
2045 #define writeDECChannelConfigurationOverrideSurround3_0 0xcc00+STD_BETA_DECODE,0x0058,0x000b,0x0000
2046 #define writeDECChannelConfigurationOverrideSurround4_0 0xcc00+STD_BETA_DECODE,0x0058,0x000c,0x0000
2048 #define writeDECChannelConfigurationOverrideNone_1 0xcc00+STD_BETA_DECODE,0x0058,0x0101,0x0000
2049 #define writeDECChannelConfigurationOverrideMono_1 0xcc00+STD_BETA_DECODE,0x0058,0x0102,0x0000
2050 #define writeDECChannelConfigurationOverridePhantom0_1 0xcc00+STD_BETA_DECODE,0x0058,0x0103,0x0000
2051 #define writeDECChannelConfigurationOverridePhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0058,0x0103,0x0001
2052 #define writeDECChannelConfigurationOverridePhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0058,0x0103,0x0002
2053 #define writeDECChannelConfigurationOverridePhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0058,0x0103,0x0003
2054 #define wroteDECChannelConfigurationOverridePhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0058,0x0103,0x0004
2055 #define writeDECChannelConfigurationOverridePhantom1_1 0xcc00+STD_BETA_DECODE,0x0058,0x0104,0x0000
2056 #define writeDECChannelConfigurationOverridePhantom2_1 0xcc00+STD_BETA_DECODE,0x0058,0x0105,0x0000
2057 #define wroteDECChannelConfigurationOverridePhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0058,0x0105,0x0001
2058 #define writeDECChannelConfigurationOverridePhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0058,0x0105,0x0002
2059 #define wroteDECChannelConfigurationOverridePhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0058,0x0105,0x0003
2060 #define writeDECChannelConfigurationOverridePhantom3_1 0xcc00+STD_BETA_DECODE,0x0058,0x0106,0x0000
2061 #define writeDECChannelConfigurationOverridePhantom4_1 0xcc00+STD_BETA_DECODE,0x0058,0x0107,0x0000
2062 #define writeDECChannelConfigurationOverrideSurround0_1 0xcc00+STD_BETA_DECODE,0x0058,0x0108,0x0000
2063 #define writeDECChannelConfigurationOverrideSurround1_1 0xcc00+STD_BETA_DECODE,0x0058,0x0109,0x0000
2064 #define writeDECChannelConfigurationOverrideSurround2_1 0xcc00+STD_BETA_DECODE,0x0058,0x010a,0x0000
2065 #define wroteDECChannelConfigurationOverrideSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0058,0x010a,0x0001
2066 #define writeDECChannelConfigurationOverrideSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0058,0x010a,0x0002
2067 #define wroteDECChannelConfigurationOverrideSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0058,0x010a,0x0003
2068 #define writeDECChannelConfigurationOverrideSurround3_1 0xcc00+STD_BETA_DECODE,0x0058,0x010b,0x0000
2069 #define writeDECChannelConfigurationOverrideSurround4_1 0xcc00+STD_BETA_DECODE,0x0058,0x010c,0x0000
2071 #define writeDECChannelConfigurationOverrideHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0058,LL,HH
2073 #define wroteDECChannelConfigurationOverride 0xcc00+STD_BETA_DECODE,0x0058
2075 //ATMOS
2076 #define writeDECChannelConfigurationOverrideSurround2ATMOS_0(n) 0xce00+STD_BETA_DECODE,0x5808,0x000a,0x0000,(n<<8),0x0000
2077 #define writeDECChannelConfigurationOverrideSurround2ATMOS_1(n) 0xce00+STD_BETA_DECODE,0x5808,0x010a,0x0000,(n<<8),0x0000
2078 #define writeDECChannelConfigurationOverrideSurround2ATMOS_2(n) 0xce00+STD_BETA_DECODE,0x5808,0x020a,0x0000,(n<<8),0x0000
2079 #define wroteDECChannelConfigurationOverrideSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5808,0x000a,0x0003,(n<<8),0x0000
2080 #define wroteDECChannelConfigurationOverrideSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5808,0x010a,0x0003,(n<<8),0x0000
2081 #define wroteDECChannelConfigurationOverrideSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5808,0x020a,0x0003,(n<<8),0x0000
2083 #define writeDECChannelConfigurationOverrideSurround2LwRwATMOS_0(n) 0xce00+STD_BETA_DECODE,0x5808,0x000a,0x0100,(n<<8),0x0000
2084 #define writeDECChannelConfigurationOverrideSurround2LwRwATMOS_1(n) 0xce00+STD_BETA_DECODE,0x5808,0x010a,0x0100,(n<<8),0x0000
2085 #define writeDECChannelConfigurationOverrideSurround2LwRwATMOS_2(n) 0xce00+STD_BETA_DECODE,0x5808,0x020a,0x0100,(n<<8),0x0000
2086 #define wroteDECChannelConfigurationOverrideSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5808,0x000a,0x0103,(n<<8),0x0000
2087 #define wroteDECChannelConfigurationOverrideSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5808,0x010a,0x0103,(n<<8),0x0000
2088 #define wroteDECChannelConfigurationOverrideSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5808,0x020a,0x0103,(n<<8),0x0000
2090 #define writeDECChannelConfigurationOverrideSurround4ATMOS_0(n) 0xce00+STD_BETA_DECODE,0x5808,0x000c,0x0000,(n<<8),0x0000
2091 #define writeDECChannelConfigurationOverrideSurround4ATMOS_1(n) 0xce00+STD_BETA_DECODE,0x5808,0x010c,0x0000,(n<<8),0x0000
2092 #define writeDECChannelConfigurationOverrideSurround4ATMOS_2(n) 0xce00+STD_BETA_DECODE,0x5808,0x020c,0x0000,(n<<8),0x0000
2093 #define wroteDECChannelConfigurationOverrideSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5808,0x000c,0x0003,(n<<8),0x0000
2094 #define wroteDECChannelConfigurationOverrideSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5808,0x010c,0x0003,(n<<8),0x0000
2095 #define wroteDECChannelConfigurationOverrideSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5808,0x020c,0x0003,(n<<8),0x0000
2097 #define writeDECChannelConfigurationOverrideSurround4LwRwATMOS_0(n) 0xce00+STD_BETA_DECODE,0x5808,0x000a,0x0100,(n<<8),0x0000
2098 #define writeDECChannelConfigurationOverrideSurround4LwRwATMOS_1(n) 0xce00+STD_BETA_DECODE,0x5808,0x010a,0x0100,(n<<8),0x0000
2099 #define writeDECChannelConfigurationOverrideSurround4LwRwATMOS_2(n) 0xce00+STD_BETA_DECODE,0x5808,0x020a,0x0100,(n<<8),0x0000
2100 #define wroteDECChannelConfigurationOverrideSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5808,0x000c,0x0103,(n<<8),0x0000
2101 #define wroteDECChannelConfigurationOverrideSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5808,0x010c,0x0103,(n<<8),0x0000
2102 #define wroteDECChannelConfigurationOverrideSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5808,0x020c,0x0103,(n<<8),0x0000
2104 #define writeDECChannelConfigurationOverrideSurround2LtfRtfLtrRtr_0 writeDECChannelConfigurationOverrideSurround2ATMOS_0(0xA)
2105 #define writeDECChannelConfigurationOverrideSurround2LtfRtfLtrRtr_1 writeDECChannelConfigurationOverrideSurround2ATMOS_1(0xA)
2106 #define writeDECChannelConfigurationOverrideSurround2LtfRtfLtrRtr_2 writeDECChannelConfigurationOverrideSurround2ATMOS_2(0xA)
2107 #define wroteDECChannelConfigurationOverrideSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationOverrideSurround2ATMOSMono_0(0xA)
2108 #define wroteDECChannelConfigurationOverrideSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationOverrideSurround2ATMOSMono_1(0xA)
2109 #define wroteDECChannelConfigurationOverrideSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationOverrideSurround2ATMOSMono_2(0xA)
2111 #define writeDECChannelConfigurationOverrideSurround4LtmRtm_0 writeDECChannelConfigurationOverrideSurround4ATMOS_0(0x4)
2112 #define writeDECChannelConfigurationOverrideSurround4LtmRtm_1 writeDECChannelConfigurationOverrideSurround4ATMOS_1(0x4)
2113 #define writeDECChannelConfigurationOverrideSurround4LtmRtm_2 writeDECChannelConfigurationOverrideSurround4ATMOS_2(0x4)
2114 #define wroteDECChannelConfigurationOverrideSurround4LtmRtm_0 wroteDECChannelConfigurationOverrideSurround4ATMOSMono_0(0x4)
2115 #define wroteDECChannelConfigurationOverrideSurround4LtmRtm_1 wroteDECChannelConfigurationOverrideSurround4ATMOSMono_1(0x4)
2116 #define wroteDECChannelConfigurationOverrideSurround4LtmRtm_2 wroteDECChannelConfigurationOverrideSurround4ATMOSMono_2(0x4)
2118 #define writeDECChannelConfigurationOverrideSurround2LwRwLtfRtfLtrRtr_0 writeDECChannelConfigurationOverrideSurround2LwRwATMOS_0(0xA)
2119 #define writeDECChannelConfigurationOverrideSurround2LwRwLtfRtfLtrRtr_1 writeDECChannelConfigurationOverrideSurround2LwRwATMOS_1(0xA)
2120 #define writeDECChannelConfigurationOverrideSurround2LwRwLtfRtfLtrRtr_2 writeDECChannelConfigurationOverrideSurround2LwRwATMOS_2(0xA)
2121 #define wroteDECChannelConfigurationOverrideSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationOverrideSurround2LwRwATMOSMono_0(0xA)
2122 #define wroteDECChannelConfigurationOverrideSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationOverrideSurround2LwRwATMOSMono_1(0xA)
2123 #define wroteDECChannelConfigurationOverrideSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationOverrideSurround2LwRwATMOSMono_2(0xA)
2125 #define writeDECChannelConfigurationOverrideSurround4LtfRtfLtrRtr_0 writeDECChannelConfigurationOverrideSurround4ATMOS_0(0xA)
2126 #define writeDECChannelConfigurationOverrideSurround4LtfRtfLtrRtr_1 writeDECChannelConfigurationOverrideSurround4ATMOS_1(0xA)
2127 #define writeDECChannelConfigurationOverrideSurround4LtfRtfLtrRtr_2 writeDECChannelConfigurationOverrideSurround4ATMOS_2(0xA)
2128 #define wroteDECChannelConfigurationOverrideSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationOverrideSurround4ATMOSMono_0(0xA)
2129 #define wroteDECChannelConfigurationOverrideSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationOverrideSurround4ATMOSMono_1(0xA)
2130 #define wroteDECChannelConfigurationOverrideSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationOverrideSurround4ATMOSMono_2(0xA)
2132 #define writeDECChannelConfigurationOverrideSurround4LwRwLtfRtfLtrRtr_0 writeDECChannelConfigurationOverrideSurround4LwRwATMOS_0(0xA)
2133 #define writeDECChannelConfigurationOverrideSurround4LwRwLtfRtfLtrRtr_1 writeDECChannelConfigurationOverrideSurround4LwRwATMOS_1(0xA)
2134 #define writeDECChannelConfigurationOverrideSurround4LwRwLtfRtfLtrRtr_2 writeDECChannelConfigurationOverrideSurround4LwRwATMOS_2(0xA)
2135 #define wroteDECChannelConfigurationOverrideSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationOverrideSurround4LwRwATMOSMono_0(0xA)
2136 #define wroteDECChannelConfigurationOverrideSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationOverrideSurround4LwRwATMOSMono_1(0xA)
2137 #define wroteDECChannelConfigurationOverrideSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationOverrideSurround4LwRwATMOSMono_2(0xA)
2139 #define readDECChannelConfigurationOverrideATMOSChan         0xc200+STD_BETA_DECODE,0x5d00
2140 #define readDECChannelConfigurationOverrideATMOSMask         readDECChannelConfigurationOverrideATMOSChan
2141 #define writeDECChannelConfigurationOverrideATMOSChanNone     0xca00+STD_BETA_DECODE,0x5d00
2142 #define writeDECChannelConfigurationOverrideATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x5d11)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
2143 #define writeDECChannelConfigurationOverrideATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x5d0a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
2144 #define writeDECChannelConfigurationOverrideATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x5d04)//PAF_CC_EXTMASK_LtmRtm
2146 //-------------------------------------------------------------------------------------------------------------
2148 #define  readDECFrameLength 0xc300+STD_BETA_DECODE,0x0030
2149 #define wroteDECFrameLength 0xcb00+STD_BETA_DECODE,0x0030
2151 #define  readDECBufferRatio 0xc200+STD_BETA_DECODE,0x3200
2152 #define writeDECBufferRatio1 0xca00+STD_BETA_DECODE,0x3201
2153 #define writeDECBufferRatio2 0xca00+STD_BETA_DECODE,0x3202
2154 #define writeDECBufferRatio4 0xca00+STD_BETA_DECODE,0x3204
2155 #define writeDECBufferRatioE 0xca00+STD_BETA_DECODE,0x32fe
2156 #define writeDECBufferRatioC 0xca00+STD_BETA_DECODE,0x32fc
2158 #define  readDECEmphasis 0xc200+STD_BETA_DECODE,0x3300
2159 #define wroteDECEmphasisUnknown 0xca00+STD_BETA_DECODE,0x3300
2160 #define wroteDECEmphasisNo      0xca00+STD_BETA_DECODE,0x3301
2161 #define wroteDECEmphasisYes     0xca00+STD_BETA_DECODE,0x3302
2163 #define  readDECBufferDrift     0xc300+STD_BETA_DECODE,0x0034
2165 #if PAF_MAXNUMCHAN==8
2167 #define  readDECChannelMapFrom 0xc600+STD_BETA_DECODE,0x6008
2168 #define wroteDECChannelMapFrom 0xce00+STD_BETA_DECODE,0x6008
2169 #define writeDECChannelMapFrom2(N0,N1) \
2170         0xce00+STD_BETA_DECODE,0x6002,TWOUP(N0,N1)
2171 #define writeDECChannelMapFrom8(N0,N1,N2,N3,N4,N5,N6,N7) \
2172         0xce00+STD_BETA_DECODE,0x6008,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7)
2174 #define  readDECChannelMapTo 0xc600+STD_BETA_DECODE,0x6808
2175 #define wroteDECChannelMapTo 0xce00+STD_BETA_DECODE,0x6808
2176 #define writeDECChannelMapTo8(N0,N1,N2,N3,N4,N5,N6,N7) \
2177         0xce00+STD_BETA_DECODE,0x6808,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7)
2178         
2179 #define  readDECProgramFormat 0xc400+STD_BETA_DECODE,0x0070
2180 #define wroteDECProgramFormat 0xcc00+STD_BETA_DECODE,0x0070     
2181 #elif PAF_MAXNUMCHAN==16
2182         
2183 #define  readDECChannelMapFrom 0xc600+STD_BETA_DECODE,0x6010
2184 #define wroteDECChannelMapFrom 0xce00+STD_BETA_DECODE,0x6010
2185 #define writeDECChannelMapFrom2(N0,N1) \
2186         0xce00+STD_BETA_DECODE,0x6002,TWOUP(N0,N1)
2187 #define writeDECChannelMapFrom8(N0,N1,N2,N3,N4,N5,N6,N7) \
2188         0xce00+STD_BETA_DECODE,0x6008,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7)
2189 #define writeDECChannelMapFrom16(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf) \
2190         0xce00+STD_BETA_DECODE,0x6010,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \
2191         TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf)
2193 #define  readDECChannelMapTo 0xc600+STD_BETA_DECODE,0x7010
2194 #define wroteDECChannelMapTo 0xce00+STD_BETA_DECODE,0x7010
2195 #define writeDECChannelMapTo16(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf) \
2196         0xce00+STD_BETA_DECODE,0x7010,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \
2197         TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf)
2198                 
2199 #define  readDECProgramFormat 0xc400+STD_BETA_DECODE,0x0080
2200 #define wroteDECProgramFormat 0xcc00+STD_BETA_DECODE,0x0080
2201 #elif PAF_MAXNUMCHAN==32
2202         
2203 #define  readDECChannelMapFrom 0xc600+STD_BETA_DECODE,0x6020
2204 #define wroteDECChannelMapFrom 0xce00+STD_BETA_DECODE,0x6020
2205 #define writeDECChannelMapFrom2(N0,N1) \
2206         0xce00+STD_BETA_DECODE,0x6002,TWOUP(N0,N1)
2207 #define writeDECChannelMapFrom8(N0,N1,N2,N3,N4,N5,N6,N7) \
2208         0xce00+STD_BETA_DECODE,0x6008,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7)
2209 #define writeDECChannelMapFrom16(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf) \
2210         0xce00+STD_BETA_DECODE,0x6010,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \
2211         TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf)
2212                 
2213 #define writeDECChannelMapFrom32(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf,N10,N11,N12,N13,N14,N15,N16,N17,N18,N19,N1a,N1b,N1c,N1d,N1e,N1f) \
2214         0xce00+STD_BETA_DECODE,0x6020,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \
2215         TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf), \
2216                 TWOUP(N10,N11),TWOUP(N12,N13),TWOUP(N14,N15),TWOUP(N16,N17), \
2217         TWOUP(N18,N19),TWOUP(N1a,N1b),TWOUP(N1c,N1d),TWOUP(N1e,N1f)             
2219 #define  readDECChannelMapTo 0xc600+STD_BETA_DECODE,0x8020
2220 #define wroteDECChannelMapTo 0xce00+STD_BETA_DECODE,0x8020
2221 #define writeDECChannelMapTo16(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf) \
2222         0xce00+STD_BETA_DECODE,0x8010,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \
2223         TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf)
2224 #define writeDECChannelMapTo32(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf,N10,N11,N12,N13,N14,N15,N16,N17,N18,N19,N1a,N1b,N1c,N1d,N1e,N1f) \
2225         0xce00+STD_BETA_DECODE,0x8020,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \
2226         TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf), \
2227                 TWOUP(N10,N11),TWOUP(N12,N13),TWOUP(N14,N15),TWOUP(N16,N17), \
2228         TWOUP(N18,N19),TWOUP(N1a,N1b),TWOUP(N1c,N1d),TWOUP(N1e,N1f)             
2230 #define  readDECProgramFormat 0xc400+STD_BETA_DECODE,0x00A0
2231 #define  wroteDECProgramFormat 0xcc00+STD_BETA_DECODE,0x00A0            
2232 #else
2234 #error unsupported option
2236 #endif /* PAF_MAXNUMCHAN */
2238 #define  readDECStatus 0xc508,STD_BETA_DECODE
2239 #define  readDECControl \
2240          readDECMode, \
2241          readDECSourceSelect, \
2242          readDECSourceDual, \
2243          readDECSourceKaraoke, \
2244          readDECASPGearControl, \
2245          readDECBufferRatio, \
2246          readDECChannelConfigurationRequest, \
2247          readDECChannelConfigurationOverride, \
2248          readDECKaraokeCapableUserQ6, \
2249          readDECChannelMapFrom, \
2250          readDECChannelMapTo
2252 // binary operations
2254 #define  rb32DECSourceProgram 0xc000+STD_BETA_DECODE,0x0a49
2255 #define  rb32DECSampleRate 0xc000+STD_BETA_DECODE,0x0849
2256 #define  rb32DECChannelConfigurationProgram 0xc000+STD_BETA_DECODE,0x4044
2259 // XX symbolic definitions are obsolete; please replace use. For backards compatibility:
2260 #define writeDECKaraokeCapableUserQ6XX6(N0,N1,N2,N3,N4,N5) \
2261     writeDECKaraokeCapableUserQ6N6(0x##N0,0x##N1,0x##N2,0x##N3,0x##N4,0x##N5)
2262 #define writeDECKaraokeCapableUserVocal1LevelQ6XX(N) writeDECKaraokeCapableUserVocal1LevelQ6N(0x##N)
2263 #define writeDECKaraokeCapableUserVocal1PanQ6XX(N) writeDECKaraokeCapableUserVocal1PanQ6N(0x##N)
2264 #define writeDECKaraokeCapableUserVocal2LevelQ6XX(N) writeDECKaraokeCapableUserVocal2LevelQ6N(0x##N)
2265 #define writeDECKaraokeCapableUserVocal2PanQ6XX(N) writeDECKaraokeCapableUserVocal2PanQ6N(0x##N)
2266 #define writeDECKaraokeCapableUserMelodyLevelQ6XX(N) writeDECKaraokeCapableUserMelodyLevelQ6N(0x##N)
2267 #define writeDECKaraokeCapableUserMelodyPanQ6XX(N) writeDECKaraokeCapableUserMelodyPanQ6N(0x##N)
2269 #endif /* _PAFDEC_A */