/* * Copyright (C) 2004-2014 Texas Instruments Incorporated - http://www.ti.com/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the * distribution. * * Neither the name of Texas Instruments Incorporated nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ // // // Performance Audio Framework Encoder Declarations // // // #ifndef _PAFENC_A #define _PAFENC_A #include #include #include #define readENCMode 0xc200+STD_BETA_ENCODE,0x0400 #define writeENCModeDisable 0xca00+STD_BETA_ENCODE,0x0400 #define writeENCModeEnable 0xca00+STD_BETA_ENCODE,0x0401 #define writeENCModeChannelCompact 0xca00+STD_BETA_ENCODE,0x0402 #define readENCCommand 0xc200+STD_BETA_ENCODE,0x0500 #define writeENCCommandN(N) 0xca00+STD_BETA_ENCODE,0x0500+((N)&0xff) #define writeENCCommandNone 0xca00+STD_BETA_ENCODE,0x0500 #define writeENCCommandMute 0xca00+STD_BETA_ENCODE,0x0501 #define writeENCCommandUnmute 0xca00+STD_BETA_ENCODE,0x0502 #define wroteENCCommandNoned 0xca00+STD_BETA_ENCODE,0x0580 #define wroteENCCommandMuted 0xca00+STD_BETA_ENCODE,0x0581 #define wroteENCCommandUnmuted 0xca00+STD_BETA_ENCODE,0x0582 #define readENCSampleRate 0xc200+STD_BETA_ENCODE,0x0600 #define wroteENCSampleRateUnknown 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_UNKNOWN #define wroteENCSampleRateNone 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_NONE #define wroteENCSampleRate8000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_8000HZ #define wroteENCSampleRate11025Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_11025HZ #define wroteENCSampleRate12000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_12000HZ #define wroteENCSampleRate16000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_16000HZ #define wroteENCSampleRate22050Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_22050HZ #define wroteENCSampleRate24000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_24000HZ #define wroteENCSampleRate32000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_32000HZ #define wroteENCSampleRate44100Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_44100HZ #define wroteENCSampleRate48000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_48000HZ #define wroteENCSampleRate64000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_64000HZ #define wroteENCSampleRate88200Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_88200HZ #define wroteENCSampleRate96000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_96000HZ #define wroteENCSampleRate128000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_128000HZ #define wroteENCSampleRate176400Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_176400HZ #define wroteENCSampleRate192000Hz 0xca00+STD_BETA_ENCODE,0x0600+PAF_SAMPLERATE_192000HZ #define readENCChannelCount 0xc200+STD_BETA_ENCODE,0x0700 #define wroteENCChannelCountN(N) 0xc200+STD_BETA_ENCODE,0x0700+(N) #define readENCChannelConfigurationRequest 0xc400+STD_BETA_ENCODE,0x0020 #define writeENCChannelConfigurationRequestUnknown 0xcc00+STD_BETA_ENCODE,0x0020,0x0000,0x0000 #define writeENCChannelConfigurationRequestNone 0xcc00+STD_BETA_ENCODE,0x0020,0x0001,0x0000 #define writeENCChannelConfigurationRequestMono 0xcc00+STD_BETA_ENCODE,0x0020,0x0002,0x0000 #define writeENCChannelConfigurationRequestStereo 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,0x0000 #define wroteENCChannelConfigurationRequestStereoLtRt 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,0x0002 #define writeENCChannelConfigurationRequestNone_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0001,0x0000 #define writeENCChannelConfigurationRequestMono_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0002,0x0000 #define writeENCChannelConfigurationRequestPhantom0_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,0x0000 #define writeENCChannelConfigurationRequestPhantom0Stereo_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,0x0001 #define writeENCChannelConfigurationRequestPhantom0LtRt_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,0x0002 #define writeENCChannelConfigurationRequestPhantom0Mono_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,0x0003 #define wroteENCChannelConfigurationRequestPhantom0Dual_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,0x0004 #define writeENCChannelConfigurationRequestPhantom1_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0004,0x0000 #define writeENCChannelConfigurationRequestPhantom2_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0005,0x0000 #define wroteENCChannelConfigurationRequestPhantom2Stereo_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0005,0x0001 #define writeENCChannelConfigurationRequestPhantom2LtRt_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0005,0x0002 #define wroteENCChannelConfigurationRequestPhantom2Mono_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0005,0x0003 #define writeENCChannelConfigurationRequestPhantom3_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0006,0x0000 #define writeENCChannelConfigurationRequestPhantom4_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0007,0x0000 #define writeENCChannelConfigurationRequestSurround0_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0020,0x0000 #define writeENCChannelConfigurationRequestSurround1_0 0xcc00+STD_BETA_ENCODE,0x0020,0x0009,0x0000 #define writeENCChannelConfigurationRequestSurround2_0 0xcc00+STD_BETA_ENCODE,0x0020,0x000a,0x0000 #define wroteENCChannelConfigurationRequestSurround2Stereo_0 0xcc00+STD_BETA_ENCODE,0x0020,0x000a,0x0001 #define writeENCChannelConfigurationRequestSurround2LtRt_0 0xcc00+STD_BETA_ENCODE,0x0020,0x000a,0x0002 #define wroteENCChannelConfigurationRequestSurround2Mono_0 0xcc00+STD_BETA_ENCODE,0x0020,0x000a,0x0003 #define writeENCChannelConfigurationRequestSurround3_0 0xcc00+STD_BETA_ENCODE,0x0020,0x000b,0x0000 #define writeENCChannelConfigurationRequestSurround4_0 0xcc00+STD_BETA_ENCODE,0x0020,0x000c,0x0000 #define writeENCChannelConfigurationRequestNone_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0101,0x0000 #define writeENCChannelConfigurationRequestMono_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0102,0x0000 #define writeENCChannelConfigurationRequestPhantom0_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,0x0000 #define writeENCChannelConfigurationRequestPhantom0Stereo_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,0x0001 #define writeENCChannelConfigurationRequestPhantom0LtRt_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,0x0002 #define writeENCChannelConfigurationRequestPhantom0Mono_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,0x0003 #define wroteENCChannelConfigurationRequestPhantom0Dual_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,0x0004 #define writeENCChannelConfigurationRequestPhantom1_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0104,0x0000 #define writeENCChannelConfigurationRequestPhantom2_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0105,0x0000 #define wroteENCChannelConfigurationRequestPhantom2Stereo_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0105,0x0001 #define writeENCChannelConfigurationRequestPhantom2LtRt_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0105,0x0002 #define wroteENCChannelConfigurationRequestPhantom2Mono_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0105,0x0003 #define writeENCChannelConfigurationRequestPhantom3_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0106,0x0000 #define writeENCChannelConfigurationRequestPhantom4_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0107,0x0000 #define writeENCChannelConfigurationRequestSurround0_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0108,0x0000 #define writeENCChannelConfigurationRequestSurround1_1 0xcc00+STD_BETA_ENCODE,0x0020,0x0109,0x0000 #define writeENCChannelConfigurationRequestSurround2_1 0xcc00+STD_BETA_ENCODE,0x0020,0x010a,0x0000 #define wroteENCChannelConfigurationRequestSurround2Stereo_1 0xcc00+STD_BETA_ENCODE,0x0020,0x010a,0x0001 #define writeENCChannelConfigurationRequestSurround2LtRt_1 0xcc00+STD_BETA_ENCODE,0x0020,0x010a,0x0002 #define wroteENCChannelConfigurationRequestSurround2Mono_1 0xcc00+STD_BETA_ENCODE,0x0020,0x010a,0x0003 #define writeENCChannelConfigurationRequestSurround3_1 0xcc00+STD_BETA_ENCODE,0x0020,0x010b,0x0000 #define writeENCChannelConfigurationRequestSurround4_1 0xcc00+STD_BETA_ENCODE,0x0020,0x010c,0x0000 #define writeENCChannelConfigurationRequestNone_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0201,0x0000 #define writeENCChannelConfigurationRequestMono_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0202,0x0000 #define writeENCChannelConfigurationRequestPhantom0_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,0x0000 #define writeENCChannelConfigurationRequestPhantom0Stereo_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,0x0001 #define writeENCChannelConfigurationRequestPhantom0LtRt_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,0x0002 #define writeENCChannelConfigurationRequestPhantom0Mono_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,0x0003 #define wroteENCChannelConfigurationRequestPhantom0Dual_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,0x0004 #define writeENCChannelConfigurationRequestPhantom1_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0204,0x0000 #define writeENCChannelConfigurationRequestPhantom2_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0205,0x0000 #define wroteENCChannelConfigurationRequestPhantom2Stereo_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0205,0x0001 #define writeENCChannelConfigurationRequestPhantom2LtRt_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0205,0x0002 #define wroteENCChannelConfigurationRequestPhantom2Mono_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0205,0x0003 #define writeENCChannelConfigurationRequestPhantom3_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0206,0x0000 #define writeENCChannelConfigurationRequestPhantom4_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0207,0x0000 #define writeENCChannelConfigurationRequestSurround0_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0208,0x0000 #define writeENCChannelConfigurationRequestSurround1_2 0xcc00+STD_BETA_ENCODE,0x0020,0x0209,0x0000 #define writeENCChannelConfigurationRequestSurround2_2 0xcc00+STD_BETA_ENCODE,0x0020,0x020a,0x0000 #define wroteENCChannelConfigurationRequestSurround2Stereo_2 0xcc00+STD_BETA_ENCODE,0x0020,0x020a,0x0001 #define writeENCChannelConfigurationRequestSurround2LtRt_2 0xcc00+STD_BETA_ENCODE,0x0020,0x020a,0x0002 #define wroteENCChannelConfigurationRequestSurround2Mono_2 0xcc00+STD_BETA_ENCODE,0x0020,0x020a,0x0003 #define writeENCChannelConfigurationRequestSurround3_2 0xcc00+STD_BETA_ENCODE,0x0020,0x020b,0x0000 #define writeENCChannelConfigurationRequestSurround4_2 0xcc00+STD_BETA_ENCODE,0x0020,0x020c,0x0000 #define writeENCChannelConfigurationRequestNoneX_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0001,(n<<8|0x0000) #define writeENCChannelConfigurationRequestNoneLwRw_0 writeENCChannelConfigurationRequestNoneX_0(0x01) #define writeENCChannelConfigurationRequestNoneLhRh_0 writeENCChannelConfigurationRequestNoneX_0(0x04) #define writeENCChannelConfigurationRequestNoneLwRwLhRh_0 writeENCChannelConfigurationRequestNoneX_0(0x05) #define writeENCChannelConfigurationRequestMonoX_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0002,(n<<8|0x0000) #define writeENCChannelConfigurationRequestMonoLwRw_0 writeENCChannelConfigurationRequestMonoX_0(0x01) #define writeENCChannelConfigurationRequestMonoLhRh_0 writeENCChannelConfigurationRequestMonoX_0(0x04) #define writeENCChannelConfigurationRequestMonoLwRwLhRh_0 writeENCChannelConfigurationRequestMonoX_0(0x05) #define writeENCChannelConfigurationRequestPhantom0X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom0LwRw_0 writeENCChannelConfigurationRequestPhantom0X_0(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRh_0 writeENCChannelConfigurationRequestPhantom0X_0(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRh_0 writeENCChannelConfigurationRequestPhantom0X_0(0x05) #define writeENCChannelConfigurationRequestPhantom0XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,(n<<8|0x0001) #define writeENCChannelConfigurationRequestPhantom0LwRwStereo_0 writeENCChannelConfigurationRequestPhantom0XStereo_0(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhStereo_0 writeENCChannelConfigurationRequestPhantom0XStereo_0(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhStereo_0 writeENCChannelConfigurationRequestPhantom0XStereo_0(0x05) #define writeENCChannelConfigurationRequestPhantom0XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,(n<<8|0x0002) #define writeENCChannelConfigurationRequestPhantom0LwRwLtRt_0 writeENCChannelConfigurationRequestPhantom0XLtRt_0(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhLtRt_0 writeENCChannelConfigurationRequestPhantom0XLtRt_0(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhLtRt_0 writeENCChannelConfigurationRequestPhantom0XLtRt_0(0x05) #define writeENCChannelConfigurationRequestPhantom0XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,(n<<8|0x0003) #define writeENCChannelConfigurationRequestPhantom0LwRwMono_0 writeENCChannelConfigurationRequestPhantom0XMono_0(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhMono_0 writeENCChannelConfigurationRequestPhantom0XMono_0(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhMono_0 writeENCChannelConfigurationRequestPhantom0XMono_0(0x05) #define wroteENCChannelConfigurationRequestPhantom0XDual_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0003,(n<<8|0x0004) #define wroteENCChannelConfigurationRequestPhantom0LwRwDual_0 wroteENCChannelConfigurationRequestPhantom0XDual_0(0x01) #define wroteENCChannelConfigurationRequestPhantom0LhRhDual_0 wroteENCChannelConfigurationRequestPhantom0XDual_0(0x04) #define wroteENCChannelConfigurationRequestPhantom0LwRwLhRhDual_0 wroteENCChannelConfigurationRequestPhantom0XDual_0(0x05) #define writeENCChannelConfigurationRequestPhantom1X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0004,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom1LwRw_0 writeENCChannelConfigurationRequestPhantom1X_0(0x01) #define writeENCChannelConfigurationRequestPhantom1LhRh_0 writeENCChannelConfigurationRequestPhantom1X_0(0x04) #define writeENCChannelConfigurationRequestPhantom1LwRwLhRh_0 writeENCChannelConfigurationRequestPhantom1X_0(0x05) #define writeENCChannelConfigurationRequestPhantom2X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0005,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom2LwRw_0 writeENCChannelConfigurationRequestPhantom2X_0(0x01) #define writeENCChannelConfigurationRequestPhantom2LhRh_0 writeENCChannelConfigurationRequestPhantom2X_0(0x04) #define writeENCChannelConfigurationRequestPhantom2LwRwLhRh_0 writeENCChannelConfigurationRequestPhantom2X_0(0x05) #define wroteENCChannelConfigurationRequestPhantom2XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0005,(n<<8|0x0001) #define wroteENCChannelConfigurationRequestPhantom2LwRwStereo_0 wroteENCChannelConfigurationRequestPhantom2XStereo_0(0x01) #define wroteENCChannelConfigurationRequestPhantom2LhRhStereo_0 wroteENCChannelConfigurationRequestPhantom2XStereo_0(0x04) #define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhStereo_0 wroteENCChannelConfigurationRequestPhantom2XStereo_0(0x05) #define writeENCChannelConfigurationRequestPhantom2XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0005,(n<<8|0x0002) #define writeENCChannelConfigurationRequestPhantom2LwRwLtRt_0 writeENCChannelConfigurationRequestPhantom2XLtRt_0(0x01) #define writeENCChannelConfigurationRequestPhantom2LhRhLtRt_0 writeENCChannelConfigurationRequestPhantom2XLtRt_0(0x04) #define writeENCChannelConfigurationRequestPhantom2LwRwLhRhLtRt_0 writeENCChannelConfigurationRequestPhantom2XLtRt_0(0x05) #define wroteENCChannelConfigurationRequestPhantom2XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0005,(n<<8|0x0003) #define wroteENCChannelConfigurationRequestPhantom2LwRwMono_0 wroteENCChannelConfigurationRequestPhantom2XMono_0(0x01) #define wroteENCChannelConfigurationRequestPhantom2LhRhMono_0 wroteENCChannelConfigurationRequestPhantom2XMono_0(0x04) #define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhMono_0 wroteENCChannelConfigurationRequestPhantom2XMono_0(0x05) #define writeENCChannelConfigurationRequestPhantom3X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0006,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom3LwRw_0 writeENCChannelConfigurationRequestPhantom3X_0(0x01) #define writeENCChannelConfigurationRequestPhantom3LhRh_0 writeENCChannelConfigurationRequestPhantom3X_0(0x04) #define writeENCChannelConfigurationRequestPhantom3LwRwLhRh_0 writeENCChannelConfigurationRequestPhantom3X_0(0x05) #define writeENCChannelConfigurationRequestPhantom4X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0007,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom4LwRw_0 writeENCChannelConfigurationRequestPhantom4X_0(0x01) #define writeENCChannelConfigurationRequestPhantom4LhRh_0 writeENCChannelConfigurationRequestPhantom4X_0(0x04) #define writeENCChannelConfigurationRequestPhantom4LwRwLhRh_0 writeENCChannelConfigurationRequestPhantom4X_0(0x05) #define writeENCChannelConfigurationRequestSurround0X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0008,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround0LwRw_0 writeENCChannelConfigurationRequestSurround0X_0(0x01) #define writeENCChannelConfigurationRequestSurround0LhRh_0 writeENCChannelConfigurationRequestSurround0X_0(0x04) #define writeENCChannelConfigurationRequestSurround0LwRwLhRh_0 writeENCChannelConfigurationRequestSurround0X_0(0x05) #define writeENCChannelConfigurationRequestSurround1X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0009,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround1LwRw_0 writeENCChannelConfigurationRequestSurround1X_0(0x01) #define writeENCChannelConfigurationRequestSurround1LhRh_0 writeENCChannelConfigurationRequestSurround1X_0(0x04) #define writeENCChannelConfigurationRequestSurround1LwRwLhRh_0 writeENCChannelConfigurationRequestSurround1X_0(0x05) #define writeENCChannelConfigurationRequestSurround2X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x000a,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround2LwRw_0 writeENCChannelConfigurationRequestSurround2X_0(0x01) #define writeENCChannelConfigurationRequestSurround2LhRh_0 writeENCChannelConfigurationRequestSurround2X_0(0x04) #define writeENCChannelConfigurationRequestSurround2LwRwLhRh_0 writeENCChannelConfigurationRequestSurround2X_0(0x05) #define wroteENCChannelConfigurationRequestSurround2XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x000a,(n<<8|0x0001) #define wroteENCChannelConfigurationRequestSurround2LwRwStereo_0 wroteENCChannelConfigurationRequestSurround2XStereo_0(0x01) #define wroteENCChannelConfigurationRequestSurround2LhRhStereo_0 wroteENCChannelConfigurationRequestSurround2XStereo_0(0x04) #define wroteENCChannelConfigurationRequestSurround2LwRwLhRhStereo_0 wroteENCChannelConfigurationRequestSurround2XStereo_0(0x05) #define writeENCChannelConfigurationRequestSurround2XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x000a,(n<<8|0x0002) #define writeENCChannelConfigurationRequestSurround2LwRwLtRt_0 writeENCChannelConfigurationRequestSurround2XLtRt_0(0x01) #define writeENCChannelConfigurationRequestSurround2LhRhLtRt_0 writeENCChannelConfigurationRequestSurround2XLtRt_0(0x04) #define writeENCChannelConfigurationRequestSurround2LwRwLhRhLtRt_0 writeENCChannelConfigurationRequestSurround2XLtRt_0(0x05) #define wroteENCChannelConfigurationRequestSurround2XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x000a,(n<<8|0x0003) #define wroteENCChannelConfigurationRequestSurround2LwRwMono_0 wroteENCChannelConfigurationRequestSurround2XMono_0(0x01) #define wroteENCChannelConfigurationRequestSurround2LhRhMono_0 wroteENCChannelConfigurationRequestSurround2XMono_0(0x04) #define wroteENCChannelConfigurationRequestSurround2LwRwLhRhMono_0 wroteENCChannelConfigurationRequestSurround2XMono_0(0x05) #define writeENCChannelConfigurationRequestSurround3X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x000b,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround3LwRw_0 writeENCChannelConfigurationRequestSurround3X_0(0x01) #define writeENCChannelConfigurationRequestSurround3LhRh_0 writeENCChannelConfigurationRequestSurround3X_0(0x04) #define writeENCChannelConfigurationRequestSurround3LwRwLhRh_0 writeENCChannelConfigurationRequestSurround3X_0(0x05) #define writeENCChannelConfigurationRequestSurround4X_0(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x000c,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround4LwRw_0 writeENCChannelConfigurationRequestSurround4X_0(0x01) #define writeENCChannelConfigurationRequestSurround4LhRh_0 writeENCChannelConfigurationRequestSurround4X_0(0x04) #define writeENCChannelConfigurationRequestSurround4LwRwLhRh_0 writeENCChannelConfigurationRequestSurround4X_0(0x05) #define writeENCChannelConfigurationRequestNoneX_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0101,(n<<8|0x0000) #define writeENCChannelConfigurationRequestNoneLwRw_1 writeENCChannelConfigurationRequestNoneX_1(0x01) #define writeENCChannelConfigurationRequestNoneLhRh_1 writeENCChannelConfigurationRequestNoneX_1(0x04) #define writeENCChannelConfigurationRequestNoneLwRwLhRh_1 writeENCChannelConfigurationRequestNoneX_1(0x05) #define writeENCChannelConfigurationRequestMonoX_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0102,(n<<8|0x0000) #define writeENCChannelConfigurationRequestMonoLwRw_1 writeENCChannelConfigurationRequestMonoX_1(0x01) #define writeENCChannelConfigurationRequestMonoLhRh_1 writeENCChannelConfigurationRequestMonoX_1(0x04) #define writeENCChannelConfigurationRequestMonoLwRwLhRh_1 writeENCChannelConfigurationRequestMonoX_1(0x05) #define writeENCChannelConfigurationRequestPhantom0X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom0LwRw_1 writeENCChannelConfigurationRequestPhantom0X_1(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRh_1 writeENCChannelConfigurationRequestPhantom0X_1(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRh_1 writeENCChannelConfigurationRequestPhantom0X_1(0x05) #define writeENCChannelConfigurationRequestPhantom0XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,(n<<8|0x0001) #define writeENCChannelConfigurationRequestPhantom0LwRwStereo_1 writeENCChannelConfigurationRequestPhantom0XStereo_1(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhStereo_1 writeENCChannelConfigurationRequestPhantom0XStereo_1(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhStereo_1 writeENCChannelConfigurationRequestPhantom0XStereo_1(0x05) #define writeENCChannelConfigurationRequestPhantom0XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,(n<<8|0x0002) #define writeENCChannelConfigurationRequestPhantom0LwRwLtRt_1 writeENCChannelConfigurationRequestPhantom0XLtRt_1(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhLtRt_1 writeENCChannelConfigurationRequestPhantom0XLtRt_1(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhLtRt_1 writeENCChannelConfigurationRequestPhantom0XLtRt_1(0x05) #define writeENCChannelConfigurationRequestPhantom0XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,(n<<8|0x0003) #define writeENCChannelConfigurationRequestPhantom0LwRwMono_1 writeENCChannelConfigurationRequestPhantom0XMono_1(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhMono_1 writeENCChannelConfigurationRequestPhantom0XMono_1(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhMono_1 writeENCChannelConfigurationRequestPhantom0XMono_1(0x05) #define wroteENCChannelConfigurationRequestPhantom0XDual_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0103,(n<<8|0x0004) #define wroteENCChannelConfigurationRequestPhantom0LwRwDual_1 wroteENCChannelConfigurationRequestPhantom0XDual_1(0x01) #define wroteENCChannelConfigurationRequestPhantom0LhRhDual_1 wroteENCChannelConfigurationRequestPhantom0XDual_1(0x04) #define wroteENCChannelConfigurationRequestPhantom0LwRwLhRhDual_1 wroteENCChannelConfigurationRequestPhantom0XDual_1(0x05) #define writeENCChannelConfigurationRequestPhantom1X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0104,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom1LwRw_1 writeENCChannelConfigurationRequestPhantom1X_1(0x01) #define writeENCChannelConfigurationRequestPhantom1LhRh_1 writeENCChannelConfigurationRequestPhantom1X_1(0x04) #define writeENCChannelConfigurationRequestPhantom1LwRwLhRh_1 writeENCChannelConfigurationRequestPhantom1X_1(0x05) #define writeENCChannelConfigurationRequestPhantom2X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0105,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom2LwRw_1 writeENCChannelConfigurationRequestPhantom2X_1(0x01) #define writeENCChannelConfigurationRequestPhantom2LhRh_1 writeENCChannelConfigurationRequestPhantom2X_1(0x04) #define writeENCChannelConfigurationRequestPhantom2LwRwLhRh_1 writeENCChannelConfigurationRequestPhantom2X_1(0x05) #define wroteENCChannelConfigurationRequestPhantom2XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0105,(n<<8|0x0001) #define wroteENCChannelConfigurationRequestPhantom2LwRwStereo_1 wroteENCChannelConfigurationRequestPhantom2XStereo_1(0x01) #define wroteENCChannelConfigurationRequestPhantom2LhRhStereo_1 wroteENCChannelConfigurationRequestPhantom2XStereo_1(0x04) #define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhStereo_1 wroteENCChannelConfigurationRequestPhantom2XStereo_1(0x05) #define writeENCChannelConfigurationRequestPhantom2XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0105,(n<<8|0x0002) #define writeENCChannelConfigurationRequestPhantom2LwRwLtRt_1 writeENCChannelConfigurationRequestPhantom2XLtRt_1(0x01) #define writeENCChannelConfigurationRequestPhantom2LhRhLtRt_1 writeENCChannelConfigurationRequestPhantom2XLtRt_1(0x04) #define writeENCChannelConfigurationRequestPhantom2LwRwLhRhLtRt_1 writeENCChannelConfigurationRequestPhantom2XLtRt_1(0x05) #define wroteENCChannelConfigurationRequestPhantom2XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0105,(n<<8|0x0003) #define wroteENCChannelConfigurationRequestPhantom2LwRwMono_1 wroteENCChannelConfigurationRequestPhantom2XMono_1(0x01) #define wroteENCChannelConfigurationRequestPhantom2LhRhMono_1 wroteENCChannelConfigurationRequestPhantom2XMono_1(0x04) #define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhMono_1 wroteENCChannelConfigurationRequestPhantom2XMono_1(0x05) #define writeENCChannelConfigurationRequestPhantom3X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0106,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom3LwRw_1 writeENCChannelConfigurationRequestPhantom3X_1(0x01) #define writeENCChannelConfigurationRequestPhantom3LhRh_1 writeENCChannelConfigurationRequestPhantom3X_1(0x04) #define writeENCChannelConfigurationRequestPhantom3LwRwLhRh_1 writeENCChannelConfigurationRequestPhantom3X_1(0x05) #define writeENCChannelConfigurationRequestPhantom4X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0107,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom4LwRw_1 writeENCChannelConfigurationRequestPhantom4X_1(0x01) #define writeENCChannelConfigurationRequestPhantom4LhRh_1 writeENCChannelConfigurationRequestPhantom4X_1(0x04) #define writeENCChannelConfigurationRequestPhantom4LwRwLhRh_1 writeENCChannelConfigurationRequestPhantom4X_1(0x05) #define writeENCChannelConfigurationRequestSurround0X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0108,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround0LwRw_1 writeENCChannelConfigurationRequestSurround0X_1(0x01) #define writeENCChannelConfigurationRequestSurround0LhRh_1 writeENCChannelConfigurationRequestSurround0X_1(0x04) #define writeENCChannelConfigurationRequestSurround0LwRwLhRh_1 writeENCChannelConfigurationRequestSurround0X_1(0x05) #define writeENCChannelConfigurationRequestSurround1X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0109,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround1LwRw_1 writeENCChannelConfigurationRequestSurround1X_1(0x01) #define writeENCChannelConfigurationRequestSurround1LhRh_1 writeENCChannelConfigurationRequestSurround1X_1(0x04) #define writeENCChannelConfigurationRequestSurround1LwRwLhRh_1 writeENCChannelConfigurationRequestSurround1X_1(0x05) #define writeENCChannelConfigurationRequestSurround2X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x010a,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround2LwRw_1 writeENCChannelConfigurationRequestSurround2X_1(0x01) #define writeENCChannelConfigurationRequestSurround2LhRh_1 writeENCChannelConfigurationRequestSurround2X_1(0x04) #define writeENCChannelConfigurationRequestSurround2LwRwLhRh_1 writeENCChannelConfigurationRequestSurround2X_1(0x05) #define wroteENCChannelConfigurationRequestSurround2XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x010a,(n<<8|0x0001) #define wroteENCChannelConfigurationRequestSurround2LwRwStereo_1 wroteENCChannelConfigurationRequestSurround2XStereo_1(0x01) #define wroteENCChannelConfigurationRequestSurround2LhRhStereo_1 wroteENCChannelConfigurationRequestSurround2XStereo_1(0x04) #define wroteENCChannelConfigurationRequestSurround2LwRwLhRhStereo_1 wroteENCChannelConfigurationRequestSurround2XStereo_1(0x05) #define writeENCChannelConfigurationRequestSurround2XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x010a,(n<<8|0x0002) #define writeENCChannelConfigurationRequestSurround2LwRwLtRt_1 writeENCChannelConfigurationRequestSurround2XLtRt_1(0x01) #define writeENCChannelConfigurationRequestSurround2LhRhLtRt_1 writeENCChannelConfigurationRequestSurround2XLtRt_1(0x04) #define writeENCChannelConfigurationRequestSurround2LwRwLhRhLtRt_1 writeENCChannelConfigurationRequestSurround2XLtRt_1(0x05) #define wroteENCChannelConfigurationRequestSurround2XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x010a,(n<<8|0x0003) #define wroteENCChannelConfigurationRequestSurround2LwRwMono_1 wroteENCChannelConfigurationRequestSurround2XMono_1(0x01) #define wroteENCChannelConfigurationRequestSurround2LhRhMono_1 wroteENCChannelConfigurationRequestSurround2XMono_1(0x04) #define wroteENCChannelConfigurationRequestSurround2LwRwLhRhMono_1 wroteENCChannelConfigurationRequestSurround2XMono_1(0x05) #define writeENCChannelConfigurationRequestSurround3X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x010b,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround3LwRw_1 writeENCChannelConfigurationRequestSurround3X_1(0x01) #define writeENCChannelConfigurationRequestSurround3LhRh_1 writeENCChannelConfigurationRequestSurround3X_1(0x04) #define writeENCChannelConfigurationRequestSurround3LwRwLhRh_1 writeENCChannelConfigurationRequestSurround3X_1(0x05) #define writeENCChannelConfigurationRequestSurround4X_1(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x010c,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround4LwRw_1 writeENCChannelConfigurationRequestSurround4X_1(0x01) #define writeENCChannelConfigurationRequestSurround4LhRh_1 writeENCChannelConfigurationRequestSurround4X_1(0x04) #define writeENCChannelConfigurationRequestSurround4LwRwLhRh_1 writeENCChannelConfigurationRequestSurround4X_1(0x05) #define writeENCChannelConfigurationRequestNoneX_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0201,(n<<8|0x0000) #define writeENCChannelConfigurationRequestNoneLwRw_2 writeENCChannelConfigurationRequestNoneX_2(0x01) #define writeENCChannelConfigurationRequestNoneLhRh_2 writeENCChannelConfigurationRequestNoneX_2(0x04) #define writeENCChannelConfigurationRequestNoneLwRwLhRh_2 writeENCChannelConfigurationRequestNoneX_2(0x05) #define writeENCChannelConfigurationRequestMonoX_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0202,(n<<8|0x0000) #define writeENCChannelConfigurationRequestMonoLwRw_2 writeENCChannelConfigurationRequestMonoX_2(0x01) #define writeENCChannelConfigurationRequestMonoLhRh_2 writeENCChannelConfigurationRequestMonoX_2(0x04) #define writeENCChannelConfigurationRequestMonoLwRwLhRh_2 writeENCChannelConfigurationRequestMonoX_2(0x05) #define writeENCChannelConfigurationRequestPhantom0X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom0LwRw_2 writeENCChannelConfigurationRequestPhantom0X_2(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRh_2 writeENCChannelConfigurationRequestPhantom0X_2(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRh_2 writeENCChannelConfigurationRequestPhantom0X_2(0x05) #define writeENCChannelConfigurationRequestPhantom0XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,(n<<8|0x0001) #define writeENCChannelConfigurationRequestPhantom0LwRwStereo_2 writeENCChannelConfigurationRequestPhantom0XStereo_2(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhStereo_2 writeENCChannelConfigurationRequestPhantom0XStereo_2(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhStereo_2 writeENCChannelConfigurationRequestPhantom0XStereo_2(0x05) #define writeENCChannelConfigurationRequestPhantom0XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,(n<<8|0x0002) #define writeENCChannelConfigurationRequestPhantom0LwRwLtRt_2 writeENCChannelConfigurationRequestPhantom0XLtRt_2(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhLtRt_2 writeENCChannelConfigurationRequestPhantom0XLtRt_2(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhLtRt_2 writeENCChannelConfigurationRequestPhantom0XLtRt_2(0x05) #define writeENCChannelConfigurationRequestPhantom0XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,(n<<8|0x0003) #define writeENCChannelConfigurationRequestPhantom0LwRwMono_2 writeENCChannelConfigurationRequestPhantom0XMono_2(0x01) #define writeENCChannelConfigurationRequestPhantom0LhRhMono_2 writeENCChannelConfigurationRequestPhantom0XMono_2(0x04) #define writeENCChannelConfigurationRequestPhantom0LwRwLhRhMono_2 writeENCChannelConfigurationRequestPhantom0XMono_2(0x05) #define wroteENCChannelConfigurationRequestPhantom0XDual_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0203,(n<<8|0x0004) #define wroteENCChannelConfigurationRequestPhantom0LwRwDual_2 wroteENCChannelConfigurationRequestPhantom0XDual_2(0x01) #define wroteENCChannelConfigurationRequestPhantom0LhRhDual_2 wroteENCChannelConfigurationRequestPhantom0XDual_2(0x04) #define wroteENCChannelConfigurationRequestPhantom0LwRwLhRhDual_2 wroteENCChannelConfigurationRequestPhantom0XDual_2(0x05) #define writeENCChannelConfigurationRequestPhantom1X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0204,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom1LwRw_2 writeENCChannelConfigurationRequestPhantom1X_2(0x01) #define writeENCChannelConfigurationRequestPhantom1LhRh_2 writeENCChannelConfigurationRequestPhantom1X_2(0x04) #define writeENCChannelConfigurationRequestPhantom1LwRwLhRh_2 writeENCChannelConfigurationRequestPhantom1X_2(0x05) #define writeENCChannelConfigurationRequestPhantom2X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0205,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom2LwRw_2 writeENCChannelConfigurationRequestPhantom2X_2(0x01) #define writeENCChannelConfigurationRequestPhantom2LhRh_2 writeENCChannelConfigurationRequestPhantom2X_2(0x04) #define writeENCChannelConfigurationRequestPhantom2LwRwLhRh_2 writeENCChannelConfigurationRequestPhantom2X_2(0x05) #define wroteENCChannelConfigurationRequestPhantom2XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0205,(n<<8|0x0001) #define wroteENCChannelConfigurationRequestPhantom2LwRwStereo_2 wroteENCChannelConfigurationRequestPhantom2XStereo_2(0x01) #define wroteENCChannelConfigurationRequestPhantom2LhRhStereo_2 wroteENCChannelConfigurationRequestPhantom2XStereo_2(0x04) #define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhStereo_2 wroteENCChannelConfigurationRequestPhantom2XStereo_2(0x05) #define writeENCChannelConfigurationRequestPhantom2XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0205,(n<<8|0x0002) #define writeENCChannelConfigurationRequestPhantom2LwRwLtRt_2 writeENCChannelConfigurationRequestPhantom2XLtRt_2(0x01) #define writeENCChannelConfigurationRequestPhantom2LhRhLtRt_2 writeENCChannelConfigurationRequestPhantom2XLtRt_2(0x04) #define writeENCChannelConfigurationRequestPhantom2LwRwLhRhLtRt_2 writeENCChannelConfigurationRequestPhantom2XLtRt_2(0x05) #define wroteENCChannelConfigurationRequestPhantom2XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0205,(n<<8|0x0003) #define wroteENCChannelConfigurationRequestPhantom2LwRwMono_2 wroteENCChannelConfigurationRequestPhantom2XMono_2(0x01) #define wroteENCChannelConfigurationRequestPhantom2LhRhMono_2 wroteENCChannelConfigurationRequestPhantom2XMono_2(0x04) #define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhMono_2 wroteENCChannelConfigurationRequestPhantom2XMono_2(0x05) #define writeENCChannelConfigurationRequestPhantom3X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0206,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom3LwRw_2 writeENCChannelConfigurationRequestPhantom3X_2(0x01) #define writeENCChannelConfigurationRequestPhantom3LhRh_2 writeENCChannelConfigurationRequestPhantom3X_2(0x04) #define writeENCChannelConfigurationRequestPhantom3LwRwLhRh_2 writeENCChannelConfigurationRequestPhantom3X_2(0x05) #define writeENCChannelConfigurationRequestPhantom4X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0207,(n<<8|0x0000) #define writeENCChannelConfigurationRequestPhantom4LwRw_2 writeENCChannelConfigurationRequestPhantom4X_2(0x01) #define writeENCChannelConfigurationRequestPhantom4LhRh_2 writeENCChannelConfigurationRequestPhantom4X_2(0x04) #define writeENCChannelConfigurationRequestPhantom4LwRwLhRh_2 writeENCChannelConfigurationRequestPhantom4X_2(0x05) #define writeENCChannelConfigurationRequestSurround0X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0208,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround0LwRw_2 writeENCChannelConfigurationRequestSurround0X_2(0x01) #define writeENCChannelConfigurationRequestSurround0LhRh_2 writeENCChannelConfigurationRequestSurround0X_2(0x04) #define writeENCChannelConfigurationRequestSurround0LwRwLhRh_2 writeENCChannelConfigurationRequestSurround0X_2(0x05) #define writeENCChannelConfigurationRequestSurround1X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x0209,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround1LwRw_2 writeENCChannelConfigurationRequestSurround1X_2(0x01) #define writeENCChannelConfigurationRequestSurround1LhRh_2 writeENCChannelConfigurationRequestSurround1X_2(0x04) #define writeENCChannelConfigurationRequestSurround1LwRwLhRh_2 writeENCChannelConfigurationRequestSurround1X_2(0x05) #define writeENCChannelConfigurationRequestSurround2X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x020a,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround2LwRw_2 writeENCChannelConfigurationRequestSurround2X_2(0x01) #define writeENCChannelConfigurationRequestSurround2LhRh_2 writeENCChannelConfigurationRequestSurround2X_2(0x04) #define writeENCChannelConfigurationRequestSurround2LwRwLhRh_2 writeENCChannelConfigurationRequestSurround2X_2(0x05) #define wroteENCChannelConfigurationRequestSurround2XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x020a,(n<<8|0x0001) #define wroteENCChannelConfigurationRequestSurround2LwRwStereo_2 wroteENCChannelConfigurationRequestSurround2XStereo_2(0x01) #define wroteENCChannelConfigurationRequestSurround2LhRhStereo_2 wroteENCChannelConfigurationRequestSurround2XStereo_2(0x04) #define wroteENCChannelConfigurationRequestSurround2LwRwLhRhStereo_2 wroteENCChannelConfigurationRequestSurround2XStereo_2(0x05) #define writeENCChannelConfigurationRequestSurround2XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x020a,(n<<8|0x0002) #define writeENCChannelConfigurationRequestSurround2LwRwLtRt_2 writeENCChannelConfigurationRequestSurround2XLtRt_2(0x01) #define writeENCChannelConfigurationRequestSurround2LhRhLtRt_2 writeENCChannelConfigurationRequestSurround2XLtRt_2(0x04) #define writeENCChannelConfigurationRequestSurround2LwRwLhRhLtRt_2 writeENCChannelConfigurationRequestSurround2XLtRt_2(0x05) #define wroteENCChannelConfigurationRequestSurround2XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x020a,(n<<8|0x0003) #define wroteENCChannelConfigurationRequestSurround2LwRwMono_2 wroteENCChannelConfigurationRequestSurround2XMono_2(0x01) #define wroteENCChannelConfigurationRequestSurround2LhRhMono_2 wroteENCChannelConfigurationRequestSurround2XMono_2(0x04) #define wroteENCChannelConfigurationRequestSurround2LwRwLhRhMono_2 wroteENCChannelConfigurationRequestSurround2XMono_2(0x05) #define writeENCChannelConfigurationRequestSurround3X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x020b,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround3LwRw_2 writeENCChannelConfigurationRequestSurround3X_2(0x01) #define writeENCChannelConfigurationRequestSurround3LhRh_2 writeENCChannelConfigurationRequestSurround3X_2(0x04) #define writeENCChannelConfigurationRequestSurround3LwRwLhRh_2 writeENCChannelConfigurationRequestSurround3X_2(0x05) #define writeENCChannelConfigurationRequestSurround4X_2(n) 0xcc00+STD_BETA_ENCODE,0x0020,0x020c,(n<<8|0x0000) #define writeENCChannelConfigurationRequestSurround4LwRw_2 writeENCChannelConfigurationRequestSurround4X_2(0x01) #define writeENCChannelConfigurationRequestSurround4LhRh_2 writeENCChannelConfigurationRequestSurround4X_2(0x04) #define writeENCChannelConfigurationRequestSurround4LwRwLhRh_2 writeENCChannelConfigurationRequestSurround4X_2(0x05) #define readENCChannelConfigurationRequestExtChan 0xc200+STD_BETA_ENCODE,0x2300 #define readENCChannelConfigurationRequestExtMask readENCChannelConfigurationRequestExtChan #define writeENCChannelConfigurationRequestExtChanNone 0xca00+STD_BETA_ENCODE,0x2300 #define writeENCChannelConfigurationRequestExtChanLwRw 0xca00+STD_BETA_ENCODE,0x2301 #define writeENCChannelConfigurationRequestExtChanLhRh 0xca00+STD_BETA_ENCODE,0x2304 #define writeENCChannelConfigurationRequestExtChanLwRwLhRh 0xca00+STD_BETA_ENCODE,0x2305 //ATMOS #define writeENCChannelConfigurationRequestSurround2ATMOS_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x000a,0x0000,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround2ATMOS_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x010a,0x0000,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround2ATMOS_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x020a,0x0000,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround2ATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x000a,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround2ATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x010a,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround2ATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x020a,0x0003,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround2LwRwATMOS_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x000a,0x0100,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround2LwRwATMOS_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x010a,0x0100,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround2LwRwATMOS_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x020a,0x0100,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x000a,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x010a,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x020a,0x0103,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround4ATMOS_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x000c,0x0000,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround4ATMOS_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x010c,0x0000,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround4ATMOS_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x020c,0x0000,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround4ATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x000c,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround4ATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x010c,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround4ATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x020c,0x0003,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround4LwRwATMOS_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x000a,0x0100,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround4LwRwATMOS_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x010a,0x0100,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround4LwRwATMOS_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x020a,0x0100,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x000c,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x010c,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationRequestSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x020c,0x0103,(n<<8),0x0000 #define writeENCChannelConfigurationRequestSurround2LtfRtfLtrRtr_0 writeENCChannelConfigurationRequestSurround2ATMOS_0(0xA) #define writeENCChannelConfigurationRequestSurround2LtfRtfLtrRtr_1 writeENCChannelConfigurationRequestSurround2ATMOS_1(0xA) #define writeENCChannelConfigurationRequestSurround2LtfRtfLtrRtr_2 writeENCChannelConfigurationRequestSurround2ATMOS_2(0xA) #define wroteENCChannelConfigurationRequestSurround2LtfRtfLtrRtr_0 wroteENCChannelConfigurationRequestSurround2ATMOSMono_0(0xA) #define wroteENCChannelConfigurationRequestSurround2LtfRtfLtrRtr_1 wroteENCChannelConfigurationRequestSurround2ATMOSMono_1(0xA) #define wroteENCChannelConfigurationRequestSurround2LtfRtfLtrRtr_2 wroteENCChannelConfigurationRequestSurround2ATMOSMono_2(0xA) #define writeENCChannelConfigurationRequestSurround4LtmRtm_0 writeENCChannelConfigurationRequestSurround4ATMOS_0(0x4) #define writeENCChannelConfigurationRequestSurround4LtmRtm_1 writeENCChannelConfigurationRequestSurround4ATMOS_1(0x4) #define writeENCChannelConfigurationRequestSurround4LtmRtm_2 writeENCChannelConfigurationRequestSurround4ATMOS_2(0x4) #define wroteENCChannelConfigurationRequestSurround4LtmRtm_0 wroteENCChannelConfigurationRequestSurround4ATMOSMono_0(0x4) #define wroteENCChannelConfigurationRequestSurround4LtmRtm_1 wroteENCChannelConfigurationRequestSurround4ATMOSMono_1(0x4) #define wroteENCChannelConfigurationRequestSurround4LtmRtm_2 wroteENCChannelConfigurationRequestSurround4ATMOSMono_2(0x4) #define writeENCChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_0 writeENCChannelConfigurationRequestSurround2LwRwATMOS_0(0xA) #define writeENCChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_1 writeENCChannelConfigurationRequestSurround2LwRwATMOS_1(0xA) #define writeENCChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_2 writeENCChannelConfigurationRequestSurround2LwRwATMOS_2(0xA) #define wroteENCChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_0 wroteENCChannelConfigurationRequestSurround2LwRwATMOSMono_0(0xA) #define wroteENCChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_1 wroteENCChannelConfigurationRequestSurround2LwRwATMOSMono_1(0xA) #define wroteENCChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_2 wroteENCChannelConfigurationRequestSurround2LwRwATMOSMono_2(0xA) #define writeENCChannelConfigurationRequestSurround4LtfRtfLtrRtr_0 writeENCChannelConfigurationRequestSurround4ATMOS_0(0xA) #define writeENCChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 writeENCChannelConfigurationRequestSurround4ATMOS_1(0xA) #define writeENCChannelConfigurationRequestSurround4LtfRtfLtrRtr_2 writeENCChannelConfigurationRequestSurround4ATMOS_2(0xA) #define wroteENCChannelConfigurationRequestSurround4LtfRtfLtrRtr_0 wroteENCChannelConfigurationRequestSurround4ATMOSMono_0(0xA) #define wroteENCChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 wroteENCChannelConfigurationRequestSurround4ATMOSMono_1(0xA) #define wroteENCChannelConfigurationRequestSurround4LtfRtfLtrRtr_2 wroteENCChannelConfigurationRequestSurround4ATMOSMono_2(0xA) #define writeENCChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_0 writeENCChannelConfigurationRequestSurround4LwRwATMOS_0(0xA) #define writeENCChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_1 writeENCChannelConfigurationRequestSurround4LwRwATMOS_1(0xA) #define writeENCChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_2 writeENCChannelConfigurationRequestSurround4LwRwATMOS_2(0xA) #define wroteENCChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_0 wroteENCChannelConfigurationRequestSurround4LwRwATMOSMono_0(0xA) #define wroteENCChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_1 wroteENCChannelConfigurationRequestSurround4LwRwATMOSMono_1(0xA) #define wroteENCChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_2 wroteENCChannelConfigurationRequestSurround4LwRwATMOSMono_2(0xA) #define writeENCChannelConfigurationRequestPhantom4LwRwATMOS_0(n) 0xce00+STD_BETA_ENCODE,0x2008,0x0007,0x0100,(n<<8),0x0000 #define writeENCChannelConfigurationRequestPhantom4LwRwATMOS_1(n) 0xce00+STD_BETA_ENCODE,0x2008,0x0107,0x0100,(n<<8),0x0000 #define writeENCChannelConfigurationRequestPhantom4LwRwATMOS_2(n) 0xce00+STD_BETA_ENCODE,0x2008,0x0207,0x0100,(n<<8),0x0000 #define writeENCChannelConfigurationRequestPhantom4LwRwLctRct_0 writeENCChannelConfigurationRequestPhantom4LwRwATMOS_0(0x20) #define writeENCChannelConfigurationRequestPhantom4LwRwLctRct_1 writeENCChannelConfigurationRequestPhantom4LwRwATMOS_1(0x20) #define writeENCChannelConfigurationRequestPhantom4LwRwLctRct_2 writeENCChannelConfigurationRequestPhantom4LwRwATMOS_2(0x20) #define writeENCChannelConfigurationRequestPhantom4LwRwLtfRtfLtmRtmLctRct_0 writeENCChannelConfigurationRequestPhantom4LwRwATMOS_0(0x26) #define writeENCChannelConfigurationRequestPhantom4LwRwLtfRtfLtmRtmLctRct_1 writeENCChannelConfigurationRequestPhantom4LwRwATMOS_1(0x26) #define writeENCChannelConfigurationRequestPhantom4LwRwLtfRtfLtmRtmLctRct_2 writeENCChannelConfigurationRequestPhantom4LwRwATMOS_2(0x26) // Reference: pafcc.h: PAFCC_SIX_CHANNEL_CONFIG_FULL "5.1" 6 channel config // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] // PAF_ChannelConfiguration 0x010a,0x0000,0x0000,0x0000 #define writeENCChannelConfigurationRequestSurround2_5_1 0xce00+STD_BETA_ENCODE,0x2008,0x010a,0x0000,0x0000,0x0000 // Reference: pafcc.h: PAFCC_EIGHT_CHANNEL_CONFIG_FULL "7.1" 8 channel config // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] // PAF_ChannelConfiguration 0x010c,0x0000,0x0000,0x0000 #define writeENCChannelConfigurationRequestSurround4_7_1 0xce00+STD_BETA_ENCODE,0x2008,0x010c,0x0000,0x0000,0x0000 // Reference: pafcc.h: PAFCC_TWELVE_CHANNEL_ATMOS_CONFIG_FULL "11.1" 12 channel mask (ATMOS version) // PAF_LEFT,PAF_RGHT,PAF_CNTR,PAF_LTRR,PAF_RTRR,PAF_LSUR,PAF_RSUR,PAF_LBAK,PAF_RBAK,PAF_SUBW,PAF_LTFT,PAF_RTFT, // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] // PAF_ChannelConfiguration 0x010c,0x0000,0x0a00,0x0000 #define writeENCChannelConfigurationRequestSurround4LtfRtfLtrRtr_11_1 writeENCChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 // Reference: pafcc.h: PAFCC_TWELVE_CHANNEL_CONFIG_FULL "11.1" 12 channel mask (non ATMOS version) // PAF_LEFT,PAF_RGHT,PAF_CNTR,PAF_LWID,PAF_RWID,PAF_LSUR,PAF_RSUR,PAF_LBAK,PAF_RBAK,PAF_SUBW,PAF_LHED,PAF_RHED // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] // PAF_ChannelConfiguration 0x010c,0x0500,0x0000,0x0000 #define writeENCChannelConfigurationRequestSurround4LhRhLwRw_11_1 0xce00+STD_BETA_ENCODE,0x2008,0x010c,0x0500,0x0000,0x0000 // Reference: pafcc.h: PAFCC_SIXTEEN_CHANNEL_CONFIG_FULL "14.2" 14 channel mask // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] // PAF_ChannelConfiguration 0x0207,0x0100,0x2600,0x0000 #define writeENCChannelConfigurationRequestPhantom4LwRwLtfRtfLtmRtmLctRct_14_2 writeENCChannelConfigurationRequestPhantom4LwRwLtfRtfLtmRtmLctRct_2 #define writeENCChannelConfigurationRequest16Channels writeENCChannelConfigurationRequestPhantom4LwRwLtfRtfLtmRtmLctRct_14_2 // Reference: pafcc.h: PAFCC_THIRTYTWO_CHANNEL_CONFIG_FULL 32 channel mask // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] // PAF_ChannelConfiguration 0x0207,0x0100,0xe67f,0x0000 #define writeENCChannelConfigurationRequestPhantom4LwRwLtfRtfLtmRtmLctRctLhbkRhbkChbk_30_2 0xce00+STD_BETA_ENCODE,0x2008,0x0207,0x0100,0xe67f,0x0000 // Obsolete: #define writeENCChannelConfigurationRequest32Channels 0xce00+STD_BETA_ENCODE,0x2008,0x020c,0xff00,0x3fff,0x0000 #define writeENCChannelConfigurationRequest32Channels writeENCChannelConfigurationRequestPhantom4LwRwLtfRtfLtmRtmLctRctLhbkRhbkChbk_30_2 #define readENCChannelConfigurationRequestATMOSChan 0xc200+STD_BETA_ENCODE,0x2500 #define readENCChannelConfigurationRequestATMOSMask readENCChannelConfigurationRequestATMOSChan #define writeENCChannelConfigurationRequestATMOSChanNone 0xca00+STD_BETA_ENCODE,0x2500 #define writeENCChannelConfigurationRequestATMOSChanLfhRfhLrhRrh 0xca00+STD_BETA_ENCODE,(0x2511)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh #define writeENCChannelConfigurationRequestATMOSChanLtfRtfLtrRtr 0xca00+STD_BETA_ENCODE,(0x250a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr #define writeENCChannelConfigurationRequestATMOSChanLtmRtm 0xca00+STD_BETA_ENCODE,(0x3254)//PAF_CC_EXTMASK_LtmRtm //------------------------------------------------------------------------------------------------------------- #define writeENCChannelConfigurationRequestHL(HH,LL) 0xcc00+STD_BETA_ENCODE,0x0020,LL,HH #define wroteENCChannelConfigurationRequest 0xcc00+STD_BETA_ENCODE,0x0020 #define readENCChannelConfigurationStream 0xc400+STD_BETA_ENCODE,0x0028 #define wroteENCChannelConfigurationStreamUnknown 0xcc00+STD_BETA_ENCODE,0x0028,0x0000,0x0000 #define wroteENCChannelConfigurationStreamNone 0xcc00+STD_BETA_ENCODE,0x0028,0x0001,0x0000 #define wroteENCChannelConfigurationStreamMono 0xcc00+STD_BETA_ENCODE,0x0028,0x0002,0x0000 #define wroteENCChannelConfigurationStreamStereo 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,0x0000 #define wroteENCChannelConfigurationStreamStereoLtRt 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,0x0002 #define wroteENCChannelConfigurationStreamNone_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0001,0x0000 #define wroteENCChannelConfigurationStreamMono_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0002,0x0000 #define wroteENCChannelConfigurationStreamPhantom0_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,0x0000 #define wroteENCChannelConfigurationStreamPhantom0Stereo_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,0x0001 #define wroteENCChannelConfigurationStreamPhantom0LtRt_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,0x0002 #define wroteENCChannelConfigurationStreamPhantom0Mono_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,0x0003 #define wroteENCChannelConfigurationStreamPhantom0Dual_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,0x0004 #define wroteENCChannelConfigurationStreamPhantom1_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0004,0x0000 #define wroteENCChannelConfigurationStreamPhantom2_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0005,0x0000 #define wroteENCChannelConfigurationStreamPhantom2Stereo_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0005,0x0001 #define wroteENCChannelConfigurationStreamPhantom2LtRt_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0005,0x0002 #define wroteENCChannelConfigurationStreamPhantom2Mono_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0005,0x0003 #define wroteENCChannelConfigurationStreamPhantom3_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0006,0x0000 #define wroteENCChannelConfigurationStreamPhantom4_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0007,0x0000 #define wroteENCChannelConfigurationStreamSurround0_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0008,0x0000 #define wroteENCChannelConfigurationStreamSurround1_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0009,0x0000 #define wroteENCChannelConfigurationStreamSurround2_0 0xcc00+STD_BETA_ENCODE,0x0028,0x000a,0x0000 #define wroteENCChannelConfigurationStreamSurround2Stereo_0 0xcc00+STD_BETA_ENCODE,0x0028,0x000a,0x0001 #define wroteENCChannelConfigurationStreamSurround2LtRt_0 0xcc00+STD_BETA_ENCODE,0x0028,0x000a,0x0002 #define wroteENCChannelConfigurationStreamSurround2Mono_0 0xcc00+STD_BETA_ENCODE,0x0028,0x000a,0x0003 #define wroteENCChannelConfigurationStreamSurround3_0 0xcc00+STD_BETA_ENCODE,0x0028,0x000b,0x0000 #define wroteENCChannelConfigurationStreamSurround4_0 0xcc00+STD_BETA_ENCODE,0x0028,0x0028,0x0000 #define wroteENCChannelConfigurationStreamNone_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0101,0x0000 #define wroteENCChannelConfigurationStreamMono_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0102,0x0000 #define wroteENCChannelConfigurationStreamPhantom0_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,0x0000 #define wroteENCChannelConfigurationStreamPhantom0Stereo_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,0x0001 #define wroteENCChannelConfigurationStreamPhantom0LtRt_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,0x0002 #define wroteENCChannelConfigurationStreamPhantom0Mono_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,0x0003 #define wroteENCChannelConfigurationStreamPhantom0Dual_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,0x0004 #define wroteENCChannelConfigurationStreamPhantom1_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0104,0x0000 #define wroteENCChannelConfigurationStreamPhantom2_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0105,0x0000 #define wroteENCChannelConfigurationStreamPhantom2Stereo_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0105,0x0001 #define wroteENCChannelConfigurationStreamPhantom2LtRt_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0105,0x0002 #define wroteENCChannelConfigurationStreamPhantom2Mono_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0105,0x0003 #define wroteENCChannelConfigurationStreamPhantom3_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0106,0x0000 #define wroteENCChannelConfigurationStreamPhantom4_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0107,0x0000 #define wroteENCChannelConfigurationStreamSurround0_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0108,0x0000 #define wroteENCChannelConfigurationStreamSurround1_1 0xcc00+STD_BETA_ENCODE,0x0028,0x0109,0x0000 #define wroteENCChannelConfigurationStreamSurround2_1 0xcc00+STD_BETA_ENCODE,0x0028,0x010a,0x0000 #define wroteENCChannelConfigurationStreamSurround2Stereo_1 0xcc00+STD_BETA_ENCODE,0x0028,0x010a,0x0001 #define wroteENCChannelConfigurationStreamSurround2LtRt_1 0xcc00+STD_BETA_ENCODE,0x0028,0x010a,0x0002 #define wroteENCChannelConfigurationStreamSurround2Mono_1 0xcc00+STD_BETA_ENCODE,0x0028,0x010a,0x0003 #define wroteENCChannelConfigurationStreamSurround3_1 0xcc00+STD_BETA_ENCODE,0x0028,0x010b,0x0000 #define wroteENCChannelConfigurationStreamSurround4_1 0xcc00+STD_BETA_ENCODE,0x0028,0x010c,0x0000 #define wroteENCChannelConfigurationStreamNone_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0201,0x0000 #define wroteENCChannelConfigurationStreamMono_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0202,0x0000 #define wroteENCChannelConfigurationStreamPhantom0_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,0x0000 #define wroteENCChannelConfigurationStreamPhantom0Stereo_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,0x0001 #define wroteENCChannelConfigurationStreamPhantom0LtRt_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,0x0002 #define wroteENCChannelConfigurationStreamPhantom0Mono_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,0x0003 #define wroteENCChannelConfigurationStreamPhantom0Dual_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,0x0004 #define wroteENCChannelConfigurationStreamPhantom1_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0204,0x0000 #define wroteENCChannelConfigurationStreamPhantom2_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0205,0x0000 #define wroteENCChannelConfigurationStreamPhantom2Stereo_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0205,0x0001 #define wroteENCChannelConfigurationStreamPhantom2LtRt_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0205,0x0002 #define wroteENCChannelConfigurationStreamPhantom2Mono_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0205,0x0003 #define wroteENCChannelConfigurationStreamPhantom3_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0206,0x0000 #define wroteENCChannelConfigurationStreamPhantom4_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0207,0x0000 #define wroteENCChannelConfigurationStreamSurround0_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0208,0x0000 #define wroteENCChannelConfigurationStreamSurround1_2 0xcc00+STD_BETA_ENCODE,0x0028,0x0209,0x0000 #define wroteENCChannelConfigurationStreamSurround2_2 0xcc00+STD_BETA_ENCODE,0x0028,0x020a,0x0000 #define wroteENCChannelConfigurationStreamSurround2Stereo_2 0xcc00+STD_BETA_ENCODE,0x0028,0x020a,0x0001 #define wroteENCChannelConfigurationStreamSurround2LtRt_2 0xcc00+STD_BETA_ENCODE,0x0028,0x020a,0x0002 #define wroteENCChannelConfigurationStreamSurround2Mono_2 0xcc00+STD_BETA_ENCODE,0x0028,0x020a,0x0003 #define wroteENCChannelConfigurationStreamSurround3_2 0xcc00+STD_BETA_ENCODE,0x0028,0x020b,0x0000 #define wroteENCChannelConfigurationStreamSurround4_2 0xcc00+STD_BETA_ENCODE,0x0028,0x020c,0x0000 #define wroteENCChannelConfigurationStreamNoneX_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0001,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamNoneLwRw_0 wroteENCChannelConfigurationStreamNoneX_0(0x01) #define wroteENCChannelConfigurationStreamNoneLhRh_0 wroteENCChannelConfigurationStreamNoneX_0(0x04) #define wroteENCChannelConfigurationStreamNoneLwRwLhRh_0 wroteENCChannelConfigurationStreamNoneX_0(0x05) #define wroteENCChannelConfigurationStreamMonoX_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0002,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamMonoLwRw_0 wroteENCChannelConfigurationStreamMonoX_0(0x01) #define wroteENCChannelConfigurationStreamMonoLhRh_0 wroteENCChannelConfigurationStreamMonoX_0(0x04) #define wroteENCChannelConfigurationStreamMonoLwRwLhRh_0 wroteENCChannelConfigurationStreamMonoX_0(0x05) #define wroteENCChannelConfigurationStreamPhantom0X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom0LwRw_0 wroteENCChannelConfigurationStreamPhantom0X_0(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRh_0 wroteENCChannelConfigurationStreamPhantom0X_0(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRh_0 wroteENCChannelConfigurationStreamPhantom0X_0(0x05) #define wroteENCChannelConfigurationStreamPhantom0XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamPhantom0LwRwStereo_0 wroteENCChannelConfigurationStreamPhantom0XStereo_0(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhStereo_0 wroteENCChannelConfigurationStreamPhantom0XStereo_0(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhStereo_0 wroteENCChannelConfigurationStreamPhantom0XStereo_0(0x05) #define wroteENCChannelConfigurationStreamPhantom0XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamPhantom0LwRwLtRt_0 wroteENCChannelConfigurationStreamPhantom0XLtRt_0(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhLtRt_0 wroteENCChannelConfigurationStreamPhantom0XLtRt_0(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhLtRt_0 wroteENCChannelConfigurationStreamPhantom0XLtRt_0(0x05) #define wroteENCChannelConfigurationStreamPhantom0XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamPhantom0LwRwMono_0 wroteENCChannelConfigurationStreamPhantom0XMono_0(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhMono_0 wroteENCChannelConfigurationStreamPhantom0XMono_0(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhMono_0 wroteENCChannelConfigurationStreamPhantom0XMono_0(0x05) #define wroteENCChannelConfigurationStreamPhantom0XDual_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0003,(n<<8|0x0004) #define wroteENCChannelConfigurationStreamPhantom0LwRwDual_0 wroteENCChannelConfigurationStreamPhantom0XDual_0(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhDual_0 wroteENCChannelConfigurationStreamPhantom0XDual_0(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhDual_0 wroteENCChannelConfigurationStreamPhantom0XDual_0(0x05) #define wroteENCChannelConfigurationStreamPhantom1X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0004,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom1LwRw_0 wroteENCChannelConfigurationStreamPhantom1X_0(0x01) #define wroteENCChannelConfigurationStreamPhantom1LhRh_0 wroteENCChannelConfigurationStreamPhantom1X_0(0x04) #define wroteENCChannelConfigurationStreamPhantom1LwRwLhRh_0 wroteENCChannelConfigurationStreamPhantom1X_0(0x05) #define wroteENCChannelConfigurationStreamPhantom2X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0005,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom2LwRw_0 wroteENCChannelConfigurationStreamPhantom2X_0(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRh_0 wroteENCChannelConfigurationStreamPhantom2X_0(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRh_0 wroteENCChannelConfigurationStreamPhantom2X_0(0x05) #define wroteENCChannelConfigurationStreamPhantom2XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0005,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamPhantom2LwRwStereo_0 wroteENCChannelConfigurationStreamPhantom2XStereo_0(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhStereo_0 wroteENCChannelConfigurationStreamPhantom2XStereo_0(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhStereo_0 wroteENCChannelConfigurationStreamPhantom2XStereo_0(0x05) #define wroteENCChannelConfigurationStreamPhantom2XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0005,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamPhantom2LwRwLtRt_0 wroteENCChannelConfigurationStreamPhantom2XLtRt_0(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhLtRt_0 wroteENCChannelConfigurationStreamPhantom2XLtRt_0(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhLtRt_0 wroteENCChannelConfigurationStreamPhantom2XLtRt_0(0x05) #define wroteENCChannelConfigurationStreamPhantom2XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0005,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamPhantom2LwRwMono_0 wroteENCChannelConfigurationStreamPhantom2XMono_0(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhMono_0 wroteENCChannelConfigurationStreamPhantom2XMono_0(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhMono_0 wroteENCChannelConfigurationStreamPhantom2XMono_0(0x05) #define wroteENCChannelConfigurationStreamPhantom3X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0006,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom3LwRw_0 wroteENCChannelConfigurationStreamPhantom3X_0(0x01) #define wroteENCChannelConfigurationStreamPhantom3LhRh_0 wroteENCChannelConfigurationStreamPhantom3X_0(0x04) #define wroteENCChannelConfigurationStreamPhantom3LwRwLhRh_0 wroteENCChannelConfigurationStreamPhantom3X_0(0x05) #define wroteENCChannelConfigurationStreamPhantom4X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0007,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom4LwRw_0 wroteENCChannelConfigurationStreamPhantom4X_0(0x01) #define wroteENCChannelConfigurationStreamPhantom4LhRh_0 wroteENCChannelConfigurationStreamPhantom4X_0(0x04) #define wroteENCChannelConfigurationStreamPhantom4LwRwLhRh_0 wroteENCChannelConfigurationStreamPhantom4X_0(0x05) #define wroteENCChannelConfigurationStreamSurround0X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0008,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround0LwRw_0 wroteENCChannelConfigurationStreamSurround0X_0(0x01) #define wroteENCChannelConfigurationStreamSurround0LhRh_0 wroteENCChannelConfigurationStreamSurround0X_0(0x04) #define wroteENCChannelConfigurationStreamSurround0LwRwLhRh_0 wroteENCChannelConfigurationStreamSurround0X_0(0x05) #define wroteENCChannelConfigurationStreamSurround1X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0009,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround1LwRw_0 wroteENCChannelConfigurationStreamSurround1X_0(0x01) #define wroteENCChannelConfigurationStreamSurround1LhRh_0 wroteENCChannelConfigurationStreamSurround1X_0(0x04) #define wroteENCChannelConfigurationStreamSurround1LwRwLhRh_0 wroteENCChannelConfigurationStreamSurround1X_0(0x05) #define wroteENCChannelConfigurationStreamSurround2X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x000a,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround2LwRw_0 wroteENCChannelConfigurationStreamSurround2X_0(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRh_0 wroteENCChannelConfigurationStreamSurround2X_0(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRh_0 wroteENCChannelConfigurationStreamSurround2X_0(0x05) #define wroteENCChannelConfigurationStreamSurround2XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x000a,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamSurround2LwRwStereo_0 wroteENCChannelConfigurationStreamSurround2XStereo_0(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhStereo_0 wroteENCChannelConfigurationStreamSurround2XStereo_0(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhStereo_0 wroteENCChannelConfigurationStreamSurround2XStereo_0(0x05) #define wroteENCChannelConfigurationStreamSurround2XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x000a,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamSurround2LwRwLtRt_0 wroteENCChannelConfigurationStreamSurround2XLtRt_0(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhLtRt_0 wroteENCChannelConfigurationStreamSurround2XLtRt_0(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhLtRt_0 wroteENCChannelConfigurationStreamSurround2XLtRt_0(0x05) #define wroteENCChannelConfigurationStreamSurround2XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x000a,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamSurround2LwRwMono_0 wroteENCChannelConfigurationStreamSurround2XMono_0(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhMono_0 wroteENCChannelConfigurationStreamSurround2XMono_0(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhMono_0 wroteENCChannelConfigurationStreamSurround2XMono_0(0x05) #define wroteENCChannelConfigurationStreamSurround3X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x000b,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround3LwRw_0 wroteENCChannelConfigurationStreamSurround3X_0(0x01) #define wroteENCChannelConfigurationStreamSurround3LhRh_0 wroteENCChannelConfigurationStreamSurround3X_0(0x04) #define wroteENCChannelConfigurationStreamSurround3LwRwLhRh_0 wroteENCChannelConfigurationStreamSurround3X_0(0x05) #define wroteENCChannelConfigurationStreamSurround4X_0(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x000c,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround4LwRw_0 wroteENCChannelConfigurationStreamSurround4X_0(0x01) #define wroteENCChannelConfigurationStreamSurround4LhRh_0 wroteENCChannelConfigurationStreamSurround4X_0(0x04) #define wroteENCChannelConfigurationStreamSurround4LwRwLhRh_0 wroteENCChannelConfigurationStreamSurround4X_0(0x05) #define wroteENCChannelConfigurationStreamNoneX_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0101,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamNoneLwRw_1 wroteENCChannelConfigurationStreamNoneX_1(0x01) #define wroteENCChannelConfigurationStreamNoneLhRh_1 wroteENCChannelConfigurationStreamNoneX_1(0x04) #define wroteENCChannelConfigurationStreamNoneLwRwLhRh_1 wroteENCChannelConfigurationStreamNoneX_1(0x05) #define wroteENCChannelConfigurationStreamMonoX_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0102,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamMonoLwRw_1 wroteENCChannelConfigurationStreamMonoX_1(0x01) #define wroteENCChannelConfigurationStreamMonoLhRh_1 wroteENCChannelConfigurationStreamMonoX_1(0x04) #define wroteENCChannelConfigurationStreamMonoLwRwLhRh_1 wroteENCChannelConfigurationStreamMonoX_1(0x05) #define wroteENCChannelConfigurationStreamPhantom0X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom0LwRw_1 wroteENCChannelConfigurationStreamPhantom0X_1(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRh_1 wroteENCChannelConfigurationStreamPhantom0X_1(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRh_1 wroteENCChannelConfigurationStreamPhantom0X_1(0x05) #define wroteENCChannelConfigurationStreamPhantom0XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamPhantom0LwRwStereo_1 wroteENCChannelConfigurationStreamPhantom0XStereo_1(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhStereo_1 wroteENCChannelConfigurationStreamPhantom0XStereo_1(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhStereo_1 wroteENCChannelConfigurationStreamPhantom0XStereo_1(0x05) #define wroteENCChannelConfigurationStreamPhantom0XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamPhantom0LwRwLtRt_1 wroteENCChannelConfigurationStreamPhantom0XLtRt_1(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhLtRt_1 wroteENCChannelConfigurationStreamPhantom0XLtRt_1(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhLtRt_1 wroteENCChannelConfigurationStreamPhantom0XLtRt_1(0x05) #define wroteENCChannelConfigurationStreamPhantom0XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamPhantom0LwRwMono_1 wroteENCChannelConfigurationStreamPhantom0XMono_1(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhMono_1 wroteENCChannelConfigurationStreamPhantom0XMono_1(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhMono_1 wroteENCChannelConfigurationStreamPhantom0XMono_1(0x05) #define wroteENCChannelConfigurationStreamPhantom0XDual_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0103,(n<<8|0x0004) #define wroteENCChannelConfigurationStreamPhantom0LwRwDual_1 wroteENCChannelConfigurationStreamPhantom0XDual_1(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhDual_1 wroteENCChannelConfigurationStreamPhantom0XDual_1(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhDual_1 wroteENCChannelConfigurationStreamPhantom0XDual_1(0x05) #define wroteENCChannelConfigurationStreamPhantom1X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0104,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom1LwRw_1 wroteENCChannelConfigurationStreamPhantom1X_1(0x01) #define wroteENCChannelConfigurationStreamPhantom1LhRh_1 wroteENCChannelConfigurationStreamPhantom1X_1(0x04) #define wroteENCChannelConfigurationStreamPhantom1LwRwLhRh_1 wroteENCChannelConfigurationStreamPhantom1X_1(0x05) #define wroteENCChannelConfigurationStreamPhantom2X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0105,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom2LwRw_1 wroteENCChannelConfigurationStreamPhantom2X_1(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRh_1 wroteENCChannelConfigurationStreamPhantom2X_1(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRh_1 wroteENCChannelConfigurationStreamPhantom2X_1(0x05) #define wroteENCChannelConfigurationStreamPhantom2XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0105,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamPhantom2LwRwStereo_1 wroteENCChannelConfigurationStreamPhantom2XStereo_1(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhStereo_1 wroteENCChannelConfigurationStreamPhantom2XStereo_1(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhStereo_1 wroteENCChannelConfigurationStreamPhantom2XStereo_1(0x05) #define wroteENCChannelConfigurationStreamPhantom2XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0105,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamPhantom2LwRwLtRt_1 wroteENCChannelConfigurationStreamPhantom2XLtRt_1(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhLtRt_1 wroteENCChannelConfigurationStreamPhantom2XLtRt_1(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhLtRt_1 wroteENCChannelConfigurationStreamPhantom2XLtRt_1(0x05) #define wroteENCChannelConfigurationStreamPhantom2XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0105,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamPhantom2LwRwMono_1 wroteENCChannelConfigurationStreamPhantom2XMono_1(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhMono_1 wroteENCChannelConfigurationStreamPhantom2XMono_1(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhMono_1 wroteENCChannelConfigurationStreamPhantom2XMono_1(0x05) #define wroteENCChannelConfigurationStreamPhantom3X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0106,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom3LwRw_1 wroteENCChannelConfigurationStreamPhantom3X_1(0x01) #define wroteENCChannelConfigurationStreamPhantom3LhRh_1 wroteENCChannelConfigurationStreamPhantom3X_1(0x04) #define wroteENCChannelConfigurationStreamPhantom3LwRwLhRh_1 wroteENCChannelConfigurationStreamPhantom3X_1(0x05) #define wroteENCChannelConfigurationStreamPhantom4X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0107,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom4LwRw_1 wroteENCChannelConfigurationStreamPhantom4X_1(0x01) #define wroteENCChannelConfigurationStreamPhantom4LhRh_1 wroteENCChannelConfigurationStreamPhantom4X_1(0x04) #define wroteENCChannelConfigurationStreamPhantom4LwRwLhRh_1 wroteENCChannelConfigurationStreamPhantom4X_1(0x05) #define wroteENCChannelConfigurationStreamSurround0X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0108,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround0LwRw_1 wroteENCChannelConfigurationStreamSurround0X_1(0x01) #define wroteENCChannelConfigurationStreamSurround0LhRh_1 wroteENCChannelConfigurationStreamSurround0X_1(0x04) #define wroteENCChannelConfigurationStreamSurround0LwRwLhRh_1 wroteENCChannelConfigurationStreamSurround0X_1(0x05) #define wroteENCChannelConfigurationStreamSurround1X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0109,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround1LwRw_1 wroteENCChannelConfigurationStreamSurround1X_1(0x01) #define wroteENCChannelConfigurationStreamSurround1LhRh_1 wroteENCChannelConfigurationStreamSurround1X_1(0x04) #define wroteENCChannelConfigurationStreamSurround1LwRwLhRh_1 wroteENCChannelConfigurationStreamSurround1X_1(0x05) #define wroteENCChannelConfigurationStreamSurround2X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x010a,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround2LwRw_1 wroteENCChannelConfigurationStreamSurround2X_1(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRh_1 wroteENCChannelConfigurationStreamSurround2X_1(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRh_1 wroteENCChannelConfigurationStreamSurround2X_1(0x05) #define wroteENCChannelConfigurationStreamSurround2XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x010a,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamSurround2LwRwStereo_1 wroteENCChannelConfigurationStreamSurround2XStereo_1(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhStereo_1 wroteENCChannelConfigurationStreamSurround2XStereo_1(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhStereo_1 wroteENCChannelConfigurationStreamSurround2XStereo_1(0x05) #define wroteENCChannelConfigurationStreamSurround2XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x010a,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamSurround2LwRwLtRt_1 wroteENCChannelConfigurationStreamSurround2XLtRt_1(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhLtRt_1 wroteENCChannelConfigurationStreamSurround2XLtRt_1(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhLtRt_1 wroteENCChannelConfigurationStreamSurround2XLtRt_1(0x05) #define wroteENCChannelConfigurationStreamSurround2XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x010a,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamSurround2LwRwMono_1 wroteENCChannelConfigurationStreamSurround2XMono_1(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhMono_1 wroteENCChannelConfigurationStreamSurround2XMono_1(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhMono_1 wroteENCChannelConfigurationStreamSurround2XMono_1(0x05) #define wroteENCChannelConfigurationStreamSurround3X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x010b,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround3LwRw_1 wroteENCChannelConfigurationStreamSurround3X_1(0x01) #define wroteENCChannelConfigurationStreamSurround3LhRh_1 wroteENCChannelConfigurationStreamSurround3X_1(0x04) #define wroteENCChannelConfigurationStreamSurround3LwRwLhRh_1 wroteENCChannelConfigurationStreamSurround3X_1(0x05) #define wroteENCChannelConfigurationStreamSurround4X_1(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x010c,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround4LwRw_1 wroteENCChannelConfigurationStreamSurround4X_1(0x01) #define wroteENCChannelConfigurationStreamSurround4LhRh_1 wroteENCChannelConfigurationStreamSurround4X_1(0x04) #define wroteENCChannelConfigurationStreamSurround4LwRwLhRh_1 wroteENCChannelConfigurationStreamSurround4X_1(0x05) #define wroteENCChannelConfigurationStreamNoneX_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0201,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamNoneLwRw_2 wroteENCChannelConfigurationStreamNoneX_2(0x01) #define wroteENCChannelConfigurationStreamNoneLhRh_2 wroteENCChannelConfigurationStreamNoneX_2(0x04) #define wroteENCChannelConfigurationStreamNoneLwRwLhRh_2 wroteENCChannelConfigurationStreamNoneX_2(0x05) #define wroteENCChannelConfigurationStreamMonoX_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0202,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamMonoLwRw_2 wroteENCChannelConfigurationStreamMonoX_2(0x01) #define wroteENCChannelConfigurationStreamMonoLhRh_2 wroteENCChannelConfigurationStreamMonoX_2(0x04) #define wroteENCChannelConfigurationStreamMonoLwRwLhRh_2 wroteENCChannelConfigurationStreamMonoX_2(0x05) #define wroteENCChannelConfigurationStreamPhantom0X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom0LwRw_2 wroteENCChannelConfigurationStreamPhantom0X_2(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRh_2 wroteENCChannelConfigurationStreamPhantom0X_2(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRh_2 wroteENCChannelConfigurationStreamPhantom0X_2(0x05) #define wroteENCChannelConfigurationStreamPhantom0XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamPhantom0LwRwStereo_2 wroteENCChannelConfigurationStreamPhantom0XStereo_2(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhStereo_2 wroteENCChannelConfigurationStreamPhantom0XStereo_2(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhStereo_2 wroteENCChannelConfigurationStreamPhantom0XStereo_2(0x05) #define wroteENCChannelConfigurationStreamPhantom0XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamPhantom0LwRwLtRt_2 wroteENCChannelConfigurationStreamPhantom0XLtRt_2(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhLtRt_2 wroteENCChannelConfigurationStreamPhantom0XLtRt_2(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhLtRt_2 wroteENCChannelConfigurationStreamPhantom0XLtRt_2(0x05) #define wroteENCChannelConfigurationStreamPhantom0XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamPhantom0LwRwMono_2 wroteENCChannelConfigurationStreamPhantom0XMono_2(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhMono_2 wroteENCChannelConfigurationStreamPhantom0XMono_2(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhMono_2 wroteENCChannelConfigurationStreamPhantom0XMono_2(0x05) #define wroteENCChannelConfigurationStreamPhantom0XDual_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0203,(n<<8|0x0004) #define wroteENCChannelConfigurationStreamPhantom0LwRwDual_2 wroteENCChannelConfigurationStreamPhantom0XDual_2(0x01) #define wroteENCChannelConfigurationStreamPhantom0LhRhDual_2 wroteENCChannelConfigurationStreamPhantom0XDual_2(0x04) #define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhDual_2 wroteENCChannelConfigurationStreamPhantom0XDual_2(0x05) #define wroteENCChannelConfigurationStreamPhantom1X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0204,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom1LwRw_2 wroteENCChannelConfigurationStreamPhantom1X_2(0x01) #define wroteENCChannelConfigurationStreamPhantom1LhRh_2 wroteENCChannelConfigurationStreamPhantom1X_2(0x04) #define wroteENCChannelConfigurationStreamPhantom1LwRwLhRh_2 wroteENCChannelConfigurationStreamPhantom1X_2(0x05) #define wroteENCChannelConfigurationStreamPhantom2X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0205,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom2LwRw_2 wroteENCChannelConfigurationStreamPhantom2X_2(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRh_2 wroteENCChannelConfigurationStreamPhantom2X_2(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRh_2 wroteENCChannelConfigurationStreamPhantom2X_2(0x05) #define wroteENCChannelConfigurationStreamPhantom2XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0205,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamPhantom2LwRwStereo_2 wroteENCChannelConfigurationStreamPhantom2XStereo_2(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhStereo_2 wroteENCChannelConfigurationStreamPhantom2XStereo_2(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhStereo_2 wroteENCChannelConfigurationStreamPhantom2XStereo_2(0x05) #define wroteENCChannelConfigurationStreamPhantom2XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0205,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamPhantom2LwRwLtRt_2 wroteENCChannelConfigurationStreamPhantom2XLtRt_2(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhLtRt_2 wroteENCChannelConfigurationStreamPhantom2XLtRt_2(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhLtRt_2 wroteENCChannelConfigurationStreamPhantom2XLtRt_2(0x05) #define wroteENCChannelConfigurationStreamPhantom2XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0205,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamPhantom2LwRwMono_2 wroteENCChannelConfigurationStreamPhantom2XMono_2(0x01) #define wroteENCChannelConfigurationStreamPhantom2LhRhMono_2 wroteENCChannelConfigurationStreamPhantom2XMono_2(0x04) #define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhMono_2 wroteENCChannelConfigurationStreamPhantom2XMono_2(0x05) #define wroteENCChannelConfigurationStreamPhantom3X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0206,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom3LwRw_2 wroteENCChannelConfigurationStreamPhantom3X_2(0x01) #define wroteENCChannelConfigurationStreamPhantom3LhRh_2 wroteENCChannelConfigurationStreamPhantom3X_2(0x04) #define wroteENCChannelConfigurationStreamPhantom3LwRwLhRh_2 wroteENCChannelConfigurationStreamPhantom3X_2(0x05) #define wroteENCChannelConfigurationStreamPhantom4X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0207,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamPhantom4LwRw_2 wroteENCChannelConfigurationStreamPhantom4X_2(0x01) #define wroteENCChannelConfigurationStreamPhantom4LhRh_2 wroteENCChannelConfigurationStreamPhantom4X_2(0x04) #define wroteENCChannelConfigurationStreamPhantom4LwRwLhRh_2 wroteENCChannelConfigurationStreamPhantom4X_2(0x05) #define wroteENCChannelConfigurationStreamSurround0X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0208,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround0LwRw_2 wroteENCChannelConfigurationStreamSurround0X_2(0x01) #define wroteENCChannelConfigurationStreamSurround0LhRh_2 wroteENCChannelConfigurationStreamSurround0X_2(0x04) #define wroteENCChannelConfigurationStreamSurround0LwRwLhRh_2 wroteENCChannelConfigurationStreamSurround0X_2(0x05) #define wroteENCChannelConfigurationStreamSurround1X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x0209,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround1LwRw_2 wroteENCChannelConfigurationStreamSurround1X_2(0x01) #define wroteENCChannelConfigurationStreamSurround1LhRh_2 wroteENCChannelConfigurationStreamSurround1X_2(0x04) #define wroteENCChannelConfigurationStreamSurround1LwRwLhRh_2 wroteENCChannelConfigurationStreamSurround1X_2(0x05) #define wroteENCChannelConfigurationStreamSurround2X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x020a,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround2LwRw_2 wroteENCChannelConfigurationStreamSurround2X_2(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRh_2 wroteENCChannelConfigurationStreamSurround2X_2(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRh_2 wroteENCChannelConfigurationStreamSurround2X_2(0x05) #define wroteENCChannelConfigurationStreamSurround2XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x020a,(n<<8|0x0001) #define wroteENCChannelConfigurationStreamSurround2LwRwStereo_2 wroteENCChannelConfigurationStreamSurround2XStereo_2(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhStereo_2 wroteENCChannelConfigurationStreamSurround2XStereo_2(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhStereo_2 wroteENCChannelConfigurationStreamSurround2XStereo_2(0x05) #define wroteENCChannelConfigurationStreamSurround2XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x020a,(n<<8|0x0002) #define wroteENCChannelConfigurationStreamSurround2LwRwLtRt_2 wroteENCChannelConfigurationStreamSurround2XLtRt_2(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhLtRt_2 wroteENCChannelConfigurationStreamSurround2XLtRt_2(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhLtRt_2 wroteENCChannelConfigurationStreamSurround2XLtRt_2(0x05) #define wroteENCChannelConfigurationStreamSurround2XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x020a,(n<<8|0x0003) #define wroteENCChannelConfigurationStreamSurround2LwRwMono_2 wroteENCChannelConfigurationStreamSurround2XMono_2(0x01) #define wroteENCChannelConfigurationStreamSurround2LhRhMono_2 wroteENCChannelConfigurationStreamSurround2XMono_2(0x04) #define wroteENCChannelConfigurationStreamSurround2LwRwLhRhMono_2 wroteENCChannelConfigurationStreamSurround2XMono_2(0x05) #define wroteENCChannelConfigurationStreamSurround3X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x020b,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround3LwRw_2 wroteENCChannelConfigurationStreamSurround3X_2(0x01) #define wroteENCChannelConfigurationStreamSurround3LhRh_2 wroteENCChannelConfigurationStreamSurround3X_2(0x04) #define wroteENCChannelConfigurationStreamSurround3LwRwLhRh_2 wroteENCChannelConfigurationStreamSurround3X_2(0x05) #define wroteENCChannelConfigurationStreamSurround4X_2(n) 0xcc00+STD_BETA_ENCODE,0x0028,0x020c,(n<<8|0x0000) #define wroteENCChannelConfigurationStreamSurround4LwRw_2 wroteENCChannelConfigurationStreamSurround4X_2(0x01) #define wroteENCChannelConfigurationStreamSurround4LhRh_2 wroteENCChannelConfigurationStreamSurround4X_2(0x04) #define wroteENCChannelConfigurationStreamSurround4LwRwLhRh_2 wroteENCChannelConfigurationStreamSurround4X_2(0x05) #define readENCChannelConfigurationStreamExtChan 0xc200+STD_BETA_ENCODE,0x2B00 #define readENCChannelConfigurationStreamExtMask readENCChannelConfigurationStreamExtChan #define wroteENCChannelConfigurationStreamExtChanNone 0xca00+STD_BETA_ENCODE,0x2B00 #define wroteENCChannelConfigurationStreamExtChanLwRw 0xca00+STD_BETA_ENCODE,0x2B01 #define wroteENCChannelConfigurationStreamExtChanLhRh 0xca00+STD_BETA_ENCODE,0x2B04 #define wroteENCChannelConfigurationStreamExtChanLwRwLhRh 0xca00+STD_BETA_ENCODE,0x2B05 #define wroteENCChannelConfigurationStream 0xcc00+STD_BETA_ENCODE,0x0028 //ATMOS #define wroteENCChannelConfigurationStreamSurround2ATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x2808,0x000a,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround2ATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x2808,0x010a,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround2ATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x2808,0x020a,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x2808,0x000a,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x2808,0x010a,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x2808,0x020a,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround4ATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x2808,0x000c,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround4ATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x2808,0x010c,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround4ATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x2808,0x020c,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x2808,0x000c,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x2808,0x010c,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x2808,0x020c,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationStreamSurround2LtfRtfLtrRtr_0 wroteENCChannelConfigurationStreamSurround2ATMOSMono_0(0xA) #define wroteENCChannelConfigurationStreamSurround2LtfRtfLtrRtr_1 wroteENCChannelConfigurationStreamSurround2ATMOSMono_1(0xA) #define wroteENCChannelConfigurationStreamSurround2LtfRtfLtrRtr_2 wroteENCChannelConfigurationStreamSurround2ATMOSMono_2(0xA) #define wroteENCChannelConfigurationStreamSurround4LtmRtm_0 wroteENCChannelConfigurationStreamSurround4ATMOSMono_0(0x4) #define wroteENCChannelConfigurationStreamSurround4LtmRtm_1 wroteENCChannelConfigurationStreamSurround4ATMOSMono_1(0x4) #define wroteENCChannelConfigurationStreamSurround4LtmRtm_2 wroteENCChannelConfigurationStreamSurround4ATMOSMono_2(0x4) #define wroteENCChannelConfigurationStreamSurround2LwRwLtfRtfLtrRtr_0 wroteENCChannelConfigurationStreamSurround2LwRwATMOSMono_0(0xA) #define wroteENCChannelConfigurationStreamSurround2LwRwLtfRtfLtrRtr_1 wroteENCChannelConfigurationStreamSurround2LwRwATMOSMono_1(0xA) #define wroteENCChannelConfigurationStreamSurround2LwRwLtfRtfLtrRtr_2 wroteENCChannelConfigurationStreamSurround2LwRwATMOSMono_2(0xA) #define wroteENCChannelConfigurationStreamSurround4LtfRtfLtrRtr_0 wroteENCChannelConfigurationStreamSurround4ATMOSMono_0(0xA) #define wroteENCChannelConfigurationStreamSurround4LtfRtfLtrRtr_1 wroteENCChannelConfigurationStreamSurround4ATMOSMono_1(0xA) #define wroteENCChannelConfigurationStreamSurround4LtfRtfLtrRtr_2 wroteENCChannelConfigurationStreamSurround4ATMOSMono_2(0xA) #define wroteENCChannelConfigurationStreamSurround4LwRwLtfRtfLtrRtr_0 wroteENCChannelConfigurationStreamSurround4LwRwATMOSMono_0(0xA) #define wroteENCChannelConfigurationStreamSurround4LwRwLtfRtfLtrRtr_1 wroteENCChannelConfigurationStreamSurround4LwRwATMOSMono_1(0xA) #define wroteENCChannelConfigurationStreamSurround4LwRwLtfRtfLtrRtr_2 wroteENCChannelConfigurationStreamSurround4LwRwATMOSMono_2(0xA) #define readENCChannelConfigurationStreamATMOSChan 0xc200+STD_BETA_ENCODE,0x2d00 #define readENCChannelConfigurationStreamATMOSMask readENCChannelConfigurationStreamATMOSChan #define wroteENCChannelConfigurationStreamATMOSChanNone 0xca00+STD_BETA_ENCODE,0x2d00 #define wroteENCChannelConfigurationStreamATMOSChanLfhRfhLrhRrh 0xca00+STD_BETA_ENCODE,(0x2d11)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh #define wroteENCChannelConfigurationStreamATMOSChanLtfRtfLtrRtr 0xca00+STD_BETA_ENCODE,(0x2d0a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr #define wroteENCChannelConfigurationStreamATMOSChanLtmRtm 0xca00+STD_BETA_ENCODE,(0x2d04)//PAF_CC_EXTMASK_LtmRtm //------------------------------------------------------------------------------------------------------------- #define readENCChannelConfigurationEncode 0xc400+STD_BETA_ENCODE,0x0030 #define wroteENCChannelConfigurationEncodeUnknown 0xcc00+STD_BETA_ENCODE,0x0030,0x0000,0x0000 #define wroteENCChannelConfigurationEncodeNone 0xcc00+STD_BETA_ENCODE,0x0030,0x0001,0x0000 #define wroteENCChannelConfigurationEncodeMono 0xcc00+STD_BETA_ENCODE,0x0030,0x0002,0x0000 #define wroteENCChannelConfigurationEncodeStereo 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,0x0000 #define wroteENCChannelConfigurationEncodeStereoLtRt 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,0x0002 #define wroteENCChannelConfigurationEncodeNone_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0001,0x0000 #define wroteENCChannelConfigurationEncodeMono_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0002,0x0000 #define wroteENCChannelConfigurationEncodePhantom0_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,0x0000 #define wroteENCChannelConfigurationEncodePhantom0Stereo_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,0x0001 #define wroteENCChannelConfigurationEncodePhantom0LtRt_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,0x0002 #define wroteENCChannelConfigurationEncodePhantom0Mono_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,0x0003 #define wroteENCChannelConfigurationEncodePhantom0Dual_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,0x0004 #define wroteENCChannelConfigurationEncodePhantom1_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0004,0x0000 #define wroteENCChannelConfigurationEncodePhantom2_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0005,0x0000 #define wroteENCChannelConfigurationEncodePhantom2Stereo_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0005,0x0001 #define wroteENCChannelConfigurationEncodePhantom2LtRt_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0005,0x0002 #define wroteENCChannelConfigurationEncodePhantom2Mono_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0005,0x0003 #define wroteENCChannelConfigurationEncodePhantom3_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0006,0x0000 #define wroteENCChannelConfigurationEncodePhantom4_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0007,0x0000 #define wroteENCChannelConfigurationEncodeSurround0_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0008,0x0000 #define wroteENCChannelConfigurationEncodeSurround1_0 0xcc00+STD_BETA_ENCODE,0x0030,0x0009,0x0000 #define wroteENCChannelConfigurationEncodeSurround2_0 0xcc00+STD_BETA_ENCODE,0x0030,0x000a,0x0000 #define wroteENCChannelConfigurationEncodeSurround2Stereo_0 0xcc00+STD_BETA_ENCODE,0x0030,0x000a,0x0001 #define wroteENCChannelConfigurationEncodeSurround2LtRt_0 0xcc00+STD_BETA_ENCODE,0x0030,0x000a,0x0002 #define wroteENCChannelConfigurationEncodeSurround2Mono_0 0xcc00+STD_BETA_ENCODE,0x0030,0x000a,0x0003 #define wroteENCChannelConfigurationEncodeSurround3_0 0xcc00+STD_BETA_ENCODE,0x0030,0x000b,0x0000 #define wroteENCChannelConfigurationEncodeSurround4_0 0xcc00+STD_BETA_ENCODE,0x0030,0x000c,0x0000 #define wroteENCChannelConfigurationEncodeNone_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0101,0x0000 #define wroteENCChannelConfigurationEncodeMono_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0102,0x0000 #define wroteENCChannelConfigurationEncodePhantom0_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,0x0000 #define wroteENCChannelConfigurationEncodePhantom0Stereo_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,0x0001 #define wroteENCChannelConfigurationEncodePhantom0LtRt_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,0x0002 #define wroteENCChannelConfigurationEncodePhantom0Mono_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,0x0003 #define wroteENCChannelConfigurationEncodePhantom0Dual_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,0x0004 #define wroteENCChannelConfigurationEncodePhantom1_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0104,0x0000 #define wroteENCChannelConfigurationEncodePhantom2_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0105,0x0000 #define wroteENCChannelConfigurationEncodePhantom2Stereo_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0105,0x0001 #define wroteENCChannelConfigurationEncodePhantom2LtRt_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0105,0x0002 #define wroteENCChannelConfigurationEncodePhantom2Mono_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0105,0x0003 #define wroteENCChannelConfigurationEncodePhantom3_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0106,0x0000 #define wroteENCChannelConfigurationEncodePhantom4_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0107,0x0000 #define wroteENCChannelConfigurationEncodeSurround0_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0108,0x0000 #define wroteENCChannelConfigurationEncodeSurround1_1 0xcc00+STD_BETA_ENCODE,0x0030,0x0109,0x0000 #define wroteENCChannelConfigurationEncodeSurround2_1 0xcc00+STD_BETA_ENCODE,0x0030,0x010a,0x0000 #define wroteENCChannelConfigurationEncodeSurround2Stereo_1 0xcc00+STD_BETA_ENCODE,0x0030,0x010a,0x0001 #define wroteENCChannelConfigurationEncodeSurround2LtRt_1 0xcc00+STD_BETA_ENCODE,0x0030,0x010a,0x0002 #define wroteENCChannelConfigurationEncodeSurround2Mono_1 0xcc00+STD_BETA_ENCODE,0x0030,0x010a,0x0003 #define wroteENCChannelConfigurationEncodeSurround3_1 0xcc00+STD_BETA_ENCODE,0x0030,0x010b,0x0000 #define wroteENCChannelConfigurationEncodeSurround4_1 0xcc00+STD_BETA_ENCODE,0x0030,0x010c,0x0000 #define wroteENCChannelConfigurationEncodeNone_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0201,0x0000 #define wroteENCChannelConfigurationEncodeMono_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0202,0x0000 #define wroteENCChannelConfigurationEncodePhantom0_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,0x0000 #define wroteENCChannelConfigurationEncodePhantom0Stereo_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,0x0001 #define wroteENCChannelConfigurationEncodePhantom0LtRt_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,0x0002 #define wroteENCChannelConfigurationEncodePhantom0Mono_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,0x0003 #define wroteENCChannelConfigurationEncodePhantom0Dual_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,0x0004 #define wroteENCChannelConfigurationEncodePhantom1_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0204,0x0000 #define wroteENCChannelConfigurationEncodePhantom2_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0205,0x0000 #define wroteENCChannelConfigurationEncodePhantom2Stereo_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0205,0x0001 #define wroteENCChannelConfigurationEncodePhantom2LtRt_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0205,0x0002 #define wroteENCChannelConfigurationEncodePhantom2Mono_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0205,0x0003 #define wroteENCChannelConfigurationEncodePhantom3_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0206,0x0000 #define wroteENCChannelConfigurationEncodePhantom4_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0207,0x0000 #define wroteENCChannelConfigurationEncodeSurround0_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0208,0x0000 #define wroteENCChannelConfigurationEncodeSurround1_2 0xcc00+STD_BETA_ENCODE,0x0030,0x0209,0x0000 #define wroteENCChannelConfigurationEncodeSurround2_2 0xcc00+STD_BETA_ENCODE,0x0030,0x020a,0x0000 #define wroteENCChannelConfigurationEncodeSurround2Stereo_2 0xcc00+STD_BETA_ENCODE,0x0030,0x020a,0x0001 #define wroteENCChannelConfigurationEncodeSurround2LtRt_2 0xcc00+STD_BETA_ENCODE,0x0030,0x020a,0x0002 #define wroteENCChannelConfigurationEncodeSurround2Mono_2 0xcc00+STD_BETA_ENCODE,0x0030,0x020a,0x0003 #define wroteENCChannelConfigurationEncodeSurround3_2 0xcc00+STD_BETA_ENCODE,0x0030,0x020b,0x0000 #define wroteENCChannelConfigurationEncodeSurround4_2 0xcc00+STD_BETA_ENCODE,0x0030,0x020c,0x0000 #define wroteENCChannelConfigurationEncodeNoneX_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0001,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeNoneLwRw_0 wroteENCChannelConfigurationEncodeNoneX_0(0x01) #define wroteENCChannelConfigurationEncodeNoneLhRh_0 wroteENCChannelConfigurationEncodeNoneX_0(0x04) #define wroteENCChannelConfigurationEncodeNoneLwRwLhRh_0 wroteENCChannelConfigurationEncodeNoneX_0(0x05) #define wroteENCChannelConfigurationEncodeMonoX_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0002,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeMonoLwRw_0 wroteENCChannelConfigurationEncodeMonoX_0(0x01) #define wroteENCChannelConfigurationEncodeMonoLhRh_0 wroteENCChannelConfigurationEncodeMonoX_0(0x04) #define wroteENCChannelConfigurationEncodeMonoLwRwLhRh_0 wroteENCChannelConfigurationEncodeMonoX_0(0x05) #define wroteENCChannelConfigurationEncodePhantom0X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom0LwRw_0 wroteENCChannelConfigurationEncodePhantom0X_0(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRh_0 wroteENCChannelConfigurationEncodePhantom0X_0(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRh_0 wroteENCChannelConfigurationEncodePhantom0X_0(0x05) #define wroteENCChannelConfigurationEncodePhantom0XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodePhantom0LwRwStereo_0 wroteENCChannelConfigurationEncodePhantom0XStereo_0(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhStereo_0 wroteENCChannelConfigurationEncodePhantom0XStereo_0(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhStereo_0 wroteENCChannelConfigurationEncodePhantom0XStereo_0(0x05) #define wroteENCChannelConfigurationEncodePhantom0XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodePhantom0LwRwLtRt_0 wroteENCChannelConfigurationEncodePhantom0XLtRt_0(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhLtRt_0 wroteENCChannelConfigurationEncodePhantom0XLtRt_0(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhLtRt_0 wroteENCChannelConfigurationEncodePhantom0XLtRt_0(0x05) #define wroteENCChannelConfigurationEncodePhantom0XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodePhantom0LwRwMono_0 wroteENCChannelConfigurationEncodePhantom0XMono_0(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhMono_0 wroteENCChannelConfigurationEncodePhantom0XMono_0(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhMono_0 wroteENCChannelConfigurationEncodePhantom0XMono_0(0x05) #define wroteENCChannelConfigurationEncodePhantom0XDual_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0003,(n<<8|0x0004) #define wroteENCChannelConfigurationEncodePhantom0LwRwDual_0 wroteENCChannelConfigurationEncodePhantom0XDual_0(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhDual_0 wroteENCChannelConfigurationEncodePhantom0XDual_0(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhDual_0 wroteENCChannelConfigurationEncodePhantom0XDual_0(0x05) #define wroteENCChannelConfigurationEncodePhantom1X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0004,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom1LwRw_0 wroteENCChannelConfigurationEncodePhantom1X_0(0x01) #define wroteENCChannelConfigurationEncodePhantom1LhRh_0 wroteENCChannelConfigurationEncodePhantom1X_0(0x04) #define wroteENCChannelConfigurationEncodePhantom1LwRwLhRh_0 wroteENCChannelConfigurationEncodePhantom1X_0(0x05) #define wroteENCChannelConfigurationEncodePhantom2X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0005,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom2LwRw_0 wroteENCChannelConfigurationEncodePhantom2X_0(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRh_0 wroteENCChannelConfigurationEncodePhantom2X_0(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRh_0 wroteENCChannelConfigurationEncodePhantom2X_0(0x05) #define wroteENCChannelConfigurationEncodePhantom2XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0005,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodePhantom2LwRwStereo_0 wroteENCChannelConfigurationEncodePhantom2XStereo_0(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhStereo_0 wroteENCChannelConfigurationEncodePhantom2XStereo_0(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhStereo_0 wroteENCChannelConfigurationEncodePhantom2XStereo_0(0x05) #define wroteENCChannelConfigurationEncodePhantom2XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0005,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodePhantom2LwRwLtRt_0 wroteENCChannelConfigurationEncodePhantom2XLtRt_0(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhLtRt_0 wroteENCChannelConfigurationEncodePhantom2XLtRt_0(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhLtRt_0 wroteENCChannelConfigurationEncodePhantom2XLtRt_0(0x05) #define wroteENCChannelConfigurationEncodePhantom2XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0005,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodePhantom2LwRwMono_0 wroteENCChannelConfigurationEncodePhantom2XMono_0(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhMono_0 wroteENCChannelConfigurationEncodePhantom2XMono_0(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhMono_0 wroteENCChannelConfigurationEncodePhantom2XMono_0(0x05) #define wroteENCChannelConfigurationEncodePhantom3X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0006,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom3LwRw_0 wroteENCChannelConfigurationEncodePhantom3X_0(0x01) #define wroteENCChannelConfigurationEncodePhantom3LhRh_0 wroteENCChannelConfigurationEncodePhantom3X_0(0x04) #define wroteENCChannelConfigurationEncodePhantom3LwRwLhRh_0 wroteENCChannelConfigurationEncodePhantom3X_0(0x05) #define wroteENCChannelConfigurationEncodePhantom4X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0007,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom4LwRw_0 wroteENCChannelConfigurationEncodePhantom4X_0(0x01) #define wroteENCChannelConfigurationEncodePhantom4LhRh_0 wroteENCChannelConfigurationEncodePhantom4X_0(0x04) #define wroteENCChannelConfigurationEncodePhantom4LwRwLhRh_0 wroteENCChannelConfigurationEncodePhantom4X_0(0x05) #define wroteENCChannelConfigurationEncodeSurround0X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0008,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround0LwRw_0 wroteENCChannelConfigurationEncodeSurround0X_0(0x01) #define wroteENCChannelConfigurationEncodeSurround0LhRh_0 wroteENCChannelConfigurationEncodeSurround0X_0(0x04) #define wroteENCChannelConfigurationEncodeSurround0LwRwLhRh_0 wroteENCChannelConfigurationEncodeSurround0X_0(0x05) #define wroteENCChannelConfigurationEncodeSurround1X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0009,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround1LwRw_0 wroteENCChannelConfigurationEncodeSurround1X_0(0x01) #define wroteENCChannelConfigurationEncodeSurround1LhRh_0 wroteENCChannelConfigurationEncodeSurround1X_0(0x04) #define wroteENCChannelConfigurationEncodeSurround1LwRwLhRh_0 wroteENCChannelConfigurationEncodeSurround1X_0(0x05) #define wroteENCChannelConfigurationEncodeSurround2X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x000a,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround2LwRw_0 wroteENCChannelConfigurationEncodeSurround2X_0(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRh_0 wroteENCChannelConfigurationEncodeSurround2X_0(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRh_0 wroteENCChannelConfigurationEncodeSurround2X_0(0x05) #define wroteENCChannelConfigurationEncodeSurround2XStereo_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x000a,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodeSurround2LwRwStereo_0 wroteENCChannelConfigurationEncodeSurround2XStereo_0(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhStereo_0 wroteENCChannelConfigurationEncodeSurround2XStereo_0(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhStereo_0 wroteENCChannelConfigurationEncodeSurround2XStereo_0(0x05) #define wroteENCChannelConfigurationEncodeSurround2XLtRt_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x000a,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodeSurround2LwRwLtRt_0 wroteENCChannelConfigurationEncodeSurround2XLtRt_0(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhLtRt_0 wroteENCChannelConfigurationEncodeSurround2XLtRt_0(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhLtRt_0 wroteENCChannelConfigurationEncodeSurround2XLtRt_0(0x05) #define wroteENCChannelConfigurationEncodeSurround2XMono_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x000a,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodeSurround2LwRwMono_0 wroteENCChannelConfigurationEncodeSurround2XMono_0(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhMono_0 wroteENCChannelConfigurationEncodeSurround2XMono_0(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhMono_0 wroteENCChannelConfigurationEncodeSurround2XMono_0(0x05) #define wroteENCChannelConfigurationEncodeSurround3X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x000b,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround3LwRw_0 wroteENCChannelConfigurationEncodeSurround3X_0(0x01) #define wroteENCChannelConfigurationEncodeSurround3LhRh_0 wroteENCChannelConfigurationEncodeSurround3X_0(0x04) #define wroteENCChannelConfigurationEncodeSurround3LwRwLhRh_0 wroteENCChannelConfigurationEncodeSurround3X_0(0x05) #define wroteENCChannelConfigurationEncodeSurround4X_0(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x000c,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround4LwRw_0 wroteENCChannelConfigurationEncodeSurround4X_0(0x01) #define wroteENCChannelConfigurationEncodeSurround4LhRh_0 wroteENCChannelConfigurationEncodeSurround4X_0(0x04) #define wroteENCChannelConfigurationEncodeSurround4LwRwLhRh_0 wroteENCChannelConfigurationEncodeSurround4X_0(0x05) #define wroteENCChannelConfigurationEncodeNoneX_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0101,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeNoneLwRw_1 wroteENCChannelConfigurationEncodeNoneX_1(0x01) #define wroteENCChannelConfigurationEncodeNoneLhRh_1 wroteENCChannelConfigurationEncodeNoneX_1(0x04) #define wroteENCChannelConfigurationEncodeNoneLwRwLhRh_1 wroteENCChannelConfigurationEncodeNoneX_1(0x05) #define wroteENCChannelConfigurationEncodeMonoX_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0102,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeMonoLwRw_1 wroteENCChannelConfigurationEncodeMonoX_1(0x01) #define wroteENCChannelConfigurationEncodeMonoLhRh_1 wroteENCChannelConfigurationEncodeMonoX_1(0x04) #define wroteENCChannelConfigurationEncodeMonoLwRwLhRh_1 wroteENCChannelConfigurationEncodeMonoX_1(0x05) #define wroteENCChannelConfigurationEncodePhantom0X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom0LwRw_1 wroteENCChannelConfigurationEncodePhantom0X_1(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRh_1 wroteENCChannelConfigurationEncodePhantom0X_1(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRh_1 wroteENCChannelConfigurationEncodePhantom0X_1(0x05) #define wroteENCChannelConfigurationEncodePhantom0XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodePhantom0LwRwStereo_1 wroteENCChannelConfigurationEncodePhantom0XStereo_1(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhStereo_1 wroteENCChannelConfigurationEncodePhantom0XStereo_1(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhStereo_1 wroteENCChannelConfigurationEncodePhantom0XStereo_1(0x05) #define wroteENCChannelConfigurationEncodePhantom0XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodePhantom0LwRwLtRt_1 wroteENCChannelConfigurationEncodePhantom0XLtRt_1(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhLtRt_1 wroteENCChannelConfigurationEncodePhantom0XLtRt_1(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhLtRt_1 wroteENCChannelConfigurationEncodePhantom0XLtRt_1(0x05) #define wroteENCChannelConfigurationEncodePhantom0XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodePhantom0LwRwMono_1 wroteENCChannelConfigurationEncodePhantom0XMono_1(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhMono_1 wroteENCChannelConfigurationEncodePhantom0XMono_1(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhMono_1 wroteENCChannelConfigurationEncodePhantom0XMono_1(0x05) #define wroteENCChannelConfigurationEncodePhantom0XDual_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0103,(n<<8|0x0004) #define wroteENCChannelConfigurationEncodePhantom0LwRwDual_1 wroteENCChannelConfigurationEncodePhantom0XDual_1(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhDual_1 wroteENCChannelConfigurationEncodePhantom0XDual_1(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhDual_1 wroteENCChannelConfigurationEncodePhantom0XDual_1(0x05) #define wroteENCChannelConfigurationEncodePhantom1X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0104,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom1LwRw_1 wroteENCChannelConfigurationEncodePhantom1X_1(0x01) #define wroteENCChannelConfigurationEncodePhantom1LhRh_1 wroteENCChannelConfigurationEncodePhantom1X_1(0x04) #define wroteENCChannelConfigurationEncodePhantom1LwRwLhRh_1 wroteENCChannelConfigurationEncodePhantom1X_1(0x05) #define wroteENCChannelConfigurationEncodePhantom2X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0105,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom2LwRw_1 wroteENCChannelConfigurationEncodePhantom2X_1(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRh_1 wroteENCChannelConfigurationEncodePhantom2X_1(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRh_1 wroteENCChannelConfigurationEncodePhantom2X_1(0x05) #define wroteENCChannelConfigurationEncodePhantom2XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0105,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodePhantom2LwRwStereo_1 wroteENCChannelConfigurationEncodePhantom2XStereo_1(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhStereo_1 wroteENCChannelConfigurationEncodePhantom2XStereo_1(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhStereo_1 wroteENCChannelConfigurationEncodePhantom2XStereo_1(0x05) #define wroteENCChannelConfigurationEncodePhantom2XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0105,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodePhantom2LwRwLtRt_1 wroteENCChannelConfigurationEncodePhantom2XLtRt_1(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhLtRt_1 wroteENCChannelConfigurationEncodePhantom2XLtRt_1(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhLtRt_1 wroteENCChannelConfigurationEncodePhantom2XLtRt_1(0x05) #define wroteENCChannelConfigurationEncodePhantom2XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0105,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodePhantom2LwRwMono_1 wroteENCChannelConfigurationEncodePhantom2XMono_1(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhMono_1 wroteENCChannelConfigurationEncodePhantom2XMono_1(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhMono_1 wroteENCChannelConfigurationEncodePhantom2XMono_1(0x05) #define wroteENCChannelConfigurationEncodePhantom3X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0106,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom3LwRw_1 wroteENCChannelConfigurationEncodePhantom3X_1(0x01) #define wroteENCChannelConfigurationEncodePhantom3LhRh_1 wroteENCChannelConfigurationEncodePhantom3X_1(0x04) #define wroteENCChannelConfigurationEncodePhantom3LwRwLhRh_1 wroteENCChannelConfigurationEncodePhantom3X_1(0x05) #define wroteENCChannelConfigurationEncodePhantom4X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0107,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom4LwRw_1 wroteENCChannelConfigurationEncodePhantom4X_1(0x01) #define wroteENCChannelConfigurationEncodePhantom4LhRh_1 wroteENCChannelConfigurationEncodePhantom4X_1(0x04) #define wroteENCChannelConfigurationEncodePhantom4LwRwLhRh_1 wroteENCChannelConfigurationEncodePhantom4X_1(0x05) #define wroteENCChannelConfigurationEncodeSurround0X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0108,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround0LwRw_1 wroteENCChannelConfigurationEncodeSurround0X_1(0x01) #define wroteENCChannelConfigurationEncodeSurround0LhRh_1 wroteENCChannelConfigurationEncodeSurround0X_1(0x04) #define wroteENCChannelConfigurationEncodeSurround0LwRwLhRh_1 wroteENCChannelConfigurationEncodeSurround0X_1(0x05) #define wroteENCChannelConfigurationEncodeSurround1X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0109,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround1LwRw_1 wroteENCChannelConfigurationEncodeSurround1X_1(0x01) #define wroteENCChannelConfigurationEncodeSurround1LhRh_1 wroteENCChannelConfigurationEncodeSurround1X_1(0x04) #define wroteENCChannelConfigurationEncodeSurround1LwRwLhRh_1 wroteENCChannelConfigurationEncodeSurround1X_1(0x05) #define wroteENCChannelConfigurationEncodeSurround2X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x010a,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround2LwRw_1 wroteENCChannelConfigurationEncodeSurround2X_1(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRh_1 wroteENCChannelConfigurationEncodeSurround2X_1(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRh_1 wroteENCChannelConfigurationEncodeSurround2X_1(0x05) #define wroteENCChannelConfigurationEncodeSurround2XStereo_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x010a,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodeSurround2LwRwStereo_1 wroteENCChannelConfigurationEncodeSurround2XStereo_1(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhStereo_1 wroteENCChannelConfigurationEncodeSurround2XStereo_1(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhStereo_1 wroteENCChannelConfigurationEncodeSurround2XStereo_1(0x05) #define wroteENCChannelConfigurationEncodeSurround2XLtRt_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x010a,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodeSurround2LwRwLtRt_1 wroteENCChannelConfigurationEncodeSurround2XLtRt_1(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhLtRt_1 wroteENCChannelConfigurationEncodeSurround2XLtRt_1(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhLtRt_1 wroteENCChannelConfigurationEncodeSurround2XLtRt_1(0x05) #define wroteENCChannelConfigurationEncodeSurround2XMono_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x010a,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodeSurround2LwRwMono_1 wroteENCChannelConfigurationEncodeSurround2XMono_1(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhMono_1 wroteENCChannelConfigurationEncodeSurround2XMono_1(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhMono_1 wroteENCChannelConfigurationEncodeSurround2XMono_1(0x05) #define wroteENCChannelConfigurationEncodeSurround3X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x010b,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround3LwRw_1 wroteENCChannelConfigurationEncodeSurround3X_1(0x01) #define wroteENCChannelConfigurationEncodeSurround3LhRh_1 wroteENCChannelConfigurationEncodeSurround3X_1(0x04) #define wroteENCChannelConfigurationEncodeSurround3LwRwLhRh_1 wroteENCChannelConfigurationEncodeSurround3X_1(0x05) #define wroteENCChannelConfigurationEncodeSurround4X_1(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x010c,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround4LwRw_1 wroteENCChannelConfigurationEncodeSurround4X_1(0x01) #define wroteENCChannelConfigurationEncodeSurround4LhRh_1 wroteENCChannelConfigurationEncodeSurround4X_1(0x04) #define wroteENCChannelConfigurationEncodeSurround4LwRwLhRh_1 wroteENCChannelConfigurationEncodeSurround4X_1(0x05) #define wroteENCChannelConfigurationEncodeNoneX_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0201,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeNoneLwRw_2 wroteENCChannelConfigurationEncodeNoneX_2(0x01) #define wroteENCChannelConfigurationEncodeNoneLhRh_2 wroteENCChannelConfigurationEncodeNoneX_2(0x04) #define wroteENCChannelConfigurationEncodeNoneLwRwLhRh_2 wroteENCChannelConfigurationEncodeNoneX_2(0x05) #define wroteENCChannelConfigurationEncodeMonoX_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0202,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeMonoLwRw_2 wroteENCChannelConfigurationEncodeMonoX_2(0x01) #define wroteENCChannelConfigurationEncodeMonoLhRh_2 wroteENCChannelConfigurationEncodeMonoX_2(0x04) #define wroteENCChannelConfigurationEncodeMonoLwRwLhRh_2 wroteENCChannelConfigurationEncodeMonoX_2(0x05) #define wroteENCChannelConfigurationEncodePhantom0X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom0LwRw_2 wroteENCChannelConfigurationEncodePhantom0X_2(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRh_2 wroteENCChannelConfigurationEncodePhantom0X_2(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRh_2 wroteENCChannelConfigurationEncodePhantom0X_2(0x05) #define wroteENCChannelConfigurationEncodePhantom0XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodePhantom0LwRwStereo_2 wroteENCChannelConfigurationEncodePhantom0XStereo_2(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhStereo_2 wroteENCChannelConfigurationEncodePhantom0XStereo_2(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhStereo_2 wroteENCChannelConfigurationEncodePhantom0XStereo_2(0x05) #define wroteENCChannelConfigurationEncodePhantom0XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodePhantom0LwRwLtRt_2 wroteENCChannelConfigurationEncodePhantom0XLtRt_2(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhLtRt_2 wroteENCChannelConfigurationEncodePhantom0XLtRt_2(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhLtRt_2 wroteENCChannelConfigurationEncodePhantom0XLtRt_2(0x05) #define wroteENCChannelConfigurationEncodePhantom0XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodePhantom0LwRwMono_2 wroteENCChannelConfigurationEncodePhantom0XMono_2(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhMono_2 wroteENCChannelConfigurationEncodePhantom0XMono_2(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhMono_2 wroteENCChannelConfigurationEncodePhantom0XMono_2(0x05) #define wroteENCChannelConfigurationEncodePhantom0XDual_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0203,(n<<8|0x0004) #define wroteENCChannelConfigurationEncodePhantom0LwRwDual_2 wroteENCChannelConfigurationEncodePhantom0XDual_2(0x01) #define wroteENCChannelConfigurationEncodePhantom0LhRhDual_2 wroteENCChannelConfigurationEncodePhantom0XDual_2(0x04) #define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhDual_2 wroteENCChannelConfigurationEncodePhantom0XDual_2(0x05) #define wroteENCChannelConfigurationEncodePhantom1X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0204,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom1LwRw_2 wroteENCChannelConfigurationEncodePhantom1X_2(0x01) #define wroteENCChannelConfigurationEncodePhantom1LhRh_2 wroteENCChannelConfigurationEncodePhantom1X_2(0x04) #define wroteENCChannelConfigurationEncodePhantom1LwRwLhRh_2 wroteENCChannelConfigurationEncodePhantom1X_2(0x05) #define wroteENCChannelConfigurationEncodePhantom2X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0205,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom2LwRw_2 wroteENCChannelConfigurationEncodePhantom2X_2(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRh_2 wroteENCChannelConfigurationEncodePhantom2X_2(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRh_2 wroteENCChannelConfigurationEncodePhantom2X_2(0x05) #define wroteENCChannelConfigurationEncodePhantom2XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0205,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodePhantom2LwRwStereo_2 wroteENCChannelConfigurationEncodePhantom2XStereo_2(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhStereo_2 wroteENCChannelConfigurationEncodePhantom2XStereo_2(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhStereo_2 wroteENCChannelConfigurationEncodePhantom2XStereo_2(0x05) #define wroteENCChannelConfigurationEncodePhantom2XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0205,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodePhantom2LwRwLtRt_2 wroteENCChannelConfigurationEncodePhantom2XLtRt_2(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhLtRt_2 wroteENCChannelConfigurationEncodePhantom2XLtRt_2(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhLtRt_2 wroteENCChannelConfigurationEncodePhantom2XLtRt_2(0x05) #define wroteENCChannelConfigurationEncodePhantom2XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0205,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodePhantom2LwRwMono_2 wroteENCChannelConfigurationEncodePhantom2XMono_2(0x01) #define wroteENCChannelConfigurationEncodePhantom2LhRhMono_2 wroteENCChannelConfigurationEncodePhantom2XMono_2(0x04) #define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhMono_2 wroteENCChannelConfigurationEncodePhantom2XMono_2(0x05) #define wroteENCChannelConfigurationEncodePhantom3X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0206,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom3LwRw_2 wroteENCChannelConfigurationEncodePhantom3X_2(0x01) #define wroteENCChannelConfigurationEncodePhantom3LhRh_2 wroteENCChannelConfigurationEncodePhantom3X_2(0x04) #define wroteENCChannelConfigurationEncodePhantom3LwRwLhRh_2 wroteENCChannelConfigurationEncodePhantom3X_2(0x05) #define wroteENCChannelConfigurationEncodePhantom4X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0207,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodePhantom4LwRw_2 wroteENCChannelConfigurationEncodePhantom4X_2(0x01) #define wroteENCChannelConfigurationEncodePhantom4LhRh_2 wroteENCChannelConfigurationEncodePhantom4X_2(0x04) #define wroteENCChannelConfigurationEncodePhantom4LwRwLhRh_2 wroteENCChannelConfigurationEncodePhantom4X_2(0x05) #define wroteENCChannelConfigurationEncodeSurround0X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0208,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround0LwRw_2 wroteENCChannelConfigurationEncodeSurround0X_2(0x01) #define wroteENCChannelConfigurationEncodeSurround0LhRh_2 wroteENCChannelConfigurationEncodeSurround0X_2(0x04) #define wroteENCChannelConfigurationEncodeSurround0LwRwLhRh_2 wroteENCChannelConfigurationEncodeSurround0X_2(0x05) #define wroteENCChannelConfigurationEncodeSurround1X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x0209,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround1LwRw_2 wroteENCChannelConfigurationEncodeSurround1X_2(0x01) #define wroteENCChannelConfigurationEncodeSurround1LhRh_2 wroteENCChannelConfigurationEncodeSurround1X_2(0x04) #define wroteENCChannelConfigurationEncodeSurround1LwRwLhRh_2 wroteENCChannelConfigurationEncodeSurround1X_2(0x05) #define wroteENCChannelConfigurationEncodeSurround2X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x020a,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround2LwRw_2 wroteENCChannelConfigurationEncodeSurround2X_2(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRh_2 wroteENCChannelConfigurationEncodeSurround2X_2(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRh_2 wroteENCChannelConfigurationEncodeSurround2X_2(0x05) #define wroteENCChannelConfigurationEncodeSurround2XStereo_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x020a,(n<<8|0x0001) #define wroteENCChannelConfigurationEncodeSurround2LwRwStereo_2 wroteENCChannelConfigurationEncodeSurround2XStereo_2(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhStereo_2 wroteENCChannelConfigurationEncodeSurround2XStereo_2(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhStereo_2 wroteENCChannelConfigurationEncodeSurround2XStereo_2(0x05) #define wroteENCChannelConfigurationEncodeSurround2XLtRt_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x020a,(n<<8|0x0002) #define wroteENCChannelConfigurationEncodeSurround2LwRwLtRt_2 wroteENCChannelConfigurationEncodeSurround2XLtRt_2(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhLtRt_2 wroteENCChannelConfigurationEncodeSurround2XLtRt_2(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhLtRt_2 wroteENCChannelConfigurationEncodeSurround2XLtRt_2(0x05) #define wroteENCChannelConfigurationEncodeSurround2XMono_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x020a,(n<<8|0x0003) #define wroteENCChannelConfigurationEncodeSurround2LwRwMono_2 wroteENCChannelConfigurationEncodeSurround2XMono_2(0x01) #define wroteENCChannelConfigurationEncodeSurround2LhRhMono_2 wroteENCChannelConfigurationEncodeSurround2XMono_2(0x04) #define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhMono_2 wroteENCChannelConfigurationEncodeSurround2XMono_2(0x05) #define wroteENCChannelConfigurationEncodeSurround3X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x020b,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround3LwRw_2 wroteENCChannelConfigurationEncodeSurround3X_2(0x01) #define wroteENCChannelConfigurationEncodeSurround3LhRh_2 wroteENCChannelConfigurationEncodeSurround3X_2(0x04) #define wroteENCChannelConfigurationEncodeSurround3LwRwLhRh_2 wroteENCChannelConfigurationEncodeSurround3X_2(0x05) #define wroteENCChannelConfigurationEncodeSurround4X_2(n) 0xcc00+STD_BETA_ENCODE,0x0030,0x020c,(n<<8|0x0000) #define wroteENCChannelConfigurationEncodeSurround4LwRw_2 wroteENCChannelConfigurationEncodeSurround4X_2(0x01) #define wroteENCChannelConfigurationEncodeSurround4LhRh_2 wroteENCChannelConfigurationEncodeSurround4X_2(0x04) #define wroteENCChannelConfigurationEncodeSurround4LwRwLhRh_2 wroteENCChannelConfigurationEncodeSurround4X_2(0x05) #define readENCChannelConfigurationEncodeExtChan 0xc200+STD_BETA_ENCODE,0x3300 #define readENCChannelConfigurationEncodeExtMask readENCChannelConfigurationEncodeExtChan #define wroteENCChannelConfigurationEncodeExtChanNone 0xca00+STD_BETA_ENCODE,0x3300 #define wroteENCChannelConfigurationEncodeExtChanLwRw 0xca00+STD_BETA_ENCODE,0x3301 #define wroteENCChannelConfigurationEncodeExtChanLhRh 0xca00+STD_BETA_ENCODE,0x3304 #define wroteENCChannelConfigurationEncodeExtChanLwRwLhRh 0xca00+STD_BETA_ENCODE,0x3305 //ATMOS #define wroteENCChannelConfigurationEncodeSurround2ATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x3008,0x000a,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround2ATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x3008,0x010a,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround2ATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x3008,0x020a,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x3008,0x000a,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x3008,0x010a,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x3008,0x020a,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround4ATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x3008,0x000c,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround4ATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x3008,0x010c,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround4ATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x3008,0x020c,0x0003,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_ENCODE,0x3008,0x000c,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_ENCODE,0x3008,0x010c,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_ENCODE,0x3008,0x020c,0x0103,(n<<8),0x0000 #define wroteENCChannelConfigurationEncodeSurround2LtfRtfLtrRtr_0 wroteENCChannelConfigurationEncodeSurround2ATMOSMono_0(0xA) #define wroteENCChannelConfigurationEncodeSurround2LtfRtfLtrRtr_1 wroteENCChannelConfigurationEncodeSurround2ATMOSMono_1(0xA) #define wroteENCChannelConfigurationEncodeSurround2LtfRtfLtrRtr_2 wroteENCChannelConfigurationEncodeSurround2ATMOSMono_2(0xA) #define wroteENCChannelConfigurationEncodeSurround4LtmRtm_0 wroteENCChannelConfigurationEncodeSurround4ATMOSMono_0(0x4) #define wroteENCChannelConfigurationEncodeSurround4LtmRtm_1 wroteENCChannelConfigurationEncodeSurround4ATMOSMono_1(0x4) #define wroteENCChannelConfigurationEncodeSurround4LtmRtm_2 wroteENCChannelConfigurationEncodeSurround4ATMOSMono_2(0x4) #define wroteENCChannelConfigurationEncodeSurround2LwRwLtfRtfLtrRtr_0 wroteENCChannelConfigurationEncodeSurround2LwRwATMOSMono_0(0xA) #define wroteENCChannelConfigurationEncodeSurround2LwRwLtfRtfLtrRtr_1 wroteENCChannelConfigurationEncodeSurround2LwRwATMOSMono_1(0xA) #define wroteENCChannelConfigurationEncodeSurround2LwRwLtfRtfLtrRtr_2 wroteENCChannelConfigurationEncodeSurround2LwRwATMOSMono_2(0xA) #define wroteENCChannelConfigurationEncodeSurround4LtfRtfLtrRtr_0 wroteENCChannelConfigurationEncodeSurround4ATMOSMono_0(0xA) #define wroteENCChannelConfigurationEncodeSurround4LtfRtfLtrRtr_1 wroteENCChannelConfigurationEncodeSurround4ATMOSMono_1(0xA) #define wroteENCChannelConfigurationEncodeSurround4LtfRtfLtrRtr_2 wroteENCChannelConfigurationEncodeSurround4ATMOSMono_2(0xA) #define wroteENCChannelConfigurationEncodeSurround4LwRwLtfRtfLtrRtr_0 wroteENCChannelConfigurationEncodeSurround4LwRwATMOSMono_0(0xA) #define wroteENCChannelConfigurationEncodeSurround4LwRwLtfRtfLtrRtr_1 wroteENCChannelConfigurationEncodeSurround4LwRwATMOSMono_1(0xA) #define wroteENCChannelConfigurationEncodeSurround4LwRwLtfRtfLtrRtr_2 wroteENCChannelConfigurationEncodeSurround4LwRwATMOSMono_2(0xA) #define readENCChannelConfigurationEncodeATMOSChan 0xc200+STD_BETA_ENCODE,0x3500 #define readENCChannelConfigurationEncodeATMOSMask readENCChannelConfigurationEncodeATMOSChan #define wroteENCChannelConfigurationEncodeATMOSChanNone 0xca00+STD_BETA_ENCODE,0x3500 #define wroteENCChannelConfigurationEncodeATMOSChanLfhRfhLrhRrh 0xca00+STD_BETA_ENCODE,(0x3511)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh #define wroteENCChannelConfigurationEncodeATMOSChanLtfRtfLtrRtr 0xca00+STD_BETA_ENCODE,(0x350a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr #define wroteENCChannelConfigurationEncodeATMOSChanLtmRtm 0xca00+STD_BETA_ENCODE,(0x3504)//PAF_CC_EXTMASK_LtmRtm //------------------------------------------------------------------------------------------------------------- #define wroteENCChannelConfigurationEncode 0xcc00+STD_BETA_ENCODE,0x0030 #define readENCFrameLength 0xc300+STD_BETA_ENCODE,0x001c #define wroteENCFrameLength 0xcb00+STD_BETA_ENCODE,0x001c #define readENCBypass 0xc200+STD_BETA_ENCODE,0x1e00 #define writeENCBypassEnable 0xca00+STD_BETA_ENCODE,0x1e01 #define writeENCBypassDisable 0xca00+STD_BETA_ENCODE,0x1e00 #define readENCByPass readENCBypass #define writeENCByPassEnable writeENCBypassEnable #define writeENCByPassDisable writeENCBypassDisable #define readENCSelect 0xc200+STD_BETA_ENCODE,0x1f00 #define writeENCSelectPCE 0xca00+STD_BETA_ENCODE,0x1f08 #define writeENCSelectMPE 0xca00+STD_BETA_ENCODE,0x1f13 #define writeENCSelectDDE 0xca00+STD_BETA_ENCODE,0x1f0a #define writeENCSelectDTE 0xca00+STD_BETA_ENCODE,0x1f06 #define writeENCSelectACE 0xca00+STD_BETA_ENCODE,0x1f0c #define wroteENCSelectPCE 0xca00+STD_BETA_ENCODE,0x1f08 #define wroteENCSelectMPE 0xca00+STD_BETA_ENCODE,0x1f13 #define wroteENCSelectDDE 0xca00+STD_BETA_ENCODE,0x1f0a #define wroteENCSelectDTE 0xca00+STD_BETA_ENCODE,0x1f06 #define wroteENCSelectACE 0xca00+STD_BETA_ENCODE,0x1f0c #if PAF_MAXNUMCHAN==8 #define readENCChannelMapFrom 0xc600+STD_BETA_ENCODE,0x4008 #define wroteENCChannelMapFrom 0xce00+STD_BETA_ENCODE,0x4008 #define writeENCChannelMapFrom8(N0,N1,N2,N3,N4,N5,N6,N7) \ 0xce00+STD_BETA_ENCODE,0x4008,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7) #define readENCChannelMapTo 0xc600+STD_BETA_ENCODE,0x4808 #define wroteENCChannelMapTo 0xce00+STD_BETA_ENCODE,0x4808 #define writeENCChannelMapTo2(N0,N1) \ 0xce00+STD_BETA_ENCODE,0x4802,TWOUP(N0,N1) #define writeENCChannelMapTo8(N0,N1,N2,N3,N4,N5,N6,N7) \ 0xce00+STD_BETA_ENCODE,0x4808,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7) #define readENCProgramFormat 0xc400+STD_BETA_ENCODE,0x0050 #define wroteENCProgramFormat 0xcc00+STD_BETA_ENCODE,0x0050 #define readENCListeningFormat 0xc400+STD_BETA_ENCODE,0x0058 #define wroteENCListeningFormat 0xcc00+STD_BETA_ENCODE,0x0058 #define readENCSampleProcess 0xc600+STD_BETA_ENCODE,0x6004 #define readENCSampleProcess0 0xc200+STD_BETA_ENCODE,0x6000 #define readENCSampleProcess1 0xc200+STD_BETA_ENCODE,0x6000 #define readENCSampleProcess2 0xc200+STD_BETA_ENCODE,0x6000 #define readENCSampleProcess3 0xc200+STD_BETA_ENCODE,0x6000 // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] #define writeENCChannelConfigurationCompact(sat,sub,aux,ext0) \ 0xce00+STD_BETA_ENCODE,0x6804,((sub<<8)+sat),((ext0<<8)+aux) #define readENCChannelCompactMapTo 0xc600+STD_BETA_ENCODE,0x7008 #define wroteENCChannelCompactMapTo 0xce00+STD_BETA_ENCODE,0x7008 #elif PAF_MAXNUMCHAN==16 #define readENCChannelMapFrom 0xc600+STD_BETA_ENCODE,0x4010 #define wroteENCChannelMapFrom 0xce00+STD_BETA_ENCODE,0x4010 #define writeENCChannelMapFrom16(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf) \ 0xce00+STD_BETA_ENCODE,0x4010,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \ TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf) #define readENCChannelMapTo 0xc600+STD_BETA_ENCODE,0x5010 #define wroteENCChannelMapTo 0xce00+STD_BETA_ENCODE,0x5010 #define writeENCChannelMapTo2(N0,N1) \ 0xce00+STD_BETA_ENCODE,0x5002,TWOUP(N0,N1) #define writeENCChannelMapTo8(N0,N1,N2,N3,N4,N5,N6,N7) \ 0xce00+STD_BETA_ENCODE,0x5008,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7) #define writeENCChannelMapTo16(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf) \ 0xce00+STD_BETA_ENCODE,0x5010,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \ TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf) #define readENCProgramFormat 0xc400+STD_BETA_ENCODE,0x0060 #define wroteENCProgramFormat 0xcc00+STD_BETA_ENCODE,0x0060 #define readENCListeningFormat 0xc400+STD_BETA_ENCODE,0x0070 #define wroteENCListeningFormat 0xcc00+STD_BETA_ENCODE,0x0070 #define readENCSampleProcess 0xc600+STD_BETA_ENCODE,0x8004 #define readENCSampleProcess0 0xc200+STD_BETA_ENCODE,0x8000 #define readENCSampleProcess1 0xc200+STD_BETA_ENCODE,0x8100 #define readENCSampleProcess2 0xc200+STD_BETA_ENCODE,0x8200 #define readENCSampleProcess3 0xc200+STD_BETA_ENCODE,0x8300 // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] #define writeENCChannelConfigurationCompact(sat,sub,aux,ext0,ext2,ext3,rsvd1,rsvd2) \ 0xce00+STD_BETA_ENCODE,0x8808,((sub<<8)+sat),((ext0<<8)+aux),((ext3<<8)+ext2),0x0000 #define readENCChannelCompactMapTo 0xc600+STD_BETA_ENCODE,0x9010 #define wroteENCChannelCompactMapTo 0xce00+STD_BETA_ENCODE,0x9010 #elif PAF_MAXNUMCHAN ==32 #define readENCChannelMapFrom 0xc600+STD_BETA_ENCODE,0x4020 #define wroteENCChannelMapFrom 0xce00+STD_BETA_ENCODE,0x4020 #define writeENCChannelMapFrom16(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf) \ 0xce00+STD_BETA_ENCODE,0x4010,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \ TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf) #define writeENCChannelMapFrom32(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) \ 0xce00+STD_BETA_ENCODE,0x4020,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \ TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf), \ TWOUP(N10,N11),TWOUP(N12,N13),TWOUP(N14,N15),TWOUP(N16,N17), \ TWOUP(N18,N19),TWOUP(N1a,N1b),TWOUP(N1c,N1d),TWOUP(N1e,N1f) #define readENCChannelMapTo 0xc600+STD_BETA_ENCODE,0x6020 #define wroteENCChannelMapTo 0xce00+STD_BETA_ENCODE,0x6020 #define writeENCChannelMapTo2(N0,N1) \ 0xce00+STD_BETA_ENCODE,0x6002,TWOUP(N0,N1) #define writeENCChannelMapTo8(N0,N1,N2,N3,N4,N5,N6,N7) \ 0xce00+STD_BETA_ENCODE,0x6008,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7) #define writeENCChannelMapTo16(N0,N1,N2,N3,N4,N5,N6,N7,N8,N9,Na,Nb,Nc,Nd,Ne,Nf) \ 0xce00+STD_BETA_ENCODE,0x6010,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \ TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf) #define writeENCChannelMapTo32(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) \ 0xce00+STD_BETA_ENCODE,0x6020,TWOUP(N0,N1),TWOUP(N2,N3),TWOUP(N4,N5),TWOUP(N6,N7), \ TWOUP(N8,N9),TWOUP(Na,Nb),TWOUP(Nc,Nd),TWOUP(Ne,Nf), \ TWOUP(N10,N11),TWOUP(N12,N13),TWOUP(N14,N15),TWOUP(N16,N17), \ TWOUP(N18,N19),TWOUP(N1a,N1b),TWOUP(N1c,N1d),TWOUP(N1e,N1f) #define readENCProgramFormat 0xc400+STD_BETA_ENCODE,0x0080 #define wroteENCProgramFormat 0xcc00+STD_BETA_ENCODE,0x0080 #define readENCListeningFormat 0xc400+STD_BETA_ENCODE,0x0088 #define wroteENCListeningFormat 0xcc00+STD_BETA_ENCODE,0x0088 #define readENCSampleProcess 0xc600+STD_BETA_ENCODE,0x9004 #define readENCSampleProcess0 0xc200+STD_BETA_ENCODE,0x9000 #define readENCSampleProcess1 0xc200+STD_BETA_ENCODE,0x9100 #define readENCSampleProcess2 0xc200+STD_BETA_ENCODE,0x9200 #define readENCSampleProcess3 0xc200+STD_BETA_ENCODE,0x9300 // PAF_ChannelConfiguration [sub][sat],[extMask][aux],[extMask3][extMask2],[reserved2][reserved1] #define writeENCChannelConfigurationCompact(sat,sub,aux,ext0,ext2,ext3,rsvd1,rsvd2) \ 0xce00+STD_BETA_ENCODE,0x9808,((sub<<8)+sat),((ext0<<8)+aux),((ext3<<8)+ext2),0x0000 #define readENCChannelCompactMapTo 0xc600+STD_BETA_ENCODE,0xa020 #define wroteENCChannelCompactMapTo 0xce00+STD_BETA_ENCODE,0xa020 #else #error unsupported option #endif /* PAF_MAXNUMCHAN */ #define readENCStatus 0xc508,STD_BETA_ENCODE #define readENCControl \ readENCMode, \ readENCChannelConfigurationRequest, \ readENCChannelMapFrom, \ readENCChannelMapTo // binary operations #define rb32ENCSampleRate 0xc000+STD_BETA_ENCODE,0x0649 #define rb32ENCChannelConfigurationStream 0xc000+STD_BETA_ENCODE,0x2844 #endif /* _PAFENC_A */