Pyalpha tools for performance audio demo in PRSDK.
[processor-sdk/performance-audio-tools.git] / alpha / pafsys_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 System alpha codes
39 //
40 //
41 //
43 #ifndef _PAFSYS_A
44 #define _PAFSYS_A
46 #include <pafmac_a.h>
47 #include <acpbeta.h>
49 #define PAF_SYS_MODE_DEC 0x01
50 #define PAF_SYS_MODE_BM  0x02
51 #define PAF_SYS_MODE_DEM 0x04
52 #define PAF_SYS_MODE_THX 0x08
53 #define PAF_SYS_MODE_CPULOAD 0x10
54 #define PAF_SYS_MODE_UNUSED2 0x20
55 #define PAF_SYS_MODE_UNUSED3 0x40
56 #define PAF_SYS_MODE_RESERVED 0x80
58 #define PAF_SYS_MODE_NONE 0x00
59 #define PAF_SYS_MODE_ALL 0x7f
61 #define PAF_SYS_RECREATIONMODE_NONE 0
62 #define PAF_SYS_RECREATIONMODE_MONO 1
63 #define PAF_SYS_RECREATIONMODE_STEREO 2
64 #define PAF_SYS_RECREATIONMODE_PHANTOM0_1 3
65 #define PAF_SYS_RECREATIONMODE_SURROUND0_1 4
66 #define PAF_SYS_RECREATIONMODE_PHANTOM2_1 5
67 #define PAF_SYS_RECREATIONMODE_SURROUND2_1 6
68 #define PAF_SYS_RECREATIONMODE_N 7
70 #define PAF_SYS_RECREATIONMODE_DONT 0x80
71 #define PAF_SYS_RECREATIONMODE_DIRECT 0x81
72 #define PAF_SYS_RECREATIONMODE_AUTO 0x82
74 #define PAF_SYS_SPEAKERFREQ_LO 0x10
75 #define PAF_SYS_SPEAKERFREQ_HI 0x20
77 #define PAF_SYS_SPEAKERNUMB 0x0f
78 #define PAF_SYS_SPEAKERSIZE 0xf0
80 #define PAF_SYS_SPEAKERSIZE_NONE 0
81 #define PAF_SYS_SPEAKERSIZE_BASS PAF_SYS_SPEAKERFREQ_LO
82 #define PAF_SYS_SPEAKERSIZE_SMALL PAF_SYS_SPEAKERFREQ_HI
83 #define PAF_SYS_SPEAKERSIZE_LARGE \
84     (PAF_SYS_SPEAKERFREQ_LO + PAF_SYS_SPEAKERFREQ_HI)
86 #define PAF_SYS_CCRTYPE_STANDARD 0
87 #define PAF_SYS_CCRTYPE_DECODEBYPASS 1
88 #define PAF_SYS_CCRTYPE_DECODEDIRECT 2
90 /* The following (old-style alpha code symbols) should be modified to use */
91 /* the preceding, and new-style alpha code symbols will result.           */
93 #define  readSYSMode 0xc200+STD_BETA_SYSIDL,0x0400
94 #define  readSYSListeningMode 0xc200+STD_BETA_SYSIDL,0x0500
95 #define  readSYSRecreationMode 0xc200+STD_BETA_SYSIDL,0x0600
96 #define  readSYSSpeakerMain 0xc200+STD_BETA_SYSIDL,0x0700
97 #define  readSYSSpeakerCntr 0xc200+STD_BETA_SYSIDL,0x0800
98 #define  readSYSSpeakerSurr 0xc200+STD_BETA_SYSIDL,0x0900
99 #define  readSYSSpeakerBack 0xc200+STD_BETA_SYSIDL,0x0a00
100 #define  readSYSSpeakerSubw 0xc200+STD_BETA_SYSIDL,0x0b00
101 #define  readSYSChannelConfigurationRequestType 0xc200+STD_BETA_SYSIDL,0x0c00
102 #define  readSYSChannelConfigurationRequest 0xc600+STD_BETA_SYSIDL,0x2008
103 #define  readSYSSpeakerWide 0xc200+STD_BETA_SYSIDL,0x1800
104 #define  readSYSSpeakerHigh 0xc200+STD_BETA_SYSIDL,0x1900
106 #define  readSYSSpeakerTopfront 0xc200+STD_BETA_SYSIDL,0x1A00
107 #define  readSYSspeakerToprear 0xc200+STD_BETA_SYSIDL,0x1B00
108 #define  readSYSspeakerTopmiddle 0xc200+STD_BETA_SYSIDL,0x1C00
109 #define  readSYSspeakerFrontheight 0xc200+STD_BETA_SYSIDL,0x1D00
110 #define  readSYSspeakerRearheight 0xc200+STD_BETA_SYSIDL,0x1E00
112 #ifdef FULL_SPEAKER
113 #define  readSYSspeakerScreen 0xc200+STD_BETA_SYSIDL,0x2800
115 #define  readSYSSurr1 0xc200+STD_BETA_SYSIDL,0x2900
116 #define  readSYSSurr2 0xc200+STD_BETA_SYSIDL,0x2a00
117 #define  readSYSRearSurr1 0xc200+STD_BETA_SYSIDL,0x2b00
118 #define  readSYSRearSurr2 0xc200+STD_BETA_SYSIDL,0x2c00
119 #define  readSYSCntrSurr 0xc200+STD_BETA_SYSIDL,0x2d00
120 #define  readSYSLRCntr 0xc200+STD_BETA_SYSIDL,0x2e00
121 #define  readSYSLRCntrSurr 0xc200+STD_BETA_SYSIDL,0x2f00
123 #endif
125 #define writeSYSModeDisable 0xca00+STD_BETA_SYSIDL,0x0400
126 #define writeSYSModeEnable 0xca00+STD_BETA_SYSIDL,0x047f
127 #define writeSYSModeN(NN) 0xca00+STD_BETA_SYSIDL,0x0400+((NN)&0xff)
129 #define wroteSYSListeningModeUnknown 0xca00+STD_BETA_SYSIDL,0x0500
130 #define wroteSYSListeningModeStandard 0xca00+STD_BETA_SYSIDL,0x0501
131 #define wroteSYSListeningModePure 0xca00+STD_BETA_SYSIDL,0x0502
133 #define writeSYSRecreationModeNone 0xca00+STD_BETA_SYSIDL,0x0600
134 #define writeSYSRecreationModeMono 0xca00+STD_BETA_SYSIDL,0x0601
135 #define writeSYSRecreationModeStereo 0xca00+STD_BETA_SYSIDL,0x0602
136 #define writeSYSRecreationMode2Stereo 0xca00+STD_BETA_SYSIDL,0x0603
137 #define writeSYSRecreationMode3Stereo 0xca00+STD_BETA_SYSIDL,0x0604
138 #define writeSYSRecreationModePhantom 0xca00+STD_BETA_SYSIDL,0x0605
139 #define writeSYSRecreationModeSurround 0xca00+STD_BETA_SYSIDL,0x0606
140 #define writeSYSRecreationModeDont 0xca00+STD_BETA_SYSIDL,0x0680
141 #define writeSYSRecreationModeDirect 0xca00+STD_BETA_SYSIDL,0x0681
142 #define writeSYSRecreationModeAuto 0xca00+STD_BETA_SYSIDL,0x0682
144 #define writeSYSSpeakerMainSmall2 0xca00+STD_BETA_SYSIDL,0x0722
145 #define writeSYSSpeakerMainLarge2 0xca00+STD_BETA_SYSIDL,0x0732
147 #define writeSYSSpeakerCntrNone 0xca00+STD_BETA_SYSIDL,0x0800
148 #define writeSYSSpeakerCntrSmall1 0xca00+STD_BETA_SYSIDL,0x0821
149 #define writeSYSSpeakerCntrLarge1 0xca00+STD_BETA_SYSIDL,0x0831
151 #define writeSYSSpeakerSurrNone 0xca00+STD_BETA_SYSIDL,0x0900
152 #define writeSYSSpeakerSurrSmall2 0xca00+STD_BETA_SYSIDL,0x0922
153 #define writeSYSSpeakerSurrLarge2 0xca00+STD_BETA_SYSIDL,0x0932
155 #define writeSYSSpeakerBackNone 0xca00+STD_BETA_SYSIDL,0x0a00
156 #define writeSYSSpeakerBackSmall1 0xca00+STD_BETA_SYSIDL,0x0a21
157 #define writeSYSSpeakerBackLarge1 0xca00+STD_BETA_SYSIDL,0x0a31
158 #define writeSYSSpeakerBackSmall2 0xca00+STD_BETA_SYSIDL,0x0a22
159 #define writeSYSSpeakerBackLarge2 0xca00+STD_BETA_SYSIDL,0x0a32
161 #define writeSYSSpeakerSubwNone 0xca00+STD_BETA_SYSIDL,0x0b00
162 #define writeSYSSpeakerSubwBass1 0xca00+STD_BETA_SYSIDL,0x0b11
163 #define writeSYSSpeakerSubwBass2 0xca00+STD_BETA_SYSIDL,0x0b12
164 #define writeSYSSpeakerSubwLarge1 0xca00+STD_BETA_SYSIDL,0x0b31
165 #define writeSYSSpeakerSubwLarge2 0xca00+STD_BETA_SYSIDL,0x0b32
167 #define writeSYSSpeakerWideNone 0xca00+STD_BETA_SYSIDL,0x1800
168 #define writeSYSSpeakerWideSmall2 0xca00+STD_BETA_SYSIDL,0x1822
169 #define writeSYSSpeakerWideLarge2 0xca00+STD_BETA_SYSIDL,0x1832
171 #define writeSYSSpeakerHighNone 0xca00+STD_BETA_SYSIDL,0x1900
172 #define writeSYSSpeakerHighSmall2 0xca00+STD_BETA_SYSIDL,0x1922
173 #define writeSYSSpeakerHighLarge2 0xca00+STD_BETA_SYSIDL,0x1932
175 #define writeSYSSpeakerTopfrontNone 0xca00+STD_BETA_SYSIDL,0x1A00
176 #define writeSYSSpeakerTopfrontSmall2 0xca00+STD_BETA_SYSIDL,0x1A22
177 #define writeSYSSpeakerTopfrontLarge2 0xca00+STD_BETA_SYSIDL,0x1A32
178 #define writeSYSSpeakerToprearNone 0xca00+STD_BETA_SYSIDL,0x1B00
179 #define writeSYSSpeakerToprearSmall2 0xca00+STD_BETA_SYSIDL,0x1B22
180 #define writeSYSSpeakerToprearLarge2 0xca00+STD_BETA_SYSIDL,0x1B32
181 #define writeSYSSpeakerTopmiddleNone 0xca00+STD_BETA_SYSIDL,0x1C00
182 #define writeSYSSpeakerTopmiddleSmall2 0xca00+STD_BETA_SYSIDL,0x1C22
183 #define writeSYSSpeakerTopmiddleLarge2 0xca00+STD_BETA_SYSIDL,0x1C32
184 #define writeSYSSpeakerFrontheightNone 0xca00+STD_BETA_SYSIDL,0x1D00
185 #define writeSYSSpeakerFrontheightSmall2 0xca00+STD_BETA_SYSIDL,0x1D22
186 #define writeSYSSpeakerFrontheightLarge2 0xca00+STD_BETA_SYSIDL,0x1D32
187 #define writeSYSSpeakerRearheightNone 0xca00+STD_BETA_SYSIDL,0x1E00
188 #define writeSYSSpeakerRearheightSmall2 0xca00+STD_BETA_SYSIDL,0x1E22
189 #define writeSYSSpeakerRearheightLarge2 0xca00+STD_BETA_SYSIDL,0x1E32
191 #ifdef FULL_SPEAKER
192 #define writeSYSSpeakerScreenNone 0xca00+STD_BETA_SYSIDL,0x2800
193 #define writeSYSSpeakerScreenSmall2 0xca00+STD_BETA_SYSIDL,0x2822
194 #define writeSYSSpeakerScreenLarge2 0xca00+STD_BETA_SYSIDL,0x2832
196 #define writeSYSSurr1None 0xca00+STD_BETA_SYSIDL,0x2900
197 #define writeSYSSurr1Small2 0xca00+STD_BETA_SYSIDL,0x2922
198 #define writeSYSSurr1Large2 0xca00+STD_BETA_SYSIDL,0x2932
200 #define writeSYSSurr2None 0xca00+STD_BETA_SYSIDL,0x2a00
201 #define writeSYSSurr2Small2 0xca00+STD_BETA_SYSIDL,0x2a22
202 #define writeSYSSurr2Large2 0xca00+STD_BETA_SYSIDL,0x2a32
204 #define writeSYSRearSurr1None 0xca00+STD_BETA_SYSIDL,0x2b00
205 #define writeSYSRearSurr1Small2 0xca00+STD_BETA_SYSIDL,0x2b22
206 #define writeSYSRearSurr1Large2 0xca00+STD_BETA_SYSIDL,0x2b32
208 #define writeSYSRearSurr2None 0xca00+STD_BETA_SYSIDL,0x2c00
209 #define writeSYSRearSurr2Small2 0xca00+STD_BETA_SYSIDL,0x2c22
210 #define writeSYSRearSurr2Large2 0xca00+STD_BETA_SYSIDL,0x2c32
212 #define writeSYSCntrSurrNone 0xca00+STD_BETA_SYSIDL,0x2d00
213 #define writeSYSCntrSurrSmall1 0xca00+STD_BETA_SYSIDL,0x2d21
214 #define writeSYSCntrSurrLarge1 0xca00+STD_BETA_SYSIDL,0x2d31
216 #define writeSYSLRCntrNone 0xca00+STD_BETA_SYSIDL,0x2e00
217 #define writeSYSLRCntrSmall2 0xca00+STD_BETA_SYSIDL,0x2e22
218 #define writeSYSLRCntrLarge2 0xca00+STD_BETA_SYSIDL,0x2e32
220 #define writeSYSLRCntrSurrNone 0xca00+STD_BETA_SYSIDL,0x2f00
221 #define writeSYSLRCntrSurrSmall2 0xca00+STD_BETA_SYSIDL,0x2f22
222 #define writeSYSLRCntrSurrLarge2 0xca00+STD_BETA_SYSIDL,0x2f32
223 #endif
225 #define writeSYSChannelConfigurationRequestTypeStandard 0xca00+STD_BETA_SYSIDL,0x0c00
226 #define writeSYSChannelConfigurationRequestTypeDecodeBypass 0xca00+STD_BETA_SYSIDL,0x0c01
227 #define writeSYSChannelConfigurationRequestTypeDecodeDirect 0xca00+STD_BETA_SYSIDL,0x0c02
229 #define readSYSImageSwitch 0xc200+STD_BETA_SYSIDL,0x0d00
230 #define writeSYSImageSwitchN(N) 0xca00+STD_BETA_SYSIDL,0x0d00+N
231 #define writeimage1 0xca00+STD_BETA_SYSIDL,0x0d01
232 #define writeimage2 0xca00+STD_BETA_SYSIDL,0x0d02
233 #define writeimage3 0xca00+STD_BETA_SYSIDL,0x0d03
235 #define readSYSImageNum 0xc200+STD_BETA_SYSIDL,0x0e00
237 #define readSYSImageNumMax 0xc200+STD_BETA_SYSIDL,0x0f00
240 #define writeSYSChannelConfigurationRequestUnknown 0xcc00+STD_BETA_SYSIDL,0x0020,0x0000,0x0000
242 #define writeSYSChannelConfigurationRequestNone       writeSYSChannelConfigurationRequestNone_0 
243 #define writeSYSChannelConfigurationRequestMono       writeSYSChannelConfigurationRequestMono_0 
244 #define writeSYSChannelConfigurationRequestStereo     writeSYSChannelConfigurationRequestPhantom0_0 
245 #define writeSYSChannelConfigurationRequestStereoLtRt writeSYSChannelConfigurationRequestPhantom0LtRt_0 
246 #define writeSYSChannelConfigurationRequestStereoMono writeSYSChannelConfigurationRequestPhantom0Mono_0 
247 #define writeSYSChannelConfigurationRequest3Stereo    writeSYSChannelConfigurationRequestSurround0_1 
248 #define writeSYSChannelConfigurationRequestPhantom    writeSYSChannelConfigurationRequestPhantom2_1 
249 #define writeSYSChannelConfigurationRequestSurround   writeSYSChannelConfigurationRequestSurround2_1 
251 #define writeSYSChannelConfigurationRequestNone_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0001,0x0000
252 #define writeSYSChannelConfigurationRequestMono_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0002,0x0000
253 #define writeSYSChannelConfigurationRequestPhantom0_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,0x0000
254 #define writeSYSChannelConfigurationRequestPhantom0Stereo_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,0x0001
255 #define writeSYSChannelConfigurationRequestPhantom0LtRt_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,0x0002
256 #define writeSYSChannelConfigurationRequestPhantom0Mono_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,0x0003
257 #define wroteSYSChannelConfigurationRequestPhantom0Dual_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,0x0004
258 #define writeSYSChannelConfigurationRequestPhantom1_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0004,0x0000
259 #define writeSYSChannelConfigurationRequestPhantom2_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0005,0x0000
260 #define wroteSYSChannelConfigurationRequestPhantom2Stereo_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0005,0x0001
261 #define writeSYSChannelConfigurationRequestPhantom2LtRt_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0005,0x0002
262 #define wroteSYSChannelConfigurationRequestPhantom2Mono_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0005,0x0003
263 #define writeSYSChannelConfigurationRequestPhantom3_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0006,0x0000
264 #define writeSYSChannelConfigurationRequestPhantom4_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0007,0x0000
265 #define writeSYSChannelConfigurationRequestSurround0_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0008,0x0000
266 #define writeSYSChannelConfigurationRequestSurround1_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x0009,0x0000
267 #define writeSYSChannelConfigurationRequestSurround2_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,0x0000
268 #define wroteSYSChannelConfigurationRequestSurround2Stereo_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,0x0001
269 #define writeSYSChannelConfigurationRequestSurround2LtRt_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,0x0002
270 #define wroteSYSChannelConfigurationRequestSurround2Mono_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,0x0003
271 #define writeSYSChannelConfigurationRequestSurround3_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x000b,0x0000
272 #define writeSYSChannelConfigurationRequestSurround4_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x000c,0x0000
274 #define writeSYSChannelConfigurationRequestNone_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0101,0x0000
275 #define writeSYSChannelConfigurationRequestMono_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0102,0x0000
276 #define writeSYSChannelConfigurationRequestPhantom0_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,0x0000
277 #define writeSYSChannelConfigurationRequestPhantom0Stereo_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,0x0001
278 #define writeSYSChannelConfigurationRequestPhantom0LtRt_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,0x0002
279 #define writeSYSChannelConfigurationRequestPhantom0Mono_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,0x0003
280 #define wroteSYSChannelConfigurationRequestPhantom0Dual_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,0x0004
281 #define writeSYSChannelConfigurationRequestPhantom1_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0104,0x0000
282 #define writeSYSChannelConfigurationRequestPhantom2_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,0x0000
283 #define wroteSYSChannelConfigurationRequestPhantom2Stereo_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,0x0001
284 #define writeSYSChannelConfigurationRequestPhantom2LtRt_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,0x0002
285 #define wroteSYSChannelConfigurationRequestPhantom2Mono_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,0x0003
286 #define writeSYSChannelConfigurationRequestPhantom3_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0106,0x0000
287 #define writeSYSChannelConfigurationRequestPhantom4_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0107,0x0000
288 #define writeSYSChannelConfigurationRequestSurround0_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0108,0x0000
289 #define writeSYSChannelConfigurationRequestSurround1_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x0109,0x0000
290 #define writeSYSChannelConfigurationRequestSurround2_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,0x0000
291 #define wroteSYSChannelConfigurationRequestSurround2Stereo_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,0x0001
292 #define writeSYSChannelConfigurationRequestSurround2LtRt_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,0x0002
293 #define wroteSYSChannelConfigurationRequestSurround2Mono_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,0x0003
294 #define writeSYSChannelConfigurationRequestSurround3_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x010b,0x0000
295 #define writeSYSChannelConfigurationRequestSurround4_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x010c,0x0000
297 #define writeSYSChannelConfigurationRequestNone_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0201,0x0000
298 #define writeSYSChannelConfigurationRequestMono_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0202,0x0000
299 #define writeSYSChannelConfigurationRequestPhantom0_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,0x0000
300 #define writeSYSChannelConfigurationRequestPhantom0Stereo_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,0x0001
301 #define writeSYSChannelConfigurationRequestPhantom0LtRt_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,0x0002
302 #define writeSYSChannelConfigurationRequestPhantom0Mono_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,0x0003
303 #define wroteSYSChannelConfigurationRequestPhantom0Dual_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,0x0004
304 #define writeSYSChannelConfigurationRequestPhantom1_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0204,0x0000
305 #define writeSYSChannelConfigurationRequestPhantom2_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0205,0x0000
306 #define wroteSYSChannelConfigurationRequestPhantom2Stereo_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0205,0x0001
307 #define writeSYSChannelConfigurationRequestPhantom2LtRt_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0205,0x0002
308 #define wroteSYSChannelConfigurationRequestPhantom2Mono_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0205,0x0003
309 #define writeSYSChannelConfigurationRequestPhantom3_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0206,0x0000
310 #define writeSYSChannelConfigurationRequestPhantom4_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0207,0x0000
311 #define writeSYSChannelConfigurationRequestSurround0_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0208,0x0000
312 #define writeSYSChannelConfigurationRequestSurround1_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x0209,0x0000
313 #define writeSYSChannelConfigurationRequestSurround2_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x020a,0x0000
314 #define wroteSYSChannelConfigurationRequestSurround2Stereo_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x020a,0x0001
315 #define writeSYSChannelConfigurationRequestSurround2LtRt_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x020a,0x0002
316 #define wroteSYSChannelConfigurationRequestSurround2Mono_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x020a,0x0003
317 #define writeSYSChannelConfigurationRequestSurround3_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x020b,0x0000
318 #define writeSYSChannelConfigurationRequestSurround4_2 0xcc00+STD_BETA_SYSIDL,0x0020,0x020c,0x0000
320 #define writeSYSChannelConfigurationRequestStereoUnknown 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,0x0000
321 #define writeSYSChannelConfigurationRequestStereoStereo 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,0x0001
322 #define writeSYSChannelConfigurationRequestStereoDual 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,0x0004
323 #define writeSYSChannelConfigurationRequestSurround2Unknown_0 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,0x0000
324 #define writeSYSChannelConfigurationRequestSurround2Unknown_1 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,0x0000
326 // Extended channel configuration requests
328 #define writeSYSChannelConfigurationRequestNoneX(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0001,(n<<8)
329 #define writeSYSChannelConfigurationRequestNoneLwRw writeSYSChannelConfigurationRequestNoneX(0x01)
330 #define writeSYSChannelConfigurationRequestNoneLhRh writeSYSChannelConfigurationRequestNoneX(0x04)
331 #define writeSYSChannelConfigurationRequestNoneLwRwLhRh writeSYSChannelConfigurationRequestNoneX(0x05)
332 #define writeSYSChannelConfigurationRequestMonoX(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0002,(n<<8)
333 #define writeSYSChannelConfigurationRequestMonoLwRw writeSYSChannelConfigurationRequestMonoX(0x01)
334 #define writeSYSChannelConfigurationRequestMonoLhRh writeSYSChannelConfigurationRequestMonoX(0x04)
335 #define writeSYSChannelConfigurationRequestMonoLwRwLhRh writeSYSChannelConfigurationRequestMonoX(0x05)
336 #define writeSYSChannelConfigurationRequestStereoX(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,(n<<8)
337 #define writeSYSChannelConfigurationRequestStereoLwRw writeSYSChannelConfigurationRequestStereoX(0x01)
338 #define writeSYSChannelConfigurationRequestStereoLhRh writeSYSChannelConfigurationRequestStereoX(0x04)
339 #define writeSYSChannelConfigurationRequestStereoLwRwLhRh writeSYSChannelConfigurationRequestStereoX(0x05)
340 #define writeSYSChannelConfigurationRequestStereoXLtRt(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,((n<<8)|0x0002)
341 #define writeSYSChannelConfigurationRequestStereoLwRwLtRt writeSYSChannelConfigurationRequestStereoXLtRt(0x01)
342 #define writeSYSChannelConfigurationRequestStereoLhRhLtRt writeSYSChannelConfigurationRequestStereoXLtRt(0x04)
343 #define writeSYSChannelConfigurationRequestStereoLwRwLhRhLtRt writeSYSChannelConfigurationRequestStereoXLtRt(0x05)
344 #define writeSYSChannelConfigurationRequestStereoXMono(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,((n<<8)|0x0003)
345 #define writeSYSChannelConfigurationRequestStereoLwRwMono writeSYSChannelConfigurationRequestStereoXMono(0x01)
346 #define writeSYSChannelConfigurationRequestStereoLhRhMono writeSYSChannelConfigurationRequestStereoXMono(0x04)
347 #define writeSYSChannelConfigurationRequestStereoLwRwLhRhMono writeSYSChannelConfigurationRequestStereoXMono(0x05)
348 #define writeSYSChannelConfigurationRequest3StereoX(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0108,(n<<8)
349 #define writeSYSChannelConfigurationRequest3StereoLwRw writeSYSChannelConfigurationRequest3StereoX(0x01)
350 #define writeSYSChannelConfigurationRequest3StereoLhRh writeSYSChannelConfigurationRequest3StereoX(0x04)
351 #define writeSYSChannelConfigurationRequest3StereoLwRwLhRh writeSYSChannelConfigurationRequest3StereoX(0x05)
352 #define writeSYSChannelConfigurationRequestPhantomX(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,(n<<8)
353 #define writeSYSChannelConfigurationRequestPhantomLwRw writeSYSChannelConfigurationRequestPhantomX(0x01)
354 #define writeSYSChannelConfigurationRequestPhantomLhRh writeSYSChannelConfigurationRequestPhantomX(0x04)
355 #define writeSYSChannelConfigurationRequestPhantomLwRwLhRh writeSYSChannelConfigurationRequestPhantomX(0x05)
356 #define writeSYSChannelConfigurationRequestSurroundX(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,(n<<8)
357 #define writeSYSChannelConfigurationRequestSurroundLwRw writeSYSChannelConfigurationRequestSurroundX(0x01)
358 #define writeSYSChannelConfigurationRequestSurroundLhRh writeSYSChannelConfigurationRequestSurroundX(0x04)
359 #define writeSYSChannelConfigurationRequestSurroundLwRwLhRh writeSYSChannelConfigurationRequestSurroundX(0x05)
361 // _0
362 #define writeSYSChannelConfigurationRequestNoneX_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0001,(n<<8)
363 #define writeSYSChannelConfigurationRequestNoneLwRw_0 writeSYSChannelConfigurationRequestNoneX_0(0x01)
364 #define writeSYSChannelConfigurationRequestNoneLhRh_0 writeSYSChannelConfigurationRequestNoneX_0(0x04)
365 #define writeSYSChannelConfigurationRequestNoneLwRwLhRh_0 writeSYSChannelConfigurationRequestNoneX_0(0x05)
366 #define writeSYSChannelConfigurationRequestMonoX_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0002,(n<<8)
367 #define writeSYSChannelConfigurationRequestMonoLwRw_0 writeSYSChannelConfigurationRequestMonoX_0(0x01)
368 #define writeSYSChannelConfigurationRequestMonoLhRh_0 writeSYSChannelConfigurationRequestMonoX_0(0x04)
369 #define writeSYSChannelConfigurationRequestMonoLwRwLhRh_0 writeSYSChannelConfigurationRequestMonoX_0(0x05)
370 #define writeSYSChannelConfigurationRequestPhantom0X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,(n<<8)
371 #define writeSYSChannelConfigurationRequestPhantom0LwRw_0 writeSYSChannelConfigurationRequestPhantom0X_0(0x01)
372 #define writeSYSChannelConfigurationRequestPhantom0LhRh_0 writeSYSChannelConfigurationRequestPhantom0X_0(0x04)
373 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRh_0 writeSYSChannelConfigurationRequestPhantom0X_0(0x05)
374 #define writeSYSChannelConfigurationRequestPhantom0XStereo_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,((n<<8)|0x0001)
375 #define writeSYSChannelConfigurationRequestPhantom0LwRwStereo_0 writeSYSChannelConfigurationRequestPhantom0XStereo_0(0x01)
376 #define writeSYSChannelConfigurationRequestPhantom0LhRhStereo_0 writeSYSChannelConfigurationRequestPhantom0XStereo_0(0x04) 
377 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhStereo_0 writeSYSChannelConfigurationRequestPhantom0XStereo_0(0x05) 
378 #define writeSYSChannelConfigurationRequestPhantom0XLtRt_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,((n<<8)|0x0002)
379 #define writeSYSChannelConfigurationRequestPhantom0LwRwLtRt_0 writeSYSChannelConfigurationRequestPhantom0XLtRt_0(0x01)
380 #define writeSYSChannelConfigurationRequestPhantom0LhRhLtRt_0 writeSYSChannelConfigurationRequestPhantom0XLtRt_0(0x04)
381 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhLtRt_0 writeSYSChannelConfigurationRequestPhantom0XLtRt_0(0x05)
382 #define writeSYSChannelConfigurationRequestPhantom0XMono_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,((n<<8)|0x0003)
383 #define writeSYSChannelConfigurationRequestPhantom0LwRwMono_0 writeSYSChannelConfigurationRequestPhantom0XMono_0(0x01)
384 #define writeSYSChannelConfigurationRequestPhantom0LhRhMono_0 writeSYSChannelConfigurationRequestPhantom0XMono_0(0x04)
385 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhMono_0 writeSYSChannelConfigurationRequestPhantom0XMono_0(0x05)
386 #define writeSYSChannelConfigurationRequestPhantom0XDual_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0003,((n<<8)|0x0004)
387 #define writeSYSChannelConfigurationRequestPhantom0LwRwDual_0 writeSYSChannelConfigurationRequestPhantom0XDual_0(0x01)
388 #define writeSYSChannelConfigurationRequestPhantom0LhRhDual_0 writeSYSChannelConfigurationRequestPhantom0XDual_0(0x04)
389 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhDual_0 writeSYSChannelConfigurationRequestPhantom0XDual_0(0x05)
390 #define writeSYSChannelConfigurationRequestPhantom1X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0004,(n<<8)
391 #define writeSYSChannelConfigurationRequestPhantom1LwRw_0 writeSYSChannelConfigurationRequestPhantom1X_0(0x01)
392 #define writeSYSChannelConfigurationRequestPhantom1LhRh_0 writeSYSChannelConfigurationRequestPhantom1X_0(0x04)
393 #define writeSYSChannelConfigurationRequestPhantom1LwRwLhRh_0 writeSYSChannelConfigurationRequestPhantom1X_0(0x05)
394 #define writeSYSChannelConfigurationRequestPhantom2X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0005,(n<<8)
395 #define writeSYSChannelConfigurationRequestPhantom2LwRw_0 writeSYSChannelConfigurationRequestPhantom2X_0(0x01)
396 #define writeSYSChannelConfigurationRequestPhantom2LhRh_0 writeSYSChannelConfigurationRequestPhantom2X_0(0x04)
397 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRh_0 writeSYSChannelConfigurationRequestPhantom2X_0(0x05)
398 #define writeSYSChannelConfigurationRequestPhantom2XStereo_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0005,((n<<8)|0x0001)
399 #define writeSYSChannelConfigurationRequestPhantom2LwRwStereo_0 writeSYSChannelConfigurationRequestPhantom2XStereo_0(0x01) 
400 #define writeSYSChannelConfigurationRequestPhantom2LhRhStereo_0 writeSYSChannelConfigurationRequestPhantom2XStereo_0(0x04) 
401 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhStereo_0 writeSYSChannelConfigurationRequestPhantom2XStereo_0(0x05) 
402 #define writeSYSChannelConfigurationRequestPhantom2XLtRt_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0005,((n<<8)|0x0002)
403 #define writeSYSChannelConfigurationRequestPhantom2LwRwLtRt_0 writeSYSChannelConfigurationRequestPhantom2XLtRt_0(0x01) 
404 #define writeSYSChannelConfigurationRequestPhantom2LhRhLtRt_0 writeSYSChannelConfigurationRequestPhantom2XLtRt_0(0x04) 
405 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhLtRt_0 writeSYSChannelConfigurationRequestPhantom2XLtRt_0(0x05) 
406 #define writeSYSChannelConfigurationRequestPhantom2XMono_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0005,((n<<8)|0x0003)
407 #define writeSYSChannelConfigurationRequestPhantom2LwRwMono_0 writeSYSChannelConfigurationRequestPhantom2XMono_0(0x01) 
408 #define writeSYSChannelConfigurationRequestPhantom2LhRhMono_0 writeSYSChannelConfigurationRequestPhantom2XMono_0(0x04)
409 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhMono_0 writeSYSChannelConfigurationRequestPhantom2XMono_0(0x05) 
410 #define writeSYSChannelConfigurationRequestPhantom3X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0006,(n<<8)
411 #define writeSYSChannelConfigurationRequestPhantom3LwRw_0 writeSYSChannelConfigurationRequestPhantom3X_0(0x01)
412 #define writeSYSChannelConfigurationRequestPhantom3LhRh_0 writeSYSChannelConfigurationRequestPhantom3X_0(0x04)
413 #define writeSYSChannelConfigurationRequestPhantom3LwRwLhRh_0 writeSYSChannelConfigurationRequestPhantom3X_0(0x05)
414 #define writeSYSChannelConfigurationRequestPhantom4X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0007,(n<<8)
415 #define writeSYSChannelConfigurationRequestPhantom4LwRw_0 writeSYSChannelConfigurationRequestPhantom4X_0(0x01)
416 #define writeSYSChannelConfigurationRequestPhantom4LhRh_0 writeSYSChannelConfigurationRequestPhantom4X_0(0x04)
417 #define writeSYSChannelConfigurationRequestPhantom4LwRwLhRh_0 writeSYSChannelConfigurationRequestPhantom4X_0(0x05)
418 #define writeSYSChannelConfigurationRequestSurround0X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0008,(n<<8)
419 #define writeSYSChannelConfigurationRequestSurround0LwRw_0 writeSYSChannelConfigurationRequestSurround0X_0(0x01)
420 #define writeSYSChannelConfigurationRequestSurround0LhRh_0 writeSYSChannelConfigurationRequestSurround0X_0(0x04)
421 #define writeSYSChannelConfigurationRequestSurround0LwRwLhRh_0 writeSYSChannelConfigurationRequestSurround0X_0(0x05)
422 #define writeSYSChannelConfigurationRequestSurround1X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0009,(n<<8)
423 #define writeSYSChannelConfigurationRequestSurround1LwRw_0 writeSYSChannelConfigurationRequestSurround1X_0(0x01)
424 #define writeSYSChannelConfigurationRequestSurround1LhRh_0 writeSYSChannelConfigurationRequestSurround1X_0(0x04)
425 #define writeSYSChannelConfigurationRequestSurround1LwRwLhRh_0 writeSYSChannelConfigurationRequestSurround1X_0(0x05)
426 #define writeSYSChannelConfigurationRequestSurround2X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,(n<<8)
427 #define writeSYSChannelConfigurationRequestSurround2LwRw_0 writeSYSChannelConfigurationRequestSurround2X_0(0x01)
428 #define writeSYSChannelConfigurationRequestSurround2LhRh_0 writeSYSChannelConfigurationRequestSurround2X_0(0x04)
429 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRh_0 writeSYSChannelConfigurationRequestSurround2X_0(0x05)
430 #define writeSYSChannelConfigurationRequestSurround2XStereo_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,((n<<8)|0x0001)
431 #define writeSYSChannelConfigurationRequestSurround2LwRwStereo_0 writeSYSChannelConfigurationRequestSurround2XStereo_0(0x01)
432 #define writeSYSChannelConfigurationRequestSurround2LhRhStereo_0 writeSYSChannelConfigurationRequestSurround2XStereo_0(0x04)
433 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhStereo_0 writeSYSChannelConfigurationRequestSurround2XStereo_0(0x05)
434 #define writeSYSChannelConfigurationRequestSurround2XLtRt_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,((n<<8)|0x0002)
435 #define writeSYSChannelConfigurationRequestSurround2LwRwLtRt_0 writeSYSChannelConfigurationRequestSurround2XLtRt_0(0x01) 
436 #define writeSYSChannelConfigurationRequestSurround2LhRhLtRt_0 writeSYSChannelConfigurationRequestSurround2XLtRt_0(0x04) 
437 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhLtRt_0 writeSYSChannelConfigurationRequestSurround2XLtRt_0(0x05) 
438 #define writeSYSChannelConfigurationRequestSurround2XMono_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x000a,((n<<8)|0x0003)
439 #define writeSYSChannelConfigurationRequestSurround2LwRwMono_0 writeSYSChannelConfigurationRequestSurround2XMono_0(0x01) 
440 #define writeSYSChannelConfigurationRequestSurround2LhRhMono_0 writeSYSChannelConfigurationRequestSurround2XMono_0(0x04)
441 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhMono_0 writeSYSChannelConfigurationRequestSurround2XMono_0(0x05) 
442 #define writeSYSChannelConfigurationRequestSurround3X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x000b,(n<<8)
443 #define writeSYSChannelConfigurationRequestSurround3LwRw_0 writeSYSChannelConfigurationRequestSurround3X_0(0x01)
444 #define writeSYSChannelConfigurationRequestSurround3LhRh_0 writeSYSChannelConfigurationRequestSurround3X_0(0x04)
445 #define writeSYSChannelConfigurationRequestSurround3LwRwLhRh_0 writeSYSChannelConfigurationRequestSurround3X_0(0x05)
446 #define writeSYSChannelConfigurationRequestSurround4X_0(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x000c,(n<<8)
447 #define writeSYSChannelConfigurationRequestSurround4LwRw_0 writeSYSChannelConfigurationRequestSurround4X_0(0x01)
448 #define writeSYSChannelConfigurationRequestSurround4LhRh_0 writeSYSChannelConfigurationRequestSurround4X_0(0x04)
449 #define writeSYSChannelConfigurationRequestSurround4LwRwLhRh_0 writeSYSChannelConfigurationRequestSurround4X_0(0x05)
451 // _1
452 #define writeSYSChannelConfigurationRequestNoneX_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0101,(n<<8)
453 #define writeSYSChannelConfigurationRequestNoneLwRw_1 writeSYSChannelConfigurationRequestNoneX_1(0x01)
454 #define writeSYSChannelConfigurationRequestNoneLhRh_1 writeSYSChannelConfigurationRequestNoneX_1(0x04)
455 #define writeSYSChannelConfigurationRequestNoneLwRwLhRh_1 writeSYSChannelConfigurationRequestNoneX_1(0x05)
456 #define writeSYSChannelConfigurationRequestMonoX_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0102,(n<<8)
457 #define writeSYSChannelConfigurationRequestMonoLwRw_1 writeSYSChannelConfigurationRequestMonoX_1(0x01)
458 #define writeSYSChannelConfigurationRequestMonoLhRh_1 writeSYSChannelConfigurationRequestMonoX_1(0x04)
459 #define writeSYSChannelConfigurationRequestMonoLwRwLhRh_1 writeSYSChannelConfigurationRequestMonoX_1(0x05)
460 #define writeSYSChannelConfigurationRequestPhantom0X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,(n<<8)
461 #define writeSYSChannelConfigurationRequestPhantom0LwRw_1 writeSYSChannelConfigurationRequestPhantom0X_1(0x01)
462 #define writeSYSChannelConfigurationRequestPhantom0LhRh_1 writeSYSChannelConfigurationRequestPhantom0X_1(0x04)
463 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRh_1 writeSYSChannelConfigurationRequestPhantom0X_1(0x05)
464 #define writeSYSChannelConfigurationRequestPhantom0XStereo_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,((n<<8)|0x0001)
465 #define writeSYSChannelConfigurationRequestPhantom0LwRwStereo_1 writeSYSChannelConfigurationRequestPhantom0XStereo_1(0x01)
466 #define writeSYSChannelConfigurationRequestPhantom0LhRhStereo_1 writeSYSChannelConfigurationRequestPhantom0XStereo_1(0x04) 
467 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhStereo_1 writeSYSChannelConfigurationRequestPhantom0XStereo_1(0x05) 
468 #define writeSYSChannelConfigurationRequestPhantom0XLtRt_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,((n<<8)|0x0002)
469 #define writeSYSChannelConfigurationRequestPhantom0LwRwLtRt_1 writeSYSChannelConfigurationRequestPhantom0XLtRt_1(0x01)
470 #define writeSYSChannelConfigurationRequestPhantom0LhRhLtRt_1 writeSYSChannelConfigurationRequestPhantom0XLtRt_1(0x04)
471 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhLtRt_1 writeSYSChannelConfigurationRequestPhantom0XLtRt_1(0x05)
472 #define writeSYSChannelConfigurationRequestPhantom0XMono_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,((n<<8)|0x0003)
473 #define writeSYSChannelConfigurationRequestPhantom0LwRwMono_1 writeSYSChannelConfigurationRequestPhantom0XMono_1(0x01)
474 #define writeSYSChannelConfigurationRequestPhantom0LhRhMono_1 writeSYSChannelConfigurationRequestPhantom0XMono_1(0x04)
475 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhMono_1 writeSYSChannelConfigurationRequestPhantom0XMono_1(0x05)
476 #define writeSYSChannelConfigurationRequestPhantom0XDual_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0103,((n<<8)|0x0004)
477 #define writeSYSChannelConfigurationRequestPhantom0LwRwDual_1 writeSYSChannelConfigurationRequestPhantom0XDual_1(0x01)
478 #define writeSYSChannelConfigurationRequestPhantom0LhRhDual_1 writeSYSChannelConfigurationRequestPhantom0XDual_1(0x04)
479 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhDual_1 writeSYSChannelConfigurationRequestPhantom0XDual_1(0x05)
480 #define writeSYSChannelConfigurationRequestPhantom1X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0104,(n<<8)
481 #define writeSYSChannelConfigurationRequestPhantom1LwRw_1 writeSYSChannelConfigurationRequestPhantom1X_1(0x01)
482 #define writeSYSChannelConfigurationRequestPhantom1LhRh_1 writeSYSChannelConfigurationRequestPhantom1X_1(0x04)
483 #define writeSYSChannelConfigurationRequestPhantom1LwRwLhRh_1 writeSYSChannelConfigurationRequestPhantom1X_1(0x05)
484 #define writeSYSChannelConfigurationRequestPhantom2X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,(n<<8)
485 #define writeSYSChannelConfigurationRequestPhantom2LwRw_1 writeSYSChannelConfigurationRequestPhantom2X_1(0x01)
486 #define writeSYSChannelConfigurationRequestPhantom2LhRh_1 writeSYSChannelConfigurationRequestPhantom2X_1(0x04)
487 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRh_1 writeSYSChannelConfigurationRequestPhantom2X_1(0x05)
488 #define writeSYSChannelConfigurationRequestPhantom2XStereo_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,((n<<8)|0x0001)
489 #define writeSYSChannelConfigurationRequestPhantom2LwRwStereo_1 writeSYSChannelConfigurationRequestPhantom2XStereo_1(0x01) 
490 #define writeSYSChannelConfigurationRequestPhantom2LhRhStereo_1 writeSYSChannelConfigurationRequestPhantom2XStereo_1(0x04) 
491 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhStereo_1 writeSYSChannelConfigurationRequestPhantom2XStereo_1(0x05) 
492 #define writeSYSChannelConfigurationRequestPhantom2XLtRt_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,((n<<8)|0x0002)
493 #define writeSYSChannelConfigurationRequestPhantom2LwRwLtRt_1 writeSYSChannelConfigurationRequestPhantom2XLtRt_1(0x01) 
494 #define writeSYSChannelConfigurationRequestPhantom2LhRhLtRt_1 writeSYSChannelConfigurationRequestPhantom2XLtRt_1(0x04) 
495 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhLtRt_1 writeSYSChannelConfigurationRequestPhantom2XLtRt_1(0x05) 
496 #define writeSYSChannelConfigurationRequestPhantom2XMono_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0105,((n<<8)|0x0003)
497 #define writeSYSChannelConfigurationRequestPhantom2LwRwMono_1 writeSYSChannelConfigurationRequestPhantom2XMono_1(0x01) 
498 #define writeSYSChannelConfigurationRequestPhantom2LhRhMono_1 writeSYSChannelConfigurationRequestPhantom2XMono_1(0x04)
499 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhMono_1 writeSYSChannelConfigurationRequestPhantom2XMono_1(0x05) 
500 #define writeSYSChannelConfigurationRequestPhantom3X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0106,(n<<8)
501 #define writeSYSChannelConfigurationRequestPhantom3LwRw_1 writeSYSChannelConfigurationRequestPhantom3X_1(0x01)
502 #define writeSYSChannelConfigurationRequestPhantom3LhRh_1 writeSYSChannelConfigurationRequestPhantom3X_1(0x04)
503 #define writeSYSChannelConfigurationRequestPhantom3LwRwLhRh_1 writeSYSChannelConfigurationRequestPhantom3X_1(0x05)
504 #define writeSYSChannelConfigurationRequestPhantom4X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0107,(n<<8)
505 #define writeSYSChannelConfigurationRequestPhantom4LwRw_1 writeSYSChannelConfigurationRequestPhantom4X_1(0x01)
506 #define writeSYSChannelConfigurationRequestPhantom4LhRh_1 writeSYSChannelConfigurationRequestPhantom4X_1(0x04)
507 #define writeSYSChannelConfigurationRequestPhantom4LwRwLhRh_1 writeSYSChannelConfigurationRequestPhantom4X_1(0x05)
508 #define writeSYSChannelConfigurationRequestSurround0X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0108,(n<<8)
509 #define writeSYSChannelConfigurationRequestSurround0LwRw_1 writeSYSChannelConfigurationRequestSurround0X_1(0x01)
510 #define writeSYSChannelConfigurationRequestSurround0LhRh_1 writeSYSChannelConfigurationRequestSurround0X_1(0x04)
511 #define writeSYSChannelConfigurationRequestSurround0LwRwLhRh_1 writeSYSChannelConfigurationRequestSurround0X_1(0x05)
512 #define writeSYSChannelConfigurationRequestSurround1X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0109,(n<<8)
513 #define writeSYSChannelConfigurationRequestSurround1LwRw_1 writeSYSChannelConfigurationRequestSurround1X_1(0x01)
514 #define writeSYSChannelConfigurationRequestSurround1LhRh_1 writeSYSChannelConfigurationRequestSurround1X_1(0x04)
515 #define writeSYSChannelConfigurationRequestSurround1LwRwLhRh_1 writeSYSChannelConfigurationRequestSurround1X_1(0x05)
516 #define writeSYSChannelConfigurationRequestSurround2X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,(n<<8)
517 #define writeSYSChannelConfigurationRequestSurround2LwRw_1 writeSYSChannelConfigurationRequestSurround2X_1(0x01)
518 #define writeSYSChannelConfigurationRequestSurround2LhRh_1 writeSYSChannelConfigurationRequestSurround2X_1(0x04)
519 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRh_1 writeSYSChannelConfigurationRequestSurround2X_1(0x05)
520 #define writeSYSChannelConfigurationRequestSurround2XStereo_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,((n<<8)|0x0001)
521 #define writeSYSChannelConfigurationRequestSurround2LwRwStereo_1 writeSYSChannelConfigurationRequestSurround2XStereo_1(0x01)
522 #define writeSYSChannelConfigurationRequestSurround2LhRhStereo_1 writeSYSChannelConfigurationRequestSurround2XStereo_1(0x04)
523 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhStereo_1 writeSYSChannelConfigurationRequestSurround2XStereo_1(0x05)
524 #define writeSYSChannelConfigurationRequestSurround2XLtRt_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,((n<<8)|0x0002)
525 #define writeSYSChannelConfigurationRequestSurround2LwRwLtRt_1 writeSYSChannelConfigurationRequestSurround2XLtRt_1(0x01) 
526 #define writeSYSChannelConfigurationRequestSurround2LhRhLtRt_1 writeSYSChannelConfigurationRequestSurround2XLtRt_1(0x04) 
527 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhLtRt_1 writeSYSChannelConfigurationRequestSurround2XLtRt_1(0x05) 
528 #define writeSYSChannelConfigurationRequestSurround2XMono_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x010a,((n<<8)|0x0003)
529 #define writeSYSChannelConfigurationRequestSurround2LwRwMono_1 writeSYSChannelConfigurationRequestSurround2XMono_1(0x01) 
530 #define writeSYSChannelConfigurationRequestSurround2LhRhMono_1 writeSYSChannelConfigurationRequestSurround2XMono_1(0x04)
531 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhMono_1 writeSYSChannelConfigurationRequestSurround2XMono_1(0x05) 
532 #define writeSYSChannelConfigurationRequestSurround3X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x010b,(n<<8)
533 #define writeSYSChannelConfigurationRequestSurround3LwRw_1 writeSYSChannelConfigurationRequestSurround3X_1(0x01)
534 #define writeSYSChannelConfigurationRequestSurround3LhRh_1 writeSYSChannelConfigurationRequestSurround3X_1(0x04)
535 #define writeSYSChannelConfigurationRequestSurround3LwRwLhRh_1 writeSYSChannelConfigurationRequestSurround3X_1(0x05)
536 #define writeSYSChannelConfigurationRequestSurround4X_1(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x010c,(n<<8)
537 #define writeSYSChannelConfigurationRequestSurround4LwRw_1 writeSYSChannelConfigurationRequestSurround4X_1(0x01)
538 #define writeSYSChannelConfigurationRequestSurround4LhRh_1 writeSYSChannelConfigurationRequestSurround4X_1(0x04)
539 #define writeSYSChannelConfigurationRequestSurround4LwRwLhRh_1 writeSYSChannelConfigurationRequestSurround4X_1(0x05)
540 // _2
541 #define writeSYSChannelConfigurationRequestNoneX_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0201,(n<<8)
542 #define writeSYSChannelConfigurationRequestNoneLwRw_2 writeSYSChannelConfigurationRequestNoneX_2(0x01)
543 #define writeSYSChannelConfigurationRequestNoneLhRh_2 writeSYSChannelConfigurationRequestNoneX_2(0x04)
544 #define writeSYSChannelConfigurationRequestNoneLwRwLhRh_2 writeSYSChannelConfigurationRequestNoneX_2(0x05)
545 #define writeSYSChannelConfigurationRequestMonoX_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0202,(n<<8)
546 #define writeSYSChannelConfigurationRequestMonoLwRw_2 writeSYSChannelConfigurationRequestMonoX_2(0x01)
547 #define writeSYSChannelConfigurationRequestMonoLhRh_2 writeSYSChannelConfigurationRequestMonoX_2(0x04)
548 #define writeSYSChannelConfigurationRequestMonoLwRwLhRh_2 writeSYSChannelConfigurationRequestMonoX_2(0x05)
549 #define writeSYSChannelConfigurationRequestPhantom0X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,(n<<8)
550 #define writeSYSChannelConfigurationRequestPhantom0LwRw_2 writeSYSChannelConfigurationRequestPhantom0X_2(0x01)
551 #define writeSYSChannelConfigurationRequestPhantom0LhRh_2 writeSYSChannelConfigurationRequestPhantom0X_2(0x04)
552 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRh_2 writeSYSChannelConfigurationRequestPhantom0X_2(0x05)
553 #define writeSYSChannelConfigurationRequestPhantom0XStereo_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,((n<<8)|0x0001)
554 #define writeSYSChannelConfigurationRequestPhantom0LwRwStereo_2 writeSYSChannelConfigurationRequestPhantom0XStereo_2(0x01)
555 #define writeSYSChannelConfigurationRequestPhantom0LhRhStereo_2 writeSYSChannelConfigurationRequestPhantom0XStereo_2(0x04) 
556 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhStereo_2 writeSYSChannelConfigurationRequestPhantom0XStereo_2(0x05) 
557 #define writeSYSChannelConfigurationRequestPhantom0XLtRt_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,((n<<8)|0x0002)
558 #define writeSYSChannelConfigurationRequestPhantom0LwRwLtRt_2 writeSYSChannelConfigurationRequestPhantom0XLtRt_2(0x01)
559 #define writeSYSChannelConfigurationRequestPhantom0LhRhLtRt_2 writeSYSChannelConfigurationRequestPhantom0XLtRt_2(0x04)
560 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhLtRt_2 writeSYSChannelConfigurationRequestPhantom0XLtRt_2(0x05)
561 #define writeSYSChannelConfigurationRequestPhantom0XMono_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,((n<<8)|0x0003)
562 #define writeSYSChannelConfigurationRequestPhantom0LwRwMono_2 writeSYSChannelConfigurationRequestPhantom0XMono_2(0x01)
563 #define writeSYSChannelConfigurationRequestPhantom0LhRhMono_2 writeSYSChannelConfigurationRequestPhantom0XMono_2(0x04)
564 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhMono_2 writeSYSChannelConfigurationRequestPhantom0XMono_2(0x05)
565 #define writeSYSChannelConfigurationRequestPhantom0XDual_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0203,((n<<8)|0x0004)
566 #define writeSYSChannelConfigurationRequestPhantom0LwRwDual_2 writeSYSChannelConfigurationRequestPhantom0XDual_2(0x01)
567 #define writeSYSChannelConfigurationRequestPhantom0LhRhDual_2 writeSYSChannelConfigurationRequestPhantom0XDual_2(0x04)
568 #define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhDual_2 writeSYSChannelConfigurationRequestPhantom0XDual_2(0x05)
569 #define writeSYSChannelConfigurationRequestPhantom1X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0204,(n<<8)
570 #define writeSYSChannelConfigurationRequestPhantom1LwRw_2 writeSYSChannelConfigurationRequestPhantom1X_2(0x01)
571 #define writeSYSChannelConfigurationRequestPhantom1LhRh_2 writeSYSChannelConfigurationRequestPhantom1X_2(0x04)
572 #define writeSYSChannelConfigurationRequestPhantom1LwRwLhRh_2 writeSYSChannelConfigurationRequestPhantom1X_2(0x05)
573 #define writeSYSChannelConfigurationRequestPhantom2X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0205,(n<<8)
574 #define writeSYSChannelConfigurationRequestPhantom2LwRw_2 writeSYSChannelConfigurationRequestPhantom2X_2(0x01)
575 #define writeSYSChannelConfigurationRequestPhantom2LhRh_2 writeSYSChannelConfigurationRequestPhantom2X_2(0x04)
576 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRh_2 writeSYSChannelConfigurationRequestPhantom2X_2(0x05)
577 #define writeSYSChannelConfigurationRequestPhantom2XStereo_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0205,((n<<8)|0x0001)
578 #define writeSYSChannelConfigurationRequestPhantom2LwRwStereo_2 writeSYSChannelConfigurationRequestPhantom2XStereo_2(0x01) 
579 #define writeSYSChannelConfigurationRequestPhantom2LhRhStereo_2 writeSYSChannelConfigurationRequestPhantom2XStereo_2(0x04) 
580 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhStereo_2 writeSYSChannelConfigurationRequestPhantom2XStereo_2(0x05) 
581 #define writeSYSChannelConfigurationRequestPhantom2XLtRt_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0205,((n<<8)|0x0002)
582 #define writeSYSChannelConfigurationRequestPhantom2LwRwLtRt_2 writeSYSChannelConfigurationRequestPhantom2XLtRt_2(0x01) 
583 #define writeSYSChannelConfigurationRequestPhantom2LhRhLtRt_2 writeSYSChannelConfigurationRequestPhantom2XLtRt_2(0x04) 
584 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhLtRt_2 writeSYSChannelConfigurationRequestPhantom2XLtRt_2(0x05) 
585 #define writeSYSChannelConfigurationRequestPhantom2XMono_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0205,((n<<8)|0x0003)
586 #define writeSYSChannelConfigurationRequestPhantom2LwRwMono_2 writeSYSChannelConfigurationRequestPhantom2XMono_2(0x01) 
587 #define writeSYSChannelConfigurationRequestPhantom2LhRhMono_2 writeSYSChannelConfigurationRequestPhantom2XMono_2(0x04)
588 #define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhMono_2 writeSYSChannelConfigurationRequestPhantom2XMono_2(0x05) 
589 #define writeSYSChannelConfigurationRequestPhantom3X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0206,(n<<8)
590 #define writeSYSChannelConfigurationRequestPhantom3LwRw_2 writeSYSChannelConfigurationRequestPhantom3X_2(0x01)
591 #define writeSYSChannelConfigurationRequestPhantom3LhRh_2 writeSYSChannelConfigurationRequestPhantom3X_2(0x04)
592 #define writeSYSChannelConfigurationRequestPhantom3LwRwLhRh_2 writeSYSChannelConfigurationRequestPhantom3X_2(0x05)
593 #define writeSYSChannelConfigurationRequestPhantom4X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0207,(n<<8)
594 #define writeSYSChannelConfigurationRequestPhantom4LwRw_2 writeSYSChannelConfigurationRequestPhantom4X_2(0x01)
595 #define writeSYSChannelConfigurationRequestPhantom4LhRh_2 writeSYSChannelConfigurationRequestPhantom4X_2(0x04)
596 #define writeSYSChannelConfigurationRequestPhantom4LwRwLhRh_2 writeSYSChannelConfigurationRequestPhantom4X_2(0x05)
597 #define writeSYSChannelConfigurationRequestSurround0X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0208,(n<<8)
598 #define writeSYSChannelConfigurationRequestSurround0LwRw_2 writeSYSChannelConfigurationRequestSurround0X_2(0x01)
599 #define writeSYSChannelConfigurationRequestSurround0LhRh_2 writeSYSChannelConfigurationRequestSurround0X_2(0x04)
600 #define writeSYSChannelConfigurationRequestSurround0LwRwLhRh_2 writeSYSChannelConfigurationRequestSurround0X_2(0x05)
601 #define writeSYSChannelConfigurationRequestSurround1X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x0209,(n<<8)
602 #define writeSYSChannelConfigurationRequestSurround1LwRw_2 writeSYSChannelConfigurationRequestSurround1X_2(0x01)
603 #define writeSYSChannelConfigurationRequestSurround1LhRh_2 writeSYSChannelConfigurationRequestSurround1X_2(0x04)
604 #define writeSYSChannelConfigurationRequestSurround1LwRwLhRh_2 writeSYSChannelConfigurationRequestSurround1X_2(0x05)
605 #define writeSYSChannelConfigurationRequestSurround2X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x020a,(n<<8)
606 #define writeSYSChannelConfigurationRequestSurround2LwRw_2 writeSYSChannelConfigurationRequestSurround2X_2(0x01)
607 #define writeSYSChannelConfigurationRequestSurround2LhRh_2 writeSYSChannelConfigurationRequestSurround2X_2(0x04)
608 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRh_2 writeSYSChannelConfigurationRequestSurround2X_2(0x05)
609 #define writeSYSChannelConfigurationRequestSurround2XStereo_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x020a,((n<<8)|0x0001)
610 #define writeSYSChannelConfigurationRequestSurround2LwRwStereo_2 writeSYSChannelConfigurationRequestSurround2XStereo_2(0x01)
611 #define writeSYSChannelConfigurationRequestSurround2LhRhStereo_2 writeSYSChannelConfigurationRequestSurround2XStereo_2(0x04)
612 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhStereo_2 writeSYSChannelConfigurationRequestSurround2XStereo_2(0x05)
613 #define writeSYSChannelConfigurationRequestSurround2XLtRt_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x020a,((n<<8)|0x0002)
614 #define writeSYSChannelConfigurationRequestSurround2LwRwLtRt_2 writeSYSChannelConfigurationRequestSurround2XLtRt_2(0x01) 
615 #define writeSYSChannelConfigurationRequestSurround2LhRhLtRt_2 writeSYSChannelConfigurationRequestSurround2XLtRt_2(0x04) 
616 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhLtRt_2 writeSYSChannelConfigurationRequestSurround2XLtRt_2(0x05) 
617 #define writeSYSChannelConfigurationRequestSurround2XMono_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x020a,((n<<8)|0x0003)
618 #define writeSYSChannelConfigurationRequestSurround2LwRwMono_2 writeSYSChannelConfigurationRequestSurround2XMono_2(0x01) 
619 #define writeSYSChannelConfigurationRequestSurround2LhRhMono_2 writeSYSChannelConfigurationRequestSurround2XMono_2(0x04)
620 #define writeSYSChannelConfigurationRequestSurround2LwRwLhRhMono_2 writeSYSChannelConfigurationRequestSurround2XMono_2(0x05) 
621 #define writeSYSChannelConfigurationRequestSurround3X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x020b,(n<<8)
622 #define writeSYSChannelConfigurationRequestSurround3LwRw_2 writeSYSChannelConfigurationRequestSurround3X_2(0x01)
623 #define writeSYSChannelConfigurationRequestSurround3LhRh_2 writeSYSChannelConfigurationRequestSurround3X_2(0x04)
624 #define writeSYSChannelConfigurationRequestSurround3LwRwLhRh_2 writeSYSChannelConfigurationRequestSurround3X_2(0x05)
625 #define writeSYSChannelConfigurationRequestSurround4X_2(n) 0xcc00+STD_BETA_SYSIDL,0x0020,0x020c,(n<<8)
626 #define writeSYSChannelConfigurationRequestSurround4LwRw_2 writeSYSChannelConfigurationRequestSurround4X_2(0x01)
627 #define writeSYSChannelConfigurationRequestSurround4LhRh_2 writeSYSChannelConfigurationRequestSurround4X_2(0x04)
628 #define writeSYSChannelConfigurationRequestSurround4LwRwLhRh_2 writeSYSChannelConfigurationRequestSurround4X_2(0x05)
630 #define writeSYSChannelConfigurationRequestHL(HH,LL) 0xcc00+STD_BETA_SYSIDL,0x0020,LL,HH
632 #define  readSYSChannelConfigurationRequestExtChan         0xc200+STD_BETA_SYSIDL,0x1300
633 #define  readSYSChannelConfigurationRequestExtMask         readSYSChannelConfigurationRequestExtChan
634 #define writeSYSChannelConfigurationRequestExtChanNone     0xca00+STD_BETA_SYSIDL,0x1300
635 #define writeSYSChannelConfigurationRequestExtChanLhRh     0xca00+STD_BETA_SYSIDL,0x1304 // PAF_CC_EXTMASK_LhRh
636 #define writeSYSChannelConfigurationRequestExtChanLwRw     0xca00+STD_BETA_SYSIDL,0x1301 // PAF_CC_EXTMASK_LwRw
637 #define writeSYSChannelConfigurationRequestExtChanLhRhLwRw 0xca00+STD_BETA_SYSIDL,0x1305 // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
638 #define writeSYSChannelConfigurationRequestExtChanLwRwLhRh writeSYSChannelConfigurationRequestExtChanLhRhLwRw
640 #define writeSYSChannelConfigurationRequestAuxUnknown 0xca00+STD_BETA_SYSIDL,0x1200
641 #define writeSYSChannelConfigurationRequestAuxStereo 0xca00+STD_BETA_SYSIDL,0x1201
642 #define writeSYSChannelConfigurationRequestAuxLtRt 0xca00+STD_BETA_SYSIDL,0x1202
643 #define writeSYSChannelConfigurationRequestAuxMono 0xca00+STD_BETA_SYSIDL,0x1203
644 #define writeSYSChannelConfigurationRequestAuxDual 0xca00+STD_BETA_SYSIDL,0x1204
646 //ATMOS
647 #define writeSYSChannelConfigurationRequestSurround2ATMOS_0(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x000a,0x0000,(n<<8),0x0000
648 #define writeSYSChannelConfigurationRequestSurround2ATMOS_1(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x010a,0x0000,(n<<8),0x0000
649 #define writeSYSChannelConfigurationRequestSurround2ATMOS_2(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x020a,0x0000,(n<<8),0x0000
650 #define wroteSYSChannelConfigurationRequestSurround2ATMOSMono_0(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x000a,0x0003,(n<<8),0x0000
651 #define wroteSYSChannelConfigurationRequestSurround2ATMOSMono_1(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x010a,0x0003,(n<<8),0x0000
652 #define wroteSYSChannelConfigurationRequestSurround2ATMOSMono_2(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x020a,0x0003,(n<<8),0x0000
654 #define writeSYSChannelConfigurationRequestSurround2LwRwATMOS_0(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x000a,0x0100,(n<<8),0x0000
655 #define writeSYSChannelConfigurationRequestSurround2LwRwATMOS_1(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x010a,0x0100,(n<<8),0x0000
656 #define writeSYSChannelConfigurationRequestSurround2LwRwATMOS_2(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x020a,0x0100,(n<<8),0x0000
657 #define wroteSYSChannelConfigurationRequestSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x000a,0x0103,(n<<8),0x0000
658 #define wroteSYSChannelConfigurationRequestSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x010a,0x0103,(n<<8),0x0000
659 #define wroteSYSChannelConfigurationRequestSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x020a,0x0103,(n<<8),0x0000
661 #define writeSYSChannelConfigurationRequestSurround4ATMOS_0(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x000c,0x0000,(n<<8),0x0000
662 #define writeSYSChannelConfigurationRequestSurround4ATMOS_1(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x010c,0x0000,(n<<8),0x0000
663 #define writeSYSChannelConfigurationRequestSurround4ATMOS_2(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x020c,0x0000,(n<<8),0x0000
664 #define wroteSYSChannelConfigurationRequestSurround4ATMOS_0(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x000c,0x0000,(n<<8),0x0000
665 #define wroteSYSChannelConfigurationRequestSurround4ATMOS_1(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x010c,0x0000,(n<<8),0x0000
666 #define wroteSYSChannelConfigurationRequestSurround4ATMOS_2(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x020c,0x0000,(n<<8),0x0000
668 #define writeSYSChannelConfigurationRequestSurround4LwRwATMOS_0(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x000c,0x0100,(n<<8),0x0000
669 #define writeSYSChannelConfigurationRequestSurround4LwRwATMOS_1(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x010c,0x0100,(n<<8),0x0000
670 #define writeSYSChannelConfigurationRequestSurround4LwRwATMOS_2(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x020c,0x0100,(n<<8),0x0000
671 #define wroteSYSChannelConfigurationRequestSurround4LwRwATMOS_0(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x000c,0x0100,(n<<8),0x0000
672 #define wroteSYSChannelConfigurationRequestSurround4LwRwATMOS_1(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x010c,0x0100,(n<<8),0x0000
673 #define wroteSYSChannelConfigurationRequestSurround4LwRwATMOS_2(n) 0xce00+STD_BETA_SYSIDL,0x2008,0x020c,0x0100,(n<<8),0x0000
675 #define writeSYSChannelConfigurationRequestSurround2LtfRtfLtrRtr_0 writeSYSChannelConfigurationRequestSurround2ATMOS_0(0xA)
676 #define writeSYSChannelConfigurationRequestSurround2LtfRtfLtrRtr_1 writeSYSChannelConfigurationRequestSurround2ATMOS_1(0xA)
677 #define writeSYSChannelConfigurationRequestSurround2LtfRtfLtrRtr_2 writeSYSChannelConfigurationRequestSurround2ATMOS_2(0xA)
678 #define wroteSYSChannelConfigurationRequestSurround2LtfRtfLtrRtr_0 wroteSYSChannelConfigurationRequestSurround2ATMOSMono_0(0xA)
679 #define wroteSYSChannelConfigurationRequestSurround2LtfRtfLtrRtr_1 wroteSYSChannelConfigurationRequestSurround2ATMOSMono_1(0xA)
680 #define wroteSYSChannelConfigurationRequestSurround2LtfRtfLtrRtr_2 wroteSYSChannelConfigurationRequestSurround2ATMOSMono_2(0xA)
682 #define writeSYSChannelConfigurationRequestSurround4LtmRtm_0 writeSYSChannelConfigurationRequestSurround4ATMOS_0(0x4)
683 #define writeSYSChannelConfigurationRequestSurround4LtmRtm_1 writeSYSChannelConfigurationRequestSurround4ATMOS_1(0x4)
684 #define writeSYSChannelConfigurationRequestSurround4LtmRtm_2 writeSYSChannelConfigurationRequestSurround4ATMOS_2(0x4)
685 #define wroteSYSChannelConfigurationRequestSurround4LtmRtm_0 wroteSYSChannelConfigurationRequestSurround4ATMOS_0(0x4)
686 #define wroteSYSChannelConfigurationRequestSurround4LtmRtm_1 wroteSYSChannelConfigurationRequestSurround4ATMOS_1(0x4)
687 #define wroteSYSChannelConfigurationRequestSurround4LtmRtm_2 wroteSYSChannelConfigurationRequestSurround4ATMOS_2(0x4)
689 #define writeSYSChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_0 writeSYSChannelConfigurationRequestSurround2LwRwATMOS_0(0xA)
690 #define writeSYSChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_1 writeSYSChannelConfigurationRequestSurround2LwRwATMOS_1(0xA)
691 #define writeSYSChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_2 writeSYSChannelConfigurationRequestSurround2LwRwATMOS_2(0xA)
692 #define wroteSYSChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_0 wroteSYSChannelConfigurationRequestSurround2LwRwATMOSMono_0(0xA)
693 #define wroteSYSChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_1 wroteSYSChannelConfigurationRequestSurround2LwRwATMOSMono_1(0xA)
694 #define wroteSYSChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_2 wroteSYSChannelConfigurationRequestSurround2LwRwATMOSMono_2(0xA)
696 #define writeSYSChannelConfigurationRequestSurround4LtfRtfLtrRtr_0 writeSYSChannelConfigurationRequestSurround4ATMOS_0(0xA)
697 #define writeSYSChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 writeSYSChannelConfigurationRequestSurround4ATMOS_1(0xA)
698 #define writeSYSChannelConfigurationRequestSurround4LtfRtfLtrRtr_2 writeSYSChannelConfigurationRequestSurround4ATMOS_2(0xA)
699 #define wroteSYSChannelConfigurationRequestSurround4LtfRtfLtrRtr_0 wroteSYSChannelConfigurationRequestSurround4ATMOS_0(0xA)
700 #define wroteSYSChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 wroteSYSChannelConfigurationRequestSurround4ATMOS_1(0xA)
701 #define wroteSYSChannelConfigurationRequestSurround4LtfRtfLtrRtr_2 wroteSYSChannelConfigurationRequestSurround4ATMOS_2(0xA)
703 #define writeSYSChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_0 writeSYSChannelConfigurationRequestSurround4LwRwATMOS_0(0xA)
704 #define writeSYSChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_1 writeSYSChannelConfigurationRequestSurround4LwRwATMOS_1(0xA)
705 #define writeSYSChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_2 writeSYSChannelConfigurationRequestSurround4LwRwATMOS_2(0xA)
706 #define wroteSYSChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_0 wroteSYSChannelConfigurationRequestSurround4LwRwATMOS_0(0xA)
707 #define wroteSYSChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_1 wroteSYSChannelConfigurationRequestSurround4LwRwATMOS_1(0xA)
708 #define wroteSYSChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_2 wroteSYSChannelConfigurationRequestSurround4LwRwATMOS_2(0xA)
710 #define readSYSChannelConfigurationRequestATMOSChan         0xc300+STD_BETA_SYSIDL,0x0024
711 #define readSYSChannelConfigurationRequestATMOSMask         readSYSChannelConfigurationRequestATMOSChan
712 #define writeSYSChannelConfigurationRequestATMOSChanNone     0xcb00+STD_BETA_SYSIDL,0x0024,0x0000
713 #define writeSYSChannelConfigurationRequestATMOSChanLfhRfhLrhRrh     0xcb00+STD_BETA_SYSIDL,0x0024,0x1100//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
714 #define writeSYSChannelConfigurationRequestATMOSChanLtfRtfLtrRtr     0xcb00+STD_BETA_SYSIDL,0x0024,0x0A00//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
715 #define writeSYSChannelConfigurationRequestATMOSChanLtmRtm 0xcb00+STD_BETA_SYSIDL,0x0024,0x0400//PAF_CC_EXTMASK_LtmRtm
717 //-------------------------------------------------------------------------------------------------------------
719 //  CPU load
720 #define readSYSCpuLoad                      0xc200+STD_BETA_SYSIDL,0x1500
721 #define readSYSCpuLoadQ8                    0xc300+STD_BETA_SYSIDL,0x0014
722 #define readSYSPeakCpuLoad                  0xc200+STD_BETA_SYSIDL,0x1700
723 #define readSYSPeakCpuLoadQ8                0xc300+STD_BETA_SYSIDL,0x0016
724 #define writeSYSPeakCpuLoadClear            0xcb00+STD_BETA_SYSIDL,0x0016,0x0000
726 // Per-Task loads.
727 //     ASIT: Audio Stream Input Task
728 //     ASOT: Audio Stream Output Task
729 //     AIP: Alpha Interval Processing Task
730 //     AFP: Alpha Function Processing Task
731 //     SS: System Stream
733 // Read ASIT instantaneous load
734 #define  readSYSAsitLoad                    0xc200+STD_BETA_SYSIDL,0x3000
735 // Read ASIT peak load
736 #define  readSYSPeakAsitLoad                0xc200+STD_BETA_SYSIDL,0x3100
737 // Clear ASIT peak load
738 #define  writeSYSPeakAsitLoadClear          0xca00+STD_BETA_SYSIDL,0x3100
739 // Read ASOT instantaneous load
740 #define  readSYSAsotLoad                    0xc200+STD_BETA_SYSIDL,0x3200
741 // Read ASOT peak load
742 #define  readSYSPeakAsotLoad                0xc200+STD_BETA_SYSIDL,0x3300
743 // Clear ASOT peak load
744 #define  writeSYSPeakAsotLoadClear          0xca00+STD_BETA_SYSIDL,0x3300
745 // Read AIP instantaneous load
746 #define  readSYSAipLoad                     0xc200+STD_BETA_SYSIDL,0x3400
747 // Read AIP peak load
748 #define  readSYSPeakAipLoad                 0xc200+STD_BETA_SYSIDL,0x3500
749 // Clear AIP peak load
750 #define  writeSYSPeakAipLoadClear           0xca00+STD_BETA_SYSIDL,0x3500
751 // Read AFP instantaneous load
752 #define  readSYSAfpLoad                     0xc200+STD_BETA_SYSIDL,0x3600
753 // Read AFP peak load
754 #define  readSYSPeakAfpLoad                 0xc200+STD_BETA_SYSIDL,0x3700
755 // Clear AFP peak load
756 #define  writeSYSPeakAfpLoadClear           0xca00+STD_BETA_SYSIDL,0x3700
757 // Read SS instantaneous load
758 #define  readSYSSsLoad                      0xc200+STD_BETA_SYSIDL,0x3800
759 // Read SS peak load
760 #define  readSYSPeakSsLoad                  0xc200+STD_BETA_SYSIDL,0x3900
761 // Clear SS peak load
762 #define  writeSYSPeakSsLoadClear            0xca00+STD_BETA_SYSIDL,0x3900
764 // Profile Points
765 #define PAF_SYS_PFP_LATCH_STATS_BASE        (0x58)
766 #define PAF_SYS_PFP_LATCH_STATS_BASE_LEN    (0x1C) // length of SYS PFP status structure
767 #define PAF_SYS_PFP_LATCH_STATS_PAD_LEN     (0x04) // pad length (added by compiler)
768 #define PAF_SYS_PFP_LATCH_STATS_LEN         ( PAF_SYS_PFP_LATCH_STATS_BASE_LEN + PAF_SYS_PFP_LATCH_STATS_PAD_LEN )
770 //
771 // For following alpha commands, each bit in masks/bit-field correspond to single PFP, PFP 0-31,
772 // i.e. Bit0: PFP #0, Bit1: PFP #1, ..., Bit31: PFP #31.
773 //     writeSYSPfpDisableMaskXX,
774 //     writeSYSPfpEnableMaskXX, 
775 //     readSYSPfpLatchStatsMask,
776 //     readSYSPfpResetStatsMask 
777 //     writeSYSPfpAlphaUpdateMaskXX
778 //     readSYSPfpEnabledBf 
779 //
780 // readSYSPfpAlphaUpdate & writeSYSPfpAlphaUpdateXX(N): alpha is read/written as IEEE single-precision float, hex representation
782 // Disable PFPs defined by mask. 1:disable, 0:don't disable.
783 #define  readSYSPfpDisableMask              0xc400+STD_BETA_SYSIDL,0x003c
784 #define  writeSYSPfpDisableMaskXX(N)        0xcc00+STD_BETA_SYSIDL,0x003c, LSW(0x##N), MSW(0x##N)
785 // Enable PFPs defined by mask. 1:enable, 0:don't enable.
786 #define  readSYSPfpEnableMask               0xc400+STD_BETA_SYSIDL,0x0040
787 #define  writeSYSPfpEnableMaskXX(N)         0xcc00+STD_BETA_SYSIDL,0x0040, LSW(0x##N), MSW(0x##N)
788 // Show currently enabled PFPs.
789 #define  readSYSPfpEnabledBf                0xc400+STD_BETA_SYSIDL,0x0044
790 // Latch stats for all PFPs defined by mask. 1:latch, 0:don't latch.
791 #define  readSYSPfpLatchStatsMask           0xc400+STD_BETA_SYSIDL,0x0048
792 #define  writeSYSPfpLatchStatsMaskXX(N)     0xcc00+STD_BETA_SYSIDL,0x0048, LSW(0x##N), MSW(0x##N)
793 // Reset stats for all PFPs defined by mask. 1:reset stats, 0:don't reset stats.
794 #define  readSYSPfpResetStatsMask           0xc400+STD_BETA_SYSIDL,0x004c
795 #define  writeSYSPfpResetStatsMaskXX(N)     0xcc00+STD_BETA_SYSIDL,0x004c, LSW(0x##N), MSW(0x##N)
796 // Update alpha (exponential time constant) for all PFPs defined by mask. 1:update alpha, 0:don't update alpha.
797 // Alpha update (see below) is written with desired value, and then alpha update mask is written to apply update to PFP's defined by mask.
798 #define  readSYSPfpAlphaUpdateMask          0xc400+STD_BETA_SYSIDL,0x0050
799 #define  writeSYSPfpAlphaUpdateMaskXX(N)    0xcc00+STD_BETA_SYSIDL,0x0050, LSW(0x##N), MSW(0x##N)
800 // Alpha update bound (checked in SYS target code): 0.0 <= alpha < 1.0.
801 // Alpha update is read/written as IEEE single-precision float, hex representation, i.e. 0.5 is input as 0x3f000000.
802 // If alpha update has been used, then alpha update is set to -1.0 (0xbf800000).
803 #define  readSYSPfpAlphaUpdate              0xc400+STD_BETA_SYSIDL,0x0054
804 #define  writeSYSPfpAlphaUpdateXX(N)        0xcc00+STD_BETA_SYSIDL,0x0054, LSW(0x##N), MSW(0x##N)
805 // Read latched stat for PFP #N, N=0-31.
806 // Alpha and c_average are read as IEEE single-precision float, hex representation.
807 #define  readSYSPfpLatchStatsN(N)           0xc600+STD_BETA_SYSIDL,((PAF_SYS_PFP_LATCH_STATS_BASE+(PAF_SYS_PFP_LATCH_STATS_LEN*N)&0xFF)<<8) | (PAF_SYS_PFP_LATCH_STATS_BASE_LEN&0xFF)
809 #define  readSYSStatus 0xc508,STD_BETA_SYSIDL
810 #define  readSYSControl \
811          readSYSMode, \
812          readSYSRecreationMode, \
813          readSYSSpeakerMain, \
814          readSYSSpeakerCntr, \
815          readSYSSpeakerSurr, \
816          readSYSSpeakerBack, \
817          readSYSSpeakerSubw, \
818          readSYSChannelConfigurationRequestType, \
819          readSYSChannelConfigurationRequest, \
820          readSYSImageSwitch, \
821          readSYSImageNum
823 #endif /* _PAFSYS_A */