Add pyalpha tool, (legacy) bin files, and updates make_sw for alpha header file packa...
authorFrank Livingston <frank-livingston@ti.com>
Thu, 18 Aug 2016 21:50:59 +0000 (16:50 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Thu, 18 Aug 2016 21:50:59 +0000 (16:50 -0500)
96 files changed:
procsdk_audio_x_xx_xx_xx/tools/bin/.gitattributes [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/acp6x.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/calfa.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/calfa2c.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/itox.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/libcint.dll [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/pag.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/symcheck [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/symcheck.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/bin/xtoi.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/make_sw/make_sw [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/make_sw/makefile [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/__init__.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/__init__.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/acp_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/acpbeta.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/altbeta.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/car_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/cusbeta.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/ddpat_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/dm_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/i13_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/inpbuf_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/mdFormat_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/oembeta.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/outbuf_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pa_i13_evmda830_io_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pa_i13_evmda830_io_a.hdM [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafaip_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafdec_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafenc_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/paferr_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafid_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafmac_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafnic_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafstd_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafstream_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafsys_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/paftyp_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafvol_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pce_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pcm_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/src_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/stdbeta.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/test.hdM [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/thd_a.h [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/bin/acp6x.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/bin/itox.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/bin/libcint.dll [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/bin/xtoi.exe [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/__init__.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/__init__.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/__main__.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/alpha_command.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/alpha_command.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/pyalpha.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/pyalpha.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/__init__.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/__init__.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/aio.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/rfc2217.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/rs485.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/serialcli.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/serialjava.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/serialposix.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/serialutil.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/serialutil.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/serialwin32.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/serialwin32.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/threaded/__init__.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/__init__.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/hexlify_codec.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/list_ports.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/list_ports_common.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/list_ports_linux.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/list_ports_osx.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/list_ports_posix.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/list_ports_windows.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/tools/miniterm.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/urlhandler/__init__.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/urlhandler/protocol_alt.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/urlhandler/protocol_hwgrep.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/urlhandler/protocol_loop.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/urlhandler/protocol_rfc2217.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/urlhandler/protocol_serve-rfc2217.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/urlhandler/protocol_socket.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/urlhandler/protocol_spy.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/win32.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/serial/win32.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/srecord.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/pyalpha/srecord.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/res/pa_i14_evmda830_io_a.hdM [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/run_pyAlpha_tests.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/scripts/run_pyAlpha_tests.py [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/scripts/run_pyAlpha_tests.pyc [new file with mode: 0644]
procsdk_audio_x_xx_xx_xx/tools/pyalpha/setup.py [new file with mode: 0644]

diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/.gitattributes b/procsdk_audio_x_xx_xx_xx/tools/bin/.gitattributes
new file mode 100644 (file)
index 0000000..fdbe7db
--- /dev/null
@@ -0,0 +1,3 @@
+# For tools/bin files:\r
+# Denote all files as binary and should not be modified (do not convert LF to CR/LF).\r
+* binary\r
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/acp6x.exe b/procsdk_audio_x_xx_xx_xx/tools/bin/acp6x.exe
new file mode 100644 (file)
index 0000000..8369d58
Binary files /dev/null and b/procsdk_audio_x_xx_xx_xx/tools/bin/acp6x.exe differ
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/calfa.exe b/procsdk_audio_x_xx_xx_xx/tools/bin/calfa.exe
new file mode 100644 (file)
index 0000000..93b00c9
Binary files /dev/null and b/procsdk_audio_x_xx_xx_xx/tools/bin/calfa.exe differ
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/calfa2c.exe b/procsdk_audio_x_xx_xx_xx/tools/bin/calfa2c.exe
new file mode 100644 (file)
index 0000000..a14f76a
Binary files /dev/null and b/procsdk_audio_x_xx_xx_xx/tools/bin/calfa2c.exe differ
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/itox.exe b/procsdk_audio_x_xx_xx_xx/tools/bin/itox.exe
new file mode 100644 (file)
index 0000000..094493e
Binary files /dev/null and b/procsdk_audio_x_xx_xx_xx/tools/bin/itox.exe differ
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/libcint.dll b/procsdk_audio_x_xx_xx_xx/tools/bin/libcint.dll
new file mode 100644 (file)
index 0000000..b957cdb
Binary files /dev/null and b/procsdk_audio_x_xx_xx_xx/tools/bin/libcint.dll differ
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/pag.exe b/procsdk_audio_x_xx_xx_xx/tools/bin/pag.exe
new file mode 100644 (file)
index 0000000..c23d9e5
Binary files /dev/null and b/procsdk_audio_x_xx_xx_xx/tools/bin/pag.exe differ
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/symcheck b/procsdk_audio_x_xx_xx_xx/tools/bin/symcheck
new file mode 100644 (file)
index 0000000..111f596
--- /dev/null
@@ -0,0 +1,104 @@
+#!/usr/bin/env python\r
+#\r
+# $Source: /cvsstl/ti/pa/bin/symcheck,v $\r
+# $Revision: 1.3 $\r
+#\r
+# symbol check (symcheck) tool\r
+#\r
+# Copyright 2008 Texas Instruments Incorporated.  All rights reserved.\r
+# Texas Instruments Proprietary and Confidential.\r
+# Use without a license from Texas Instruments is prohibited.\r
+#\r
+# $Log: symcheck,v $\r
+# Revision 1.3  2009/05/21 05:21:06  mkumar\r
+# Rejuggled the letters representing the symbols type from STABED to DABEST :)\r
+#\r
+# Revision 1.2  2009/05/20 08:01:15  mkumar\r
+# nmsetup updated\r
+#\r
+# Revision 1.1  2009/05/20 06:16:48  mkumar\r
+# symbols check tool\r
+#\r
+#\r
+#\r
+#\r
+\r
+import sys,re,os,optparse\r
+\r
+usage= "usage: %prog [options] files"\r
+\r
+#nm6x setup\r
+if 'NM' in os.environ:\r
+    nm=os.environ['NM']\r
+    if not os.path.isfile(nm):\r
+       print "NM enviroment variable specified, but",nm,"does not exist"\r
+       sys.exit(1)\r
+else:\r
+    nm="nm6x"\r
+\r
+#parser options\r
+parser = optparse.OptionParser(usage)\r
+parser.add_option("-d", action="store_true", \r
+                         default=False, help='Show duplicate symbols')\r
+parser.add_option("--nm", default=nm,\r
+                       help='Absolute path of nm6x.exe if not in path (defualt:nm6x)\n OR set NM enviroment variable')\r
+(options, args) = parser.parse_args()\r
+\r
+#help\r
+if len(args) == 0:\r
+    parser.print_help()\r
+    sys.exit(1)\r
+\r
+symbolsall={}\r
+\r
+# get symbols from a file\r
+#look for lines like 0000000 T symbol\r
+p =  re.compile('[0-9a-fA-F]{8,} [DABEST] ')\r
+def get_symbols(fileName):\r
+    if os.path.isfile(tmpfile):\r
+        os.remove(tmpfile)\r
+    os.system("\"" + options.nm + "\"" + " " + fileName + ">" + tmpfile )\r
+    f=open(tmpfile,"rb")\r
+    symbols={}\r
+    for line in f:\r
+      if p.match(line):\r
+        sp = line.split()\r
+        if sp[1] in symbols.keys():\r
+          symbols[sp[1]].append(sp[2])\r
+        else:\r
+          symbols[sp[1]] = [sp[2]]\r
+    os.remove(tmpfile)\r
+    return symbols\r
+\r
+pid=os.getpid()\r
+tmpfile = "sym" + str(pid) + ".tmp"\r
+\r
+# build the dictinoary of all symbols\r
+for file in args:\r
+    if os.path.isfile(file):\r
+        symbolsall[file]=get_symbols(file)\r
+\r
+# check for duplicate symbols\r
+if options.d:\r
+    dups=[]\r
+    symbollist=[]\r
+    filelist=[]\r
+    for file in symbolsall.keys():\r
+       for symtype in symbolsall[file].keys():\r
+           for sym in symbolsall[file][symtype]:\r
+               if sym in symbollist:\r
+                   #found duplicate\r
+                   dups.append((sym,file))\r
+                   if (sym,filelist[symbollist.index(sym)]) not in dups:\r
+                       dups.append((sym,filelist[symbollist.index(sym)]))\r
+               else:\r
+                   symbollist.append(sym)\r
+                   filelist.append(file)\r
+    if len(dups):\r
+        print "Found duplicate symbols"\r
+        print "duplicate symbol, file"\r
+        for sym,file in dups:\r
+            print sym,",",file\r
+        sys.exit(1)\r
+\r
+sys.exit(0)\r
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/symcheck.py b/procsdk_audio_x_xx_xx_xx/tools/bin/symcheck.py
new file mode 100644 (file)
index 0000000..46b981b
--- /dev/null
@@ -0,0 +1,104 @@
+#!/usr/bin/env python\r
+#\r
+# $Source: /cvsstl/ti/pa/bin/symcheck,v $\r
+# $Revision: 1.3 $\r
+#\r
+# symbol check (symcheck) tool\r
+#\r
+# Copyright 2008 Texas Instruments Incorporated.  All rights reserved.\r
+# Texas Instruments Proprietary and Confidential.\r
+# Use without a license from Texas Instruments is prohibited.\r
+#\r
+# $Log: symcheck,v $\r
+# Revision 1.3  2009/05/21 05:21:06  mkumar\r
+# Rejuggled the letters representing the symbols type from STABED to DABEST :)\r
+#\r
+# Revision 1.2  2009/05/20 08:01:15  mkumar\r
+# nmsetup updated\r
+#\r
+# Revision 1.1  2009/05/20 06:16:48  mkumar\r
+# symbols check tool\r
+#\r
+#\r
+#\r
+#\r
+\r
+import sys,re,os,optparse\r
+\r
+usage= "usage: %prog [options] files"\r
+\r
+#nm6x setup\r
+if 'NM' in os.environ:\r
+    nm=os.environ['NM']\r
+    if not os.path.isfile(nm):\r
+       print "NM enviroment variable specified, but",nm,"does not exist"\r
+       sys.exit(1)\r
+else:\r
+    nm="nm6x"\r
+\r
+#parser options\r
+parser = optparse.OptionParser(usage)\r
+parser.add_option("-d", action="store_true", \r
+                         default=False, help='Show duplicate symbols')\r
+parser.add_option("--nm", default=nm,\r
+                       help='Absolute path of nm6x.exe if not in path (defualt:nm6x)\n OR set NM enviroment variable')\r
+(options, args) = parser.parse_args()\r
+\r
+#help\r
+if len(args) == 0:\r
+    parser.print_help()\r
+    sys.exit(1)\r
+\r
+symbolsall={}\r
+\r
+# get symbols from a file\r
+#look for lines like 0000000 T symbol\r
+p =  re.compile('[0-9a-fA-F]{8,} [DABEST] ')\r
+def get_symbols(fileName):\r
+    if os.path.isfile(tmpfile):\r
+        os.remove(tmpfile)\r
+    os.system("\"" + options.nm + "\"" + " " + fileName + ">" + tmpfile )\r
+    f=open(tmpfile,"rb")\r
+    symbols={}\r
+    for line in f:\r
+      if p.match(line):\r
+        sp = line.split()\r
+        if sp[1] in symbols.keys():\r
+          symbols[sp[1]].append(sp[2])\r
+        else:\r
+          symbols[sp[1]] = [sp[2]]\r
+    #os.remove(tmpfile)\r
+    return symbols\r
+\r
+pid=os.getpid()\r
+tmpfile = "sym" + str(pid) + ".tmp"\r
+\r
+# build the dictinoary of all symbols\r
+for file in args:\r
+    if os.path.isfile(file):\r
+        symbolsall[file]=get_symbols(file)\r
+\r
+# check for duplicate symbols\r
+if options.d:\r
+    dups=[]\r
+    symbollist=[]\r
+    filelist=[]\r
+    for file in symbolsall.keys():\r
+       for symtype in symbolsall[file].keys():\r
+           for sym in symbolsall[file][symtype]:\r
+               if sym in symbollist:\r
+                   #found duplicate\r
+                   dups.append((sym,file))\r
+                   if (sym,filelist[symbollist.index(sym)]) not in dups:\r
+                       dups.append((sym,filelist[symbollist.index(sym)]))\r
+               else:\r
+                   symbollist.append(sym)\r
+                   filelist.append(file)\r
+    if len(dups):\r
+        print "Found duplicate symbols"\r
+        print "duplicate symbol, file"\r
+        for sym,file in dups:\r
+            print sym,",",file\r
+        sys.exit(1)\r
+\r
+sys.exit(0)\r
diff --git a/procsdk_audio_x_xx_xx_xx/tools/bin/xtoi.exe b/procsdk_audio_x_xx_xx_xx/tools/bin/xtoi.exe
new file mode 100644 (file)
index 0000000..e35540d
Binary files /dev/null and b/procsdk_audio_x_xx_xx_xx/tools/bin/xtoi.exe differ
diff --git a/procsdk_audio_x_xx_xx_xx/tools/make_sw/make_sw b/procsdk_audio_x_xx_xx_xx/tools/make_sw/make_sw
new file mode 100644 (file)
index 0000000..6252245
--- /dev/null
@@ -0,0 +1,190 @@
+#!/bin/bash
+#
+# Software Deliverable Package creation script
+#
+# Copyright 2013 - 2014, Momentum Data Systems, Inc.  All rights reserved.
+#
+
+set  -o errexit # -e
+#debug: uncomment below to see each commands
+set -o xtrace  # -x
+#set -o verbose # -v
+
+# ----------------------------------------------------------------
+
+# Synopsis:
+# In addition to the obvious VAR_NAME=value, 'case $COMPUTERNAME in', etc.,
+# 1) Final output is in ${MA}/$MAF_SYSTEM_TARGET
+# 2) Intermediate working dir is ${MA}/_alpha_source$$ where $$ is PID
+# 3) List all available Alpha Headers here:
+    # search in special location for Alpha Header files
+# 4) Remove known unused files here:
+    # remove unused files
+# 5) Copy resulting files to ${MA}/$MAF_SYSTEM_TARGET/alpha
+# 6) Copy bins to ${MA}/$MAF_SYSTEM_TARGET/bin
+# 7) Create .hdM files here:
+    # Create .hdM file(s)
+# 8) Zip it up:
+    # Prepare software delivery zip package
+
+# ----------------------------------------------------------------
+
+# Usage definitions
+NAM0=`cygpath -a $0`
+NAMD=${NAM0%/*}
+NAME=${NAM0##*/}
+
+#REVISION=`echo '$Revision: 1.7 $' | awk '{print $2}'`
+#REVIDATE=`echo '$Date: 2016/08/16 12:36:08 $' | awk '{print $2}'`
+#VERSION="$NAME revision $REVISION of $REVIDATE"
+
+# ----------------------------------------------------------------
+
+if [ $# != 1 ]; then
+       echo 1>&2 "usage: make_sw <project (abbreviated) name>"
+       echo 1>&2 "  eg.: make_sw AVR"
+       exit 1
+fi
+
+# ----------------------------------------------------------------
+
+case $COMPUTERNAME in
+    DTA0273506)
+        PASDK_ROOT_DIR=C:/ti/procsdk_audio_x_xx_xx_xx
+       ;;
+    *)
+       echo 1>&2 make_sw: COMPUTERNAME not recognized. Edit make_sw to add your computer.
+       exit 1
+       ;;
+esac
+
+TOOLS=${PASDK_ROOT_DIR}/tools
+PA=${PASDK_ROOT_DIR}/paf/pa
+TEST_DSP=${PASDK_ROOT_DIR}/test_dsp
+
+# ----------------------------------------------------------------
+
+PROJECT=${1}
+
+case $PROJECT in
+    AVR)
+        PROJECT_TARGET=avr
+       ;;
+    SBR)
+        PROJECT_TARGET=sbr
+       ;;
+    *)
+       echo 1>&2 make_sw: unsupported project $PROJECT
+       exit 1
+       ;;
+esac
+
+# ----------------------------------------------------------------
+# Recreate software delivery directory
+
+cd ${TOOLS}
+
+if [ -d $PROJECT_TARGET ]; then
+    #  -perm +mode
+    #          This  is  no  longer supported (and has been deprecated since 2005).  Use
+    #          -perm /mode instead.
+       if [ -n "`find $PROJECT_TARGET -type f -perm /444`" ]; then
+               echo 1>&2 make_sw: $PROJECT_TARGET contains read-only files
+               exit 1
+       else
+               rm -r $PROJECT_TARGET
+       fi
+fi
+
+# ----------------------------------------------------------------
+# Copy/Delog alpha files
+
+ALPHA_SOURCE=_alpha_source$$
+mkdir $ALPHA_SOURCE
+
+# search in special location for Alpha Header files
+pwd \;
+# pwd should be tools
+find ../paf/pa -iname "*beta.h" -exec echo >> $ALPHA_SOURCE/files.txt {} \;
+find ../paf/pa -iname "*_a.h"  -exec echo >> $ALPHA_SOURCE/files.txt {} \;
+find ../test_dsp -iname "*_a.h"  -exec echo >> $ALPHA_SOURCE/files.txt {} \;
+# overwrite duplicates
+find ../paf/pa/asp/ae0/alpha -iname "ae_a.h"  -exec echo >> $ALPHA_SOURCE/files.txt {} \;
+find ../paf/pa/asp/src4/alpha -iname "src_a.h"  -exec echo >> $ALPHA_SOURCE/files.txt {} \;
+find ../paf/pa/boards/d10/drivers -iname "vproccmds_a.h"  -exec echo >> $ALPHA_SOURCE/files.txt {} \;
+
+# Sample partial content of files.txt
+# ../paf/pa/asp/ae0/alpha/ae_a.h
+# <... more paf alpha header files ...>
+# ../test_dsp/application/itopo/evmk2g/alpha/i13_a.h
+# <... more test_dsp alpha header files ...>
+
+dos2unix $ALPHA_SOURCE/files.txt
+
+# copy these files to temp build dir
+for file in $(cat $ALPHA_SOURCE/files.txt); do
+#    delog --cvs -d$ALPHA_SOURCE $file
+    cp -f $file $ALPHA_SOURCE
+done
+
+# remove unused files
+# paf files not in use:
+rm -vr $ALPHA_SOURCE/amix_a.h                   # make hDM build error, error: #error "AMIX is only tested for PAF_MAXNUMCHAN == 16"
+rm -vr $ALPHA_SOURCE/asj_a.h                    # make hDM build error, Error: Symbol readASJForm is not defined in current scope
+rm -vr $ALPHA_SOURCE/del_a.h                    # make hDM build error, error: #error unsupported option
+rm -vr $ALPHA_SOURCE/fea_a.h                    # make hDM build error, Error: Symbol CUS_BETA_FEA is not defined in current scope
+rm -vr $ALPHA_SOURCE/feb_a.h                    # make hDM build error, Error: Symbol CUS_BETA_FEB is not defined in current scope
+rm -vr $ALPHA_SOURCE/arc_a.h                    # not supporting Z-topology
+rm -vr $ALPHA_SOURCE/pa_zaa_evmda830_io_a.h     # not supporting Z-topology
+rm -vr $ALPHA_SOURCE/pa_zsa_evmda830_io_a.h     # not supporting Z-topology
+rm -vr $ALPHA_SOURCE/pa_zss_evmda830_io_a.h     # not supporting Z-topology
+rm -vr $ALPHA_SOURCE/zaa_a.h                    # not supporting Z-topology
+rm -vr $ALPHA_SOURCE/zsa_a.h                    # not supporting Z-topology
+rm -vr $ALPHA_SOURCE/zss_a.h                    # not supporting Z-topology
+rm -vr $ALPHA_SOURCE/lgp_a.h                    # not supporting lgp debug ASP
+rm -vr $ALPHA_SOURCE/mdf_a.h                    # not supporting mdf debug ASP
+rm -vr $ALPHA_SOURCE/mdDeFormat_a.h             # not supporting MD de-formatter ASP since not used on K2G
+rm -vr $ALPHA_SOURCE/mdFormat_a.h               # not supporting MD formatter ASP since obsolete on DA8x and not used on K2G
+rm -vr $ALPHA_SOURCE/sigCap_a.h                 # not supporting sigCap debug ASP
+rm -vr $ALPHA_SOURCE/sineProbe_a.h              # not supporting sineProbe debug ASP
+rm -vr $ALPHA_SOURCE/ass_a.h                    # not including since Y-topology in development
+rm -vr $ALPHA_SOURCE/pa_y15_evmda830_io_a.h     # not including since Y-topology in development
+rm -vr $ALPHA_SOURCE/y15_a.h                    # not including since Y-topology in development
+rm -vr $ALPHA_SOURCE/thxsys_a.h                 # not include since legacy THX untested on K2G
+rm -vr $ALPHA_SOURCE/vproccmds_a.h              # not include since not a relevant PA control interface
+
+mkdir $PROJECT_TARGET
+mkdir $PROJECT_TARGET/alpha
+
+# copy from build area to production area
+cp -f $ALPHA_SOURCE/*.h $PROJECT_TARGET/alpha
+
+mkdir $PROJECT_TARGET/pyalpha
+cp -R ${TOOLS}/pyalpha/* $PROJECT_TARGET/pyalpha
+rm -R ${PROJECT_TARGET}/pyalpha/alpha # remove alpha subdirectory for package creation
+
+rm -Rf $ALPHA_SOURCE
+
+# give all permission to all
+chmod 777 -R $PROJECT_TARGET
+
+
+# ----------------------------------------------------------------
+# Create .hdM file(s)
+
+ALPHAFILES_A_DEST=`ls ${PROJECT_TARGET}/alpha/*_a.h | grep -v pafmac_a | grep -v paftyp_a`
+
+for i in $ALPHAFILES_A_DEST; do
+       make -f ./make_sw/makefile ${i}dM
+done
+
+# ----------------------------------------------------------------
+# Prepare software delivery zip package
+
+ZIPFILE=${PROJECT_TARGET}_`date +%y%m%d`
+echo 1>&2 Done.  Zipping ${PROJECT_TARGET} into ${ZIPFILE}.zip ...
+zip -q -r ${PROJECT_TARGET}_`date +%y%m%d`.zip $PROJECT_TARGET
+ls -l ${ZIPFILE}.zip
+
+# ----------------------------------------------------------------
+# EOF
diff --git a/procsdk_audio_x_xx_xx_xx/tools/make_sw/makefile b/procsdk_audio_x_xx_xx_xx/tools/make_sw/makefile
new file mode 100644 (file)
index 0000000..3636601
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# MAF primary makefile
+#
+# Copyright 2013, Momentum Data Systems, Inc.  All rights reserved.
+#
+
+# Pertinent targets:
+#
+#      dae             Prepare SDK Supplement for DEMO=Xsdk.
+#
+# Pertinent demonstrations (DEMO=):
+#
+#      mx1sdk          SDK for basic framework.
+#
+
+DATE= `date +%y%m%d`
+CONFIG= None
+
+CC= gcc
+CFLAGS= -g -O -I../../f/s2 -I../../te/s2 -I../../include -L../../bin
+LDFLAGS= -lcint
+DOSFLAGS= -mno-cygwin
+
+SUPBASE=$(patsubst mx1sdk%,mx1sdk,$(patsubst mt1sdk%,mt1sdk,$(patsubst mx3sdk%,mx3sdk,$(patsubst mt3sdk%,mt3sdk,$(DEMO)))))
+
+# External build targets
+
+dae:
+       makedae `pwd | sed 's|/cygdrive/[a-z]*/||'` $(CONFIG) $(DEMO) 
+       mv $(DEMO).zip $(DEMO)_$(DATE).zip
+
+force:
+
+%.hdM: force
+       @gcc -undef -nostdinc -E -P -I$(dir $@) -dD $*.h >$@.a
+       @awk -F' ' '/^#define/ { if ($$2 !~ /[()]/ && ($$2 ~ /^read/ || $$2 ~ /^wr[io]te/ || $$2 ~ /^exec/) && $$3 != "") print "alpha", $$2 }' $@.a >$@.b
+       @cat $@.a $@.b >$@.c
+       @gcc -undef -nostdinc -E $@.c | $(dir $@)../pyalpha/bin/itox -i -S | $(dir $@)../pyalpha/bin/xtoi -S >$@.d
+       @if grep -v ^alph[ab] >/dev/null 2>&1 $@.d; then false; fi
+       @grep ^alpha $@.c >$@.e
+       @awk -F' ' '{ symbol=$$2; getline <values; value=$$2; if (! (value in store)) { print "#define", symbol, value; store[value] = symbol } }' values=$@.d $@.e >$@.f
+       @if [ `cat $@.d | wc -l` != `cat $@.e | wc -l` ] ; then \
+               echo 1>&2 "error producing $@"; \
+               rm $@; \
+               exit 1; \
+       fi
+       @(echo "// $(notdir $@): inverse compilation file [`date`]"; \
+        echo; \
+        cat $@.f) >$@
+       @rm $@.[abcdef]
+
+# EOF
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/__init__.py b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/__init__.py
new file mode 100644 (file)
index 0000000..73332c4
--- /dev/null
@@ -0,0 +1 @@
+from pyalpha.pyalpha import PyAlpha
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/__init__.pyc b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/__init__.pyc
new file mode 100644 (file)
index 0000000..2de9080
Binary files /dev/null and b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/__init__.pyc differ
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/acp_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/acp_a.h
new file mode 100644 (file)
index 0000000..0503f96
--- /dev/null
@@ -0,0 +1,164 @@
+
+/*
+* 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.
+*
+*/
+
+//
+//
+// ACP alpha codes
+//
+//
+//
+
+#ifndef _ACP_A
+#define _ACP_A
+
+// phi functions
+
+#define ACP_PHI_ECHO  0x00
+#define ACP_PHI_ARITHMETIC 0x01
+#define ACP_PHI_ALLOC 0x02
+#define ACP_PHI_FREE  0x03
+#define ACP_PHI_SLEEP 0x04
+#define ACP_PHI_STAT  0x05
+
+// arithmetic phi function (1) symbol definitions
+
+#define ACP_OP 0x80
+
+#define ACP_OP_IDENTITY 0x00
+#define ACP_OP_ADD 0x01
+#define ACP_OP_SADD 0x02
+#define ACP_OP_AND 0x03
+#define ACP_OP_ANDNOT 0x04
+#define ACP_OP_OR 0x05
+#define ACP_OP_ORNOT 0x06
+#define ACP_OP_FLDWRT 0x07
+
+#define ACP_OP_SADD16 0x42
+
+#define ACP_EQ 0x80
+
+#define ACP_EQ_IDENTITY (ACP_EQ+ACP_OP_IDENTITY)
+#define ACP_EQ_ADD (ACP_EQ+ACP_OP_ADD)
+#define ACP_EQ_SADD (ACP_EQ+ACP_OP_SADD)
+#define ACP_EQ_AND (ACP_EQ+ACP_OP_AND)
+#define ACP_EQ_ANDNOT (ACP_EQ+ACP_OP_ANDNOT)
+#define ACP_EQ_OR (ACP_EQ+ACP_OP_OR)
+#define ACP_EQ_ORNOT (ACP_EQ+ACP_OP_ORNOT)
+#define ACP_EQ_FLDWRT (ACP_EQ+ACP_OP_FLDWRT)
+
+#define ACP_EQ_SADD16 (ACP_EQ+ACP_OP_SADD16)
+
+// arithmetic alpha code symbol definitions
+
+#define writeACPBinaryOp(OP,XX,YY) \
+    0xc90c,                   /* alpha[12]            */ \
+    0xcdf1,(XX)&0xffff,       /* args[1] = XX (LSW)   */ \
+    0xcdf9,((XX)>>16)&0xffff, /* args[1] = XX (MSW)   */ \
+    0xcdf2,(YY)&0xffff,       /* args[2] = YY (LSW)   */ \
+    0xcdfa,((YY)>>16)&0xffff, /* args[2] = YY (MSW)   */ \
+    0xc801,0x1800+(OP),       /* args[1] OP= args[2]  */ \
+                              /* *args[1] OP= args[2] */ \
+    0xcdf0,0xc100             /* args[0] = 0xffffc100 */
+
+#define writeACPOpIdentity(XX,YY) writeACPBinaryOp(ACP_OP_IDENTITY,XX,YY)
+#define writeACPOpAdd(XX,YY) writeACPBinaryOp(ACP_OP_ADD,XX,YY)
+#define writeACPOpSatAdd(XX,YY) writeACPBinaryOp(ACP_OP_SADD,XX,YY)
+#define writeACPOpAnd(XX,YY) writeACPBinaryOp(ACP_OP_AND,XX,YY)
+#define writeACPOpAndNot(XX,YY) writeACPBinaryOp(ACP_OP_ANDNOT,XX,YY)
+#define writeACPOpOr(XX,YY) writeACPBinaryOp(ACP_OP_OR,XX,YY)
+#define writeACPOpOrNot(XX,YY) writeACPBinaryOp(ACP_OP_ORNOT,XX,YY)
+
+#define writeACPOpSatAdd16(XX,YY) writeACPBinaryOp(ACP_OP_SADD16,XX,YY)
+
+#define writeACPEqIdentity(XX,YY) writeACPBinaryOp(ACP_EQ_IDENTITY,XX,YY)
+#define writeACPEqAdd(XX,YY) writeACPBinaryOp(ACP_EQ_ADD,XX,YY)
+#define writeACPEqSatAdd(XX,YY) writeACPBinaryOp(ACP_EQ_SADD,XX,YY)
+#define writeACPEqAnd(XX,YY) writeACPBinaryOp(ACP_EQ_AND,XX,YY)
+#define writeACPEqAndNot(XX,YY) writeACPBinaryOp(ACP_EQ_ANDNOT,XX,YY)
+#define writeACPEqOr(XX,YY) writeACPBinaryOp(ACP_EQ_OR,XX,YY)
+#define writeACPEqOrNot(XX,YY) writeACPBinaryOp(ACP_EQ_ORNOT,XX,YY)
+#define writeACPEqFldWrt(XX,YY) writeACPBinaryOp(ACP_EQ_FLDWRT,XX,YY)
+
+#define writeACPEqSatAdd16(XX,YY) writeACPBinaryOp(ACP_EQ_SADD16,XX,YY)
+
+// comparison code (xi) symbol definitions
+
+#define ACP_XI_TRUE 0
+#define ACP_XI_FALSE 1
+#define ACP_XI_EQ 2
+#define ACP_XI_NE 3
+#define ACP_XI_GE 4
+#define ACP_XI_GT 5
+#define ACP_XI_LE 6
+#define ACP_XI_LT 7
+#define ACP_XI_AND 8
+#define ACP_XI_NOR 9
+
+// memory statistics alpha code symbol definitions
+
+#define ACP_SEG_IRAM  0
+#define ACP_SEG_SDRAM 1
+#define ACP_SEG_L3RAM 2
+
+#define ACP_STAT_SIZE   0
+#define ACP_STAT_USED   1
+#define ACP_STAT_LENGTH 2
+#define ACP_STAT_FREE   3
+
+#define readACPStat(XX,YY) \
+    0xcdf0,ACP_SEG_##XX, \
+        /* Type 5-24X Write: arg[0] = ACP_SEG_* -- response=null */ \
+    0xc800+ACP_PHI_STAT,0x0d00+ACP_STAT_##YY \
+        /* Type 0 Write: IACP_stat( arg[0], (arg[1] = ACP_STAT_*) */ \
+        /* -- response=2 words (binary data: LSW, MSW of requested statistic) */
+
+#define readACPStatIRAMSize   readACPStat(IRAM,SIZE)
+#define readACPStatIRAMUsed   readACPStat(IRAM,USED)
+#define readACPStatIRAMLength readACPStat(IRAM,LENGTH)
+#define readACPStatIRAMFree   readACPStat(IRAM,FREE)
+
+#define readACPStatSDRAMSize   readACPStat(SDRAM,SIZE)
+#define readACPStatSDRAMUsed   readACPStat(SDRAM,USED)
+#define readACPStatSDRAMLength readACPStat(SDRAM,LENGTH)
+#define readACPStatSDRAMFree   readACPStat(SDRAM,FREE)
+
+#define readACPStatL3RAMSize   readACPStat(L3RAM,SIZE)
+#define readACPStatL3RAMUsed   readACPStat(L3RAM,USED)
+#define readACPStatL3RAMLength readACPStat(L3RAM,LENGTH)
+#define readACPStatL3RAMFree   readACPStat(L3RAM,FREE)
+
+// await alpha code symbol definitions
+
+#endif /* _ACP_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/acpbeta.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/acpbeta.h
new file mode 100644 (file)
index 0000000..583539e
--- /dev/null
@@ -0,0 +1,56 @@
+
+/*
+* 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.
+*
+*/
+
+//
+//
+// Alpha Code Processor Beta declarations
+//
+//
+//
+
+#ifndef ACPBETA_
+#define ACPBETA_
+
+#define ACP_SERIES_STD 0
+#define ACP_SERIES_ALT 1
+#define ACP_SERIES_OEM 2
+#define ACP_SERIES_CUS 3
+
+#include <stdbeta.h>
+#include <altbeta.h>
+#include <oembeta.h>
+#include <cusbeta.h>
+
+#endif  /* ACPBETA_ */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/altbeta.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/altbeta.h
new file mode 100644 (file)
index 0000000..0899ce9
--- /dev/null
@@ -0,0 +1,46 @@
+
+/*
+* 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.
+*
+*/
+
+//
+//
+// Alpha Code Processor Alternate Series Beta declarations
+//
+//
+//
+
+#ifndef ALTBETA_
+#define ALTBETA_
+
+#endif  /* ALTBETA_ */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/car_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/car_a.h
new file mode 100644 (file)
index 0000000..0b78003
--- /dev/null
@@ -0,0 +1,67 @@
+//
+//  Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 
+//  ALL RIGHTS RESERVED 
+//
+
+//
+//  CAR alpha codes
+//  Revision: 1.1
+//
+
+#ifndef _CAR_A
+#define _CAR_A
+
+#include <acpbeta.h>
+
+#define readCARMode         0xc200+STD_BETA_CAR,0x0400
+#define writeCARModeDisable 0xca00+STD_BETA_CAR,0x0400
+#define writeCARModeEnable  0xca00+STD_BETA_CAR,0x0401
+
+#define readCARBypass          0xc200+STD_BETA_CAR,0x0500
+#define writeCARBypassEnable   0xca00+STD_BETA_CAR,0x0500
+#define writeCARBypassDisable  0xca00+STD_BETA_CAR,0x0501
+
+#define readCARBassExtractCutoff       0xc300+STD_BETA_CAR,0x0006
+#define writeCARBassExtractCutoffN(NN) 0xcb00+STD_BETA_CAR,0x0006,NN
+
+#define readCARBassExtract             0xc200+STD_BETA_CAR,0x0800
+#define writeCARBassExtractDisable     0xca00+STD_BETA_CAR,0x0800
+#define writeCARBassExtractEnable      0xca00+STD_BETA_CAR,0x0801
+
+#define readCARCenterSpread            0xc200+STD_BETA_CAR,0x0900
+#define writeCARCenterSpreadDisable    0xca00+STD_BETA_CAR,0x0900
+#define writeCARCenterSpreadEnable     0xca00+STD_BETA_CAR,0x0901
+
+#define readCARInputChannelCfg         0xc600+STD_BETA_CAR,0x1008
+
+#define readCARChannelCfgOverride                              0xc600+STD_BETA_CAR,0x1808
+#define writeCARChannelCfgOverrideUnknown                      0xce00+STD_BETA_CAR,0x1808,0x0000,0x0000,0x0000,0x0000
+#define writeCARChannelCfgOverrideStereo                       0xce00+STD_BETA_CAR,0x1808,0x0003,0x0000,0x0000,0x0000
+#define writeCARChannelCfgOverride3Stereo                      0xce00+STD_BETA_CAR,0x1808,0x0008,0x0000,0x0000,0x0000
+#define writeCARChannelCfgOverridePhantom2_0                   0xce00+STD_BETA_CAR,0x1808,0x0005,0x0000,0x0000,0x0000
+#define writeCARChannelCfgOverrideStereoLtmRtm                 0xce00+STD_BETA_CAR,0x1808,0x0003,0x0000,0x0400,0x0000
+#define writeCARChannelCfgOverrideSurround2_0                  0xce00+STD_BETA_CAR,0x1808,0x000a,0x0000,0x0000,0x0000
+#define writeCARChannelCfgOverride3StereoLtmRtm                0xce00+STD_BETA_CAR,0x1808,0x0008,0x0000,0x0400,0x0000
+#define writeCARChannelCfgOverridePhantom4_0                   0xce00+STD_BETA_CAR,0x1808,0x0007,0x0000,0x0000,0x0000
+#define writeCARChannelCfgOverridePhantom2LtmRtm_0             0xce00+STD_BETA_CAR,0x1808,0x0005,0x0000,0x0400,0x0000
+#define writeCARChannelCfgOverrideSurround4_0                  0xce00+STD_BETA_CAR,0x1808,0x000c,0x0000,0x0000,0x0000
+#define writeCARChannelCfgOverrideSurround2LtmRtm_0            0xce00+STD_BETA_CAR,0x1808,0x000a,0x0000,0x0400,0x0000
+#define writeCARChannelCfgOverrideSurround2LtfRtfLtrRtr_0      0xce00+STD_BETA_CAR,0x1808,0x000a,0x0000,0x0a00,0x0000
+#define writeCARChannelCfgOverrideSurround4LtmRtm_0            0xce00+STD_BETA_CAR,0x1808,0x000c,0x0000,0x0400,0x0000
+#define writeCARChannelCfgOverrideSurround4LtfRtfLtrRtr_0      0xce00+STD_BETA_CAR,0x1808,0x000c,0x0000,0x0a00,0x0000
+
+#define readCARCurAudioMode                                    0xc400+STD_BETA_CAR,0x0020
+
+#define   readCARStatus 0xc508,STD_BETA_CAR
+#define   readCARCommon 0xc508,STD_BETA_CAR
+#define   readCARControl \
+          readCARMode, \
+          readCARBypass, \
+          readCARBassExtractCutoff, \
+          readCARBassExtract, \
+          readCARCenterSpread, \
+       /* readCARLimiter, */ \
+          readCARInputChannelCfg, \
+          readCARChannelCfgOverride
+
+#endif /* _CAR_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/cusbeta.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/cusbeta.h
new file mode 100644 (file)
index 0000000..663287e
--- /dev/null
@@ -0,0 +1,69 @@
+
+/*
+* 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.
+*
+*/
+
+//
+//
+// Alpha Code Processor Customer Series Beta declarations
+//
+//
+//
+
+#ifndef _CUSBETA_A
+#define _CUSBETA_A
+
+//
+// Beta unit numbers in this series are reserved to the customer. These
+// assignments can be changed arbitrarily as desired. Those give here are
+// for the purpose of example only.
+//
+// The number of custom beta units provided differs according to system:
+//
+//  PA17 SDK: 16
+//
+// For more information, see the PAn SDK User's Guide.
+//
+
+#define CUS_BETA_AE            0x00 /* I, D, Y, and Z topologies */
+#define CUS_BETA_CASS          0x01 /* D and Y topologies only */
+#define CUS_BETA_CASJ          0x02 /* Z topology only */
+#define CUS_BETA_CSS           0x03 /* I, D, Y, and Z topologies */
+#define CUS_BETA_UNUSED4       0x04
+#define CUS_BETA_UNUSED5       0x05
+#define CUS_BETA_UNUSED6       0x06
+
+#define CUS_BETA_MDF           0x12 /* MDF test component */
+#define CUS_BETA_SIGCAP        0x13 /* signal capture test component */
+
+#endif /* _CUSBETA_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/ddpat_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/ddpat_a.h
new file mode 100644 (file)
index 0000000..7992f96
--- /dev/null
@@ -0,0 +1,305 @@
+//
+// $Source: /cvsstl/ti12/pa/dec/rel/ddp2/alpha/ddp_a.h,v $
+// $Revision: 1.6 $
+//
+// Copyright 2008 by Texas Instruments Incorporated.
+// All rights reserved. Property of Texas Instruments Incorporated.
+//
+// $Log: ddp_a.h,v $
+// Revision 1.6  2009/04/14 20:01:28  fminich
+// Removed obsolete comment as per MID 2304.
+//
+// Revision 1.5  2009/03/26 04:07:05  uparikh
+// Fix syntax error
+//
+// Revision 1.4  2009/03/20 09:03:06  mkamat
+// Added AC3DlgNorm and AC3RFModeGain alpha codes - MID 2304
+//
+// Revision 1.3  2008/11/27 08:28:57  mkamat
+//  Added AC3 alpha codes - MID 1991
+//
+// Revision 1.2  2008/10/23 14:46:49  rtsutsui
+// Initial commit for DA8xx -- MID 1921
+//
+// Revision 1.1.2.1  2008/04/30 08:53:44  rtsutsui
+// Initial version -- MID 1679
+//
+// Derived from DDP decoder (pa/dec/ddp/alpha/ddp_a.h Revision 1.21)
+//
+
+
+#ifndef _DDP_A
+#define _DDP_A
+#include <stdbeta.h>
+
+#define  readDDPMode 0xc200+STD_BETA_DDP,0x0400
+#define  readDDPOperationalMode 0xc200+STD_BETA_DDP,0x0600
+#define  readDDPDynrngScaleHiQ6 0xc200+STD_BETA_DDP,0x0b00
+#define  readDDPDynrngScaleLoQ6 0xc200+STD_BETA_DDP,0x0c00
+#define  readDDPSpeakerRemapping 0xc200+STD_BETA_DDP,0x0e00
+
+
+#define writeDDPOperationalModeCustom0 0xca00+STD_BETA_DDP,0x0600
+#define writeDDPOperationalModeCustom1 0xca00+STD_BETA_DDP,0x0601
+#define writeDDPOperationalModeLine 0xca00+STD_BETA_DDP,0x0602
+#define writeDDPOperationalModeRF 0xca00+STD_BETA_DDP,0x0603
+#define writeDDPOperationalModePortableL8 0xca00+STD_BETA_DDP,0x0604
+#define writeDDPOperationalModePortableL11 0xca00+STD_BETA_DDP,0x0605
+#define writeDDPOperationalModePortableL14 0xca00+STD_BETA_DDP,0x0606
+#define writeDDPOperationalModePortableTest 0xca00+STD_BETA_DDP,0x0607
+
+#define readDDPLfe 0xc200+STD_BETA_DDP,0x0700
+#define writeDDPLfeDwnmixInclude 0xca00+STD_BETA_DDP,0x0700
+// to be used with stereo downmix and does lfe downmix to stereo
+#define writeDDPLfeOnDefault 0xca00+STD_BETA_DDP,0x0701
+// this should be the default - the decoder must always generate LFE and let the system decide what to do with it.
+#define writeDDPLfe2 0xca00+STD_BETA_DDP,0x0702
+// this generates the second LFE also - currently dont know how to connect speakers for second LFE
+
+#define writeDDPDynrngScaleHiQ6N(NN)  0xca00+STD_BETA_DDP,0x0b00+((NN)&0xff)
+#define writeDDPDynrngScaleLoQ6N(NN)  0xca00+STD_BETA_DDP,0x0c00+((NN)&0xff)
+/* in support of inverse compilation only */
+#define writeDDPDynrngScaleHiQ6N__100__ writeDDPDynrngScaleHiQ6N(100)
+#define writeDDPDynrngScaleLoQ6N__100__ writeDDPDynrngScaleLoQ6N(100)
+
+// currently only mapping to PA Surround4 i.e. Lb,Rb is supported
+#define writeDDPSpeakerRemappingOff 0xca00+STD_BETA_DDP,0x0e00
+#define writeDDPSpeakerRemappingOn 0xca00+STD_BETA_DDP,0x0e01
+
+#define readDDPRemappingScaleFactor 0xc300+STD_BETA_DDP,0x0010
+
+/* Ensure that DECChannelConfigurationRequest.part.sat is set to PAF_CC_SAT_UNKNOWN before using these options */
+
+#define readDDPExtDownmixMode 0xc200+STD_BETA_DDP,0x0800
+#define writeDDPExtDownmixRaw 0xca00+STD_BETA_DDP,0x08ff
+#define writeDDPExtDownmixMode1 0xca00+STD_BETA_DDP,0x0801
+/* 1  - C */
+#define writeDDPExtDownmixMode2 0xca00+STD_BETA_DDP,0x0802
+/* 2  - L, R */
+#define writeDDPExtDownmixMode3 0xca00+STD_BETA_DDP,0x0803
+/* 3  - L, C, R */
+#define writeDDPExtDownmixMode4 0xca00+STD_BETA_DDP,0x0804
+/* 4  - L, R, Cs */
+#define writeDDPExtDownmixMode5 0xca00+STD_BETA_DDP,0x0805
+/* 5  - L, C, R, Cs */
+#define writeDDPExtDownmixMode6 0xca00+STD_BETA_DDP,0x0806
+/* 6  - L, R, Ls, Rs */
+#define writeDDPExtDownmixMode7 0xca00+STD_BETA_DDP,0x0807
+/* 7  - L, C, R, Ls, Rs */
+//#define writeDDPExtDownmixMode8 0xca00+STD_BETA_DDP,0x0808
+/* 8  - L, C, R, Cvh [not supported]*/
+#define writeDDPExtDownmixMode9 0xca00+STD_BETA_DDP,0x0809
+/* 9  - L, R, l, r, Ts */
+#define writeDDPExtDownmixMode10 0xca00+STD_BETA_DDP,0x080a
+/* 10 - L, C, R, l, r, Ts */
+#define writeDDPExtDownmixMode11 0xca00+STD_BETA_DDP,0x080b
+ /* 11 - L, C, R, l, r, Cvh */
+#define writeDDPExtDownmixMode12 0xca00+STD_BETA_DDP,0x080c
+/* 12 - L, C, R, Lc, Rc */
+#define writeDDPExtDownmixMode13 0xca00+STD_BETA_DDP,0x080d
+/* 13 - L, R, l, r, Lw, Rw */
+#define writeDDPExtDownmixMode14 0xca00+STD_BETA_DDP,0x080e
+/* 14 - L, R, l, r, Lvh, Rvh */
+#define writeDDPExtDownmixMode15 0xca00+STD_BETA_DDP,0x080f
+/* 15 - L, R, l, r, Lsd, Rsd */
+#define writeDDPExtDownmixMode16 0xca00+STD_BETA_DDP,0x0810
+/* 16 - L, R, l, r, Lrs, Rrs */
+#define writeDDPExtDownmixMode17 0xca00+STD_BETA_DDP,0x0811
+ /* 17 - L, C, R, l, r, Lc, Rc */
+#define writeDDPExtDownmixMode18 0xca00+STD_BETA_DDP,0x0812
+/* 18 - L, C, R, l, r, Lw, Rw */
+#define writeDDPExtDownmixMode19 0xca00+STD_BETA_DDP,0x0813
+/* 19 - L, C, R, l, r, Lvh, Rvh */
+#define writeDDPExtDownmixMode20 0xca00+STD_BETA_DDP,0x0814
+/* 20 - L, C, R, l, r, Lsd, Rsd */
+#define writeDDPExtDownmixMode21 0xca00+STD_BETA_DDP,0x0815
+/* 21 - L, C, R, l, r, Lrs, Rrs */
+#define writeDDPExtDownmixMode22 0xca00+STD_BETA_DDP,0x0816
+ /* 22 - L, C, R, l, r, Ts, Cvh */
+#define writeDDPExtDownmixMode28 0xca00+STD_BETA_DDP,0x081c
+ /* 28 - L, C, R, Ls, Rs, Lts, Rts */
+
+
+#define readDDPStereoMode 0xc200+STD_BETA_DDP,0x0900
+#define writeDDPStereoModeAuto 0xca00+STD_BETA_DDP,0x0900
+#define writeDDPStereoModeLtRt 0xca00+STD_BETA_DDP,0x0901
+#define writeDDPStereoModeLoRo 0xca00+STD_BETA_DDP,0x0902
+//#define writeDDPStereoModeAutoLoRo 0xca00+STD_BETA_DDP,0x0903
+
+#define readDDPChanInfo 0xc300+STD_BETA_DDP,0x0012
+
+#define readDDPDlgNorm 0xc200+STD_BETA_DDP,0x0f00
+#define writeDDPDlgNormAuto 0xca00+STD_BETA_DDP,0x0f00
+#define writeDDPDlgNormEnable 0xca00+STD_BETA_DDP,0x0f01
+#define writeDDPDlgNormDisable 0xca00+STD_BETA_DDP,0x0f02
+
+#define readDDPRFModeGain 0xc200+STD_BETA_DDP,0x0500
+#define writeDDPRFModeGainAuto 0xca00+STD_BETA_DDP,0x0500
+#define writeDDPRFModeGainEnable 0xca00+STD_BETA_DDP,0x0501
+#define writeDDPRFModeGainDisable 0xca00+STD_BETA_DDP,0x0502
+
+#define readDDPPCMWordSize 0xc200+STD_BETA_DDP,0x1500
+#define writeDDPPCMWordSize16bitInt 0xca00+STD_BETA_DDP,0x1500
+#define writeDDPPCMWordSize24bitInt 0xca00+STD_BETA_DDP,0x1501
+#define writeDDPPCMWordSize32bitInt 0xca00+STD_BETA_DDP,0x1502
+#define writeDDPPCMWordSize32bitFloat 0xca00+STD_BETA_DDP,0x1503
+
+#define readDDPAssociatedAudioSubstreamSelect 0xc200+STD_BETA_DDP,0x1600
+#define writeDDPAssociatedAudioSubstreamSelect1 0xca00+STD_BETA_DDP,0x1601
+#define writeDDPAssociatedAudioSubstreamSelect2 0xca00+STD_BETA_DDP,0x1602
+#define writeDDPAssociatedAudioSubstreamSelect3 0xca00+STD_BETA_DDP,0x1603
+
+#define readDDPPCMOutErrorConcealment 0xc200+STD_BETA_DDP,0x1700
+#define writeDDPPCMOutErrorConcealmentDisable 0xca00+STD_BETA_DDP,0x1700
+#define writeDDPPCMOutErrorConcealmentRepeat 0xca00+STD_BETA_DDP,0x1701
+#define writeDDPPCMOutErrorConcealmentMute 0xca00+STD_BETA_DDP,0x1702
+#define writeDDPPCMOutErrorConcealmentRepeatMute 0xca00+STD_BETA_DDP,0x1703
+
+#define readDDPMetadataOut 0xc200+STD_BETA_DDP,0x1800
+#define writeDDPMetadataOut(X) 0xca00+STD_BETA_DDP,0x1800+((X)&0xff)
+#define writeDDPMetadataOutNo 0xca00+STD_BETA_DDP,0x1800
+#define writeDDPMetadataOutTimeSlice  0xca00+STD_BETA_DDP,0x1801
+#define writeDDPMetadataOutBitstreamInfo 0xca00+STD_BETA_DDP,0x1802
+#define writeDDPMetadataOutAudioBlock 0xca00+STD_BETA_DDP,0x1804
+#define writeDDPMetadataOutAuxData 0xca00+STD_BETA_DDP,0x1808
+#define writeDDPMetadataOutMixing 0xca00+STD_BETA_DDP,0x1810
+#define writeDDPMetadataOutRencoding 0xca00+STD_BETA_DDP,0x1820
+#define writeDDPMetadataOutChannelCfg 0xca00+STD_BETA_DDP,0x1840
+#define writeDDPMetadataOutIntelligentLoudness 0xca00+STD_BETA_DDP,0x1880
+
+#define readDDPDecorrelationMode 0xc200+STD_BETA_DDP,0x1900
+#define writeDDPDecorrelationModeNo 0xca00+STD_BETA_DDP,0x1900
+#define writeDDPDecorrelationModeGuided 0xca00+STD_BETA_DDP,0x1901
+#define writeDDPDecorrelationModeNonguided 0xca00+STD_BETA_DDP,0x1902
+
+#define readDDPMDCTBandLimitingMode 0xc200+STD_BETA_DDP,0x1a00
+#define writeDDPMDCTBandLimitingModeDisable 0xca00+STD_BETA_DDP,0x1a00
+#define writeDDPMDCTBandLimitingModeEnable 0xca00+STD_BETA_DDP,0x1a01
+
+#define readDDPDLBBufferDataType 0xc200+STD_BETA_DDP,0x1b00
+#define writeDDPDLBBufferDataTypeShort16 0xca00+STD_BETA_DDP,0x1b00
+#define writeDDPDLBBufferDataTypeIntLeft 0xca00+STD_BETA_DDP,0x1b01
+#define writeDDPDLBBufferDataTypeLong32 0xca00+STD_BETA_DDP,0x1b02
+#define writeDDPDLBBufferDataTypeFloat 0xca00+STD_BETA_DDP,0x1b03
+
+#define readDDPDLBBufferInterleaveFormat 0xc200+STD_BETA_DDP,0x1c00
+#define writeDDPDLBBufferInterleaveFormatNonInterleave 0xca00+STD_BETA_DDP,0x1c00
+#define writeDDPDLBBufferInterleaveFormatInterleave 0xca00+STD_BETA_DDP,0x1c01
+
+#define readDDPJOCDecodeMode 0xc200+STD_BETA_DDP,0x1d00
+#define writeDDPJOCDecodeModeDisable 0xca00+STD_BETA_DDP,0x1d00
+#define writeDDPJOCDecodeModePCM 0xca00+STD_BETA_DDP,0x1d01
+
+#define  readDDPBitStreamInformation 0xc600+STD_BETA_DDP2,0x0426
+#define  readDDPBitStreamInformation0 0xc300+STD_BETA_DDP2,0x0004
+#define  readDDPBitStreamInformationAcmodBsid 0xc300+STD_BETA_DDP2,0x0006
+#define  readDDPBitStreamInformation1 readDDPBitStreamInformationAcmodBsid
+#define  readDDPBitStreamInformationBsmodCmixLev 0xc300+STD_BETA_DDP2,0x0008
+#define  readDDPBitStreamInformation2 readDDPBitStreamInformationBsmodCmixLev 
+#define  readDDPBitStreamInformationComprCopyrightB 0xc300+STD_BETA_DDP2,0x000a
+#define  readDDPBitStreamInformation3 readDDPBitStreamInformationComprCopyrightB 
+#define  readDDPBitStreamInformationDHeadPhonmodDialNorm 0xc300+STD_BETA_DDP2,0x000c
+#define  readDDPBitStreamInformation4 readDDPBitStreamInformationDHeadPhonmodDialNorm 
+#define  readDDPBitStreamInformationDmixModDSurExMod 0xc300+STD_BETA_DDP2,0x000e
+#define  readDDPBitStreamInformation5 readDDPBitStreamInformationDmixModDSurExMod 
+#define  readDDPBitStreamInformationDSurModFrmSizCod 0xc300+STD_BETA_DDP2,0x0010
+#define  readDDPBitStreamInformation6 readDDPBitStreamInformationDSurModFrmSizCod 
+#define  readDDPBitStreamInformationFrmSize 0xc300+STD_BETA_DDP2,0x0012
+#define  readDDPBitStreamInformation7 readDDPBitStreamInformationFrmSize 
+#define  readDDPBitStreamInformationLfeOnLfeMixLevCod 0xc300+STD_BETA_DDP2,0x0014
+#define  readDDPBitStreamInformation8 readDDPBitStreamInformationLfeOnLfeMixLevCod 
+#define  readDDPBitStreamInformationLoRoCMixLevLoRoSurMixLev 0xc300+STD_BETA_DDP2,0x0016
+#define  readDDPBitStreamInformation9 readDDPBitStreamInformationLoRoCMixLevLoRoSurMixLev 
+#define  readDDPBitStreamInformationLtRtCmixLevLtRtSurMixLev 0xc300+STD_BETA_DDP2,0x0018
+#define  readDDPBitStreamInformation10 readDDPBitStreamInformationLtRtCmixLevLtRtSurMixLev 
+#define  readDDPBitStreamInformationMixLevOrigBs 0xc300+STD_BETA_DDP2,0x001a
+#define  readDDPBitStreamInformation11 readDDPBitStreamInformationMixLevOrigBs 
+#define  readDDPBitStreamInformationRoomTypSourceFsCod 0xc300+STD_BETA_DDP2,0x001c
+#define  readDDPBitStreamInformation12 readDDPBitStreamInformationRoomTypSourceFsCod 
+#define  readDDPBitStreamInformationStrmTypeSubstreamId 0xc300+STD_BETA_DDP2,0x01e
+#define  readDDPBitStreamInformation13 readDDPBitStreamInformationStrmTypeSubstreamId 
+#define  readDDPBitStreamInformationSurMixLevFsCod 0xc300+STD_BETA_DDP2,0x0020
+#define  readDDPBitStreamInformation14 readDDPBitStreamInformationSurMixLevFsCod 
+#define  readDDPBitStreamInformationMixExtProgProgAdjust 0xc300+STD_BETA_DDP2,0x0022
+#define  readDDPBitStreamInformation15 readDDPBitStreamInformationMixExtProgProgAdjust 
+#define  readDDPBitStreamInformationAtoDConverterType 0xc300+STD_BETA_DDP2,0x0024
+#define  readDDPBitStreamInformation16 readDDPBitStreamInformationAtoDConverterType 
+#define  readDDPBitStreamInformationChanMap 0xc300+STD_BETA_DDP2,0x0026
+#define  readDDPBitStreamInformation17 readDDPBitStreamInformationChanMap 
+#define  readDDPBitStreamInformationJOCDecodeOutMode 0xc300+STD_BETA_DDP2,0x0028
+#define  readDDPBitStreamInformation18 readDDPBitStreamInformationJOCDecodeOutMode
+
+#define  readDDPStatus 0xc508,STD_BETA_DDP
+#define  readDDPCommon 0xc508,STD_BETA_DDP2
+#define  readDDPControl \
+         readDDPOperationalMode, \
+         readDDPDynrngScaleHiQ6, \
+         readDDPDynrngScaleLoQ6, \
+         readDDPStereoMode, \
+         readDDPSpeakerRemapping, \
+         readDDPLfe, \
+         readDDPExtDownmixMode, \
+         readDDPLegacyDecodeMode, \
+         readDDPDlgNorm, \
+         readDDPRFModeGain
+
+
+#define  readAC3Mode readDDPMode
+#define  readAC3OperationalMode readDDPOperationalMode
+#define  readAC3DynrngScaleHiQ6 readDDPDynrngScaleHiQ6
+#define  readAC3DynrngScaleLoQ6 readDDPDynrngScaleLoQ6
+
+#define writeAC3OperationalModeCustom0 writeDDPOperationalModeCustom0
+#define writeAC3OperationalModeCustom1 writeDDPOperationalModeCustom1
+#define writeAC3OperationalModeLine writeDDPOperationalModeLine
+#define writeAC3OperationalModeRF writeDDPOperationalModeRF
+
+#define writeAC3DynrngScaleHiQ6N(NN)  writeDDPDynrngScaleHiQ6N(NN)
+#define writeAC3DynrngScaleLoQ6N(NN)  writeDDPDynrngScaleLoQ6N(NN)
+/* in support of inverse compilation only */
+#define writeAC3DynrngScaleHiQ6N__64__ writeAC3DynrngScaleHiQ6N(64)
+#define writeAC3DynrngScaleLoQ6N__64__ writeAC3DynrngScaleLoQ6N(64)
+
+#define readAC3StereoMode readDDPStereoMode
+#define writeAC3StereoModeAuto writeDDPStereoModeAuto
+#define writeAC3StereoModeLtRt writeDDPStereoModeLtRt
+#define writeAC3StereoModeLoRo writeDDPStereoModeLoRo
+//#define writeAC3StereoModeAutoLoRo writeDDPStereoModeAutoLoRo
+
+#define  readAC3BitStreamInformation readDDPBitStreamInformation
+#define  readAC3BitStreamInformation0 readDDPBitStreamInformation0
+#define  readAC3BitStreamInformation1 readDDPBitStreamInformation1
+#define  readAC3BitStreamInformation2 readDDPBitStreamInformation2
+#define  readAC3BitStreamInformation3 readDDPBitStreamInformation3
+#define  readAC3BitStreamInformation4 readDDPBitStreamInformation4
+#define  readAC3BitStreamInformation5 readDDPBitStreamInformation5
+#define  readAC3BitStreamInformation6 readDDPBitStreamInformation6
+#define  readAC3BitStreamInformation7 readDDPBitStreamInformation7
+#define  readAC3BitStreamInformation8 readDDPBitStreamInformation8
+#define  readAC3BitStreamInformation9 readDDPBitStreamInformation9
+
+/* Currently not available in DDP as AC3
+#define wroteAC3BitStreamInformation 0xce00+STD_BETA_AC32,0x0414
+*/
+#define  readAC3Status readDDPStatus
+#define  readAC3Common readDDPCommon
+#define  readAC3Control readDDPControl
+
+#define readAC3RFModeGain readDDPRFModeGain
+#define writeAC3RFModeGainAuto writeDDPRFModeGainAuto
+#define writeAC3RFModeGainEnable writeDDPRFModeGainEnable
+#define writeAC3RFModeGainDisable writeDDPRFModeGainDisable
+
+#define readAC3DlgNorm readDDPDlgNorm
+#define writeAC3DlgNormAuto writeDDPDlgNormAuto
+#define writeAC3DlgNormEnable writeDDPDlgNormEnable
+#define writeAC3DlgNormDisable writeDDPDlgNormDisable
+
+
+// XX symbolic definitions are obsolete; please replace use. For backards compatibility:
+#define writeAC3DynrngScaleHiQ6XX(N)  writeAC3DynrngScaleHiQ6N(0x##N)
+#define writeAC3DynrngScaleLoQ6XX(N)  writeAC3DynrngScaleLoQ6N(0x##N)
+
+
+#endif /* _DDP_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/dm_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/dm_a.h
new file mode 100644 (file)
index 0000000..4324b55
--- /dev/null
@@ -0,0 +1,159 @@
+
+/*
+* 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.
+*
+*/
+
+//
+//
+// Downmix alpha codes
+//
+//
+//
+
+#ifndef _DM_A
+#define _DM_A
+
+#include <acpbeta.h>
+
+#define  readDMMode 0xc200+STD_BETA_DM,0x0400
+#define writeDMModeDisable 0xca00+STD_BETA_DM,0x0400
+#define writeDMModeEnable 0xca00+STD_BETA_DM,0x0401
+
+#define  readDMLFEDownmixVolume 0xc200+STD_BETA_DM,0x0500
+#define writeDMLFEDownmixVolumeN(NN) 0xca00+STD_BETA_DM,0x0500+(0xff&(NN))
+/* in support of inverse compilation only */
+#define writeDMLFEDownmixVolumeN__20__ writeDMLFEDownmixVolumeN(20)
+
+#define  readDMLFEDownmixInclude 0xc200+STD_BETA_DM,0x0600
+#define writeDMLFEDownmixIncludeNo 0xca00+STD_BETA_DM,0x0600
+#define writeDMLFEDownmixIncludeYes 0xca00+STD_BETA_DM,0x0601
+
+#define  readDMCenterMixLevel 0xc300+STD_BETA_DM,0x0008
+#define writeDMCenterMixLevelN(NN) 0xcb00+STD_BETA_DM,0x0008,(0xFFFF&(NN))
+#define wroteDMCenterMixLevel 0xcb00+STD_BETA_DM,0x0008
+
+#define  readDMSurroundMixLevel 0xc300+STD_BETA_DM,0x000a
+#define writeDMSurroundMixLevelN(NN) 0xcb00+STD_BETA_DM,0x000a,(0xFFFF&(NN))
+#define wroteDMSurroundMixLevel 0xcb00+STD_BETA_DM,0x000a
+
+#define  readDMChannelConfigurationRequest 0xc400+STD_BETA_DM,0x000c
+#define writeDMChannelConfigurationRequestUnknown 0xcc00+STD_BETA_DM,0x000c,0x0000,0x0000
+
+#define writeDMChannelConfigurationRequestNone 0xcc00+STD_BETA_DM,0x000c,0x0001,0x0000
+#define writeDMChannelConfigurationRequestMono 0xcc00+STD_BETA_DM,0x000c,0x0002,0x0000
+#define writeDMChannelConfigurationRequestStereo 0xcc00+STD_BETA_DM,0x000c,0x0003,0x0000
+#define writeDMChannelConfigurationRequestStereoLtRt 0xcc00+STD_BETA_DM,0x000c,0x0003,0x0002
+#define writeDMChannelConfigurationRequestStereoMono 0xcc00+STD_BETA_DM,0x000c,0x0003,0x0003
+#define writeDMChannelConfigurationRequest3Stereo 0xcc00+STD_BETA_DM,0x000c,0x0108,0x0000
+#define writeDMChannelConfigurationRequestPhantom 0xcc00+STD_BETA_DM,0x000c,0x0105,0x0000
+#define writeDMChannelConfigurationRequestSurround 0xcc00+STD_BETA_DM,0x000c,0x010a,0x0000
+
+#define writeDMChannelConfigurationRequestNone_0 0xcc00+STD_BETA_DM,0x000c,0x0001,0x0000
+#define writeDMChannelConfigurationRequestMono_0 0xcc00+STD_BETA_DM,0x000c,0x0002,0x0000
+#define writeDMChannelConfigurationRequestPhantom0_0 0xcc00+STD_BETA_DM,0x000c,0x0003,0x0000
+#define writeDMChannelConfigurationRequestPhantom0Stereo_0 0xcc00+STD_BETA_DM,0x000c,0x0003,0x0001
+#define writeDMChannelConfigurationRequestPhantom0LtRt_0 0xcc00+STD_BETA_DM,0x000c,0x0003,0x0002
+#define writeDMChannelConfigurationRequestPhantom0Mono_0 0xcc00+STD_BETA_DM,0x000c,0x0003,0x0003
+
+#define wroteDMChannelConfigurationRequestPhantom0Dual_0 0xcc00+STD_BETA_DM,0x000c,0x0003,0x0004
+
+#define writeDMChannelConfigurationRequestPhantom1_0 0xcc00+STD_BETA_DM,0x000c,0x0004,0x0000
+#define writeDMChannelConfigurationRequestPhantom2_0 0xcc00+STD_BETA_DM,0x000c,0x0005,0x0000
+
+#define wroteDMChannelConfigurationRequestPhantom2Stereo_0 0xcc00+STD_BETA_DM,0x000c,0x0005,0x0001
+
+#define writeDMChannelConfigurationRequestPhantom2LtRt_0 0xcc00+STD_BETA_DM,0x000c,0x0005,0x0002
+
+#define wroteDMChannelConfigurationRequestPhantom2Mono_0 0xcc00+STD_BETA_DM,0x000c,0x0005,0x0003
+
+#define writeDMChannelConfigurationRequestPhantom3_0 0xcc00+STD_BETA_DM,0x000c,0x0006,0x0000
+#define writeDMChannelConfigurationRequestPhantom4_0 0xcc00+STD_BETA_DM,0x000c,0x0007,0x0000
+#define writeDMChannelConfigurationRequestSurround0_0 0xcc00+STD_BETA_DM,0x000c,0x0008,0x0000
+#define writeDMChannelConfigurationRequestSurround1_0 0xcc00+STD_BETA_DM,0x000c,0x0009,0x0000
+#define writeDMChannelConfigurationRequestSurround2_0 0xcc00+STD_BETA_DM,0x000c,0x000a,0x0000
+
+#define wroteDMChannelConfigurationRequestSurround2Stereo_0 0xcc00+STD_BETA_DM,0x000c,0x000a,0x0001
+
+#define writeDMChannelConfigurationRequestSurround2LtRt_0 0xcc00+STD_BETA_DM,0x000c,0x000a,0x0002
+
+#define wroteDMChannelConfigurationRequestSurround2Mono_0 0xcc00+STD_BETA_DM,0x000c,0x000a,0x0003
+
+#define writeDMChannelConfigurationRequestSurround3_0 0xcc00+STD_BETA_DM,0x000c,0x000b,0x0000
+#define writeDMChannelConfigurationRequestSurround4_0 0xcc00+STD_BETA_DM,0x000c,0x000c,0x0000
+
+#define writeDMChannelConfigurationRequestNone_1 0xcc00+STD_BETA_DM,0x000c,0x0101,0x0000
+#define writeDMChannelConfigurationRequestMono_1 0xcc00+STD_BETA_DM,0x000c,0x0102,0x0000
+#define writeDMChannelConfigurationRequestPhantom0_1 0xcc00+STD_BETA_DM,0x000c,0x0103,0x0000
+#define writeDMChannelConfigurationRequestPhantom0Stereo_1 0xcc00+STD_BETA_DM,0x000c,0x0103,0x0001
+#define writeDMChannelConfigurationRequestPhantom0LtRt_1 0xcc00+STD_BETA_DM,0x000c,0x0103,0x0002
+#define writeDMChannelConfigurationRequestPhantom0Mono_1 0xcc00+STD_BETA_DM,0x000c,0x0103,0x0003
+
+#define wroteDMChannelConfigurationRequestPhantom0Dual_1 0xcc00+STD_BETA_DM,0x000c,0x0103,0x0004
+
+#define writeDMChannelConfigurationRequestPhantom1_1 0xcc00+STD_BETA_DM,0x000c,0x0104,0x0000
+#define writeDMChannelConfigurationRequestPhantom2_1 0xcc00+STD_BETA_DM,0x000c,0x0105,0x0000
+
+#define wroteDMChannelConfigurationRequestPhantom2Stereo_1 0xcc00+STD_BETA_DM,0x000c,0x0105,0x0001
+
+#define writeDMChannelConfigurationRequestPhantom2LtRt_1 0xcc00+STD_BETA_DM,0x000c,0x0105,0x0002
+
+#define wroteDMChannelConfigurationRequestPhantom2Mono_1 0xcc00+STD_BETA_DM,0x000c,0x0105,0x0003
+
+#define writeDMChannelConfigurationRequestPhantom3_1 0xcc00+STD_BETA_DM,0x000c,0x0106,0x0000
+#define writeDMChannelConfigurationRequestPhantom4_1 0xcc00+STD_BETA_DM,0x000c,0x0107,0x0000
+#define writeDMChannelConfigurationRequestSurround0_1 0xcc00+STD_BETA_DM,0x000c,0x0108,0x0000
+#define writeDMChannelConfigurationRequestSurround1_1 0xcc00+STD_BETA_DM,0x000c,0x0109,0x0000
+#define writeDMChannelConfigurationRequestSurround2_1 0xcc00+STD_BETA_DM,0x000c,0x010a,0x0000
+
+#define wroteDMChannelConfigurationRequestSurround2Stereo_1 0xcc00+STD_BETA_DM,0x000c,0x010a,0x0001
+
+#define writeDMChannelConfigurationRequestSurround2LtRt_1 0xcc00+STD_BETA_DM,0x000c,0x010a,0x0002
+
+#define wroteDMChannelConfigurationRequestSurround2Mono_1 0xcc00+STD_BETA_DM,0x000c,0x010a,0x0003
+
+#define writeDMChannelConfigurationRequestSurround3_1 0xcc00+STD_BETA_DM,0x000c,0x010b,0x0000
+#define writeDMChannelConfigurationRequestSurround4_1 0xcc00+STD_BETA_DM,0x000c,0x010c,0x0000
+
+#define writeDMChannelConfigurationRequestHL(HH,LL) 0xcc00+STD_BETA_DM,0x000c,LL,HH
+
+#define  readDMStatus 0xc508,STD_BETA_DM
+#define  readDMControl \
+         readDMMode, \
+         readDMLFEDownmixVolume, \
+         readDMLFEDownmixInclude, \
+         readDMCenterMixLevel, \
+         readDMSurroundMixLevel, \
+         readDMChannelConfigurationRequest
+
+#endif /* _DM_A */
+
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/i13_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/i13_a.h
new file mode 100644 (file)
index 0000000..47135bb
--- /dev/null
@@ -0,0 +1,68 @@
+\r
+/*\r
+* Copyright (C) 2004-2014 Texas Instruments Incorporated - http://www.ti.com/\r
+* All rights reserved. \r
+*\r
+*  Redistribution and use in source and binary forms, with or without\r
+*  modification, are permitted provided that the following conditions\r
+*  are met:\r
+*\r
+*    Redistributions of source code must retain the above copyright\r
+*    notice, this list of conditions and the following disclaimer.\r
+*\r
+*    Redistributions in binary form must reproduce the above copyright\r
+*    notice, this list of conditions and the following disclaimer in the\r
+*    documentation and/or other materials provided with the\r
+*    distribution.\r
+*\r
+*    Neither the name of Texas Instruments Incorporated nor the names of\r
+*    its contributors may be used to endorse or promote products derived\r
+*    from this software without specific prior written permission.\r
+*\r
+*  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \r
+*  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r
+*  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\r
+*  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\r
+*  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r
+*  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r
+*  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
+*  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\r
+*  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
+*  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r
+*  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+*\r
+*/\r
+\r
+//\r\r
+//\r\r
+// I12 master alpha code symbol file\r\r
+//\r\r
+//\r\r
+\r
+#ifndef _I13_A\r
+#define _I13_A\r
+\r
+\r
+#include <paftyp_a.h>\r
+#include <pafsys_a.h>\r
+#include <acp_a.h>\r
+#include <inpbuf_a.h>\r
+#include <pafdec_a.h>\r
+#include <pafenc_a.h>\r
+#include <pafvol_a.h>\r
+#include <outbuf_a.h>\r
+#include <paferr_a.h>\r
+#include <pafid_a.h>\r
+#include <pafstd_a.h>\r
+#include <pafstream_a.h>\r
+#include <pafnic_a.h>\r
+#include <pcm_a.h>\r
+#include <ddpat_a.h>\r
+#include <thd_a.h>\r
+#include <dm_a.h>\r
+#include <pce_a.h>\r
+\r
+#include <car_a.h>      // FL: added for CAR\r
+#include <src_a.h>      // FL: added for SRC4\r
+#include <pafaip_a.h>   // FL: added for AIP\r
+#endif /* _I13_A */\r
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/inpbuf_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/inpbuf_a.h
new file mode 100644 (file)
index 0000000..63e388b
--- /dev/null
@@ -0,0 +1,264 @@
+
+/*
+* 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.
+*
+*/
+
+//
+//
+// Input Buffer alpha codes
+//
+//
+//
+
+#ifndef _INPBUF_A
+#define _INPBUF_A
+
+#include <acpbeta.h>
+#include <pafmac_a.h>
+#include <paftyp_a.h>
+
+#define  readIBMode                         0xc200+STD_BETA_IB,0x0400
+#define writeIBModeN(NN)                    0xca00+STD_BETA_IB,(0x0400+(NN))
+
+#define  readIBSampleRateOverride           0xc200+STD_BETA_IB,0x0800
+#define writeIBSampleRateOverrideUnknown    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_UNKNOWN)
+#define writeIBSampleRateOverrideNone       0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_NONE)
+#define writeIBSampleRateOverride32000Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_32000HZ)
+#define writeIBSampleRateOverride44100Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_44100HZ)
+#define writeIBSampleRateOverride48000Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_48000HZ)
+#define writeIBSampleRateOverride88200Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_88200HZ)
+#define writeIBSampleRateOverride96000Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_96000HZ)
+#define writeIBSampleRateOverride192000Hz   0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_192000HZ)
+#define writeIBSampleRateOverride64000Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_64000HZ)
+#define writeIBSampleRateOverride128000Hz   0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_128000HZ)
+#define writeIBSampleRateOverride176400Hz   0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_176400HZ)
+#define writeIBSampleRateOverride8000Hz     0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_8000HZ)
+#define writeIBSampleRateOverride11025Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_11025HZ)
+#define writeIBSampleRateOverride12000Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_12000HZ)
+#define writeIBSampleRateOverride16000Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_16000HZ)
+#define writeIBSampleRateOverride22050Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_22050HZ)
+#define writeIBSampleRateOverride24000Hz    0xca00+STD_BETA_IB,(0x0800+PAF_SAMPLERATE_24000HZ)
+#define writeIBSampleRateOverrideStandard   0xca00+STD_BETA_IB,0x0880
+#define writeIBSampleRateOverrideData       0xca00+STD_BETA_IB,0x0881
+#define writeIBSampleRateOverrideMeasured   0xca00+STD_BETA_IB,0x0882
+#define writeIBSampleRateOverrideAuto       0xca00+STD_BETA_IB,0x0883
+#define writeIBSampleRateOverrideOther      0xca00+STD_BETA_IB,0x0884
+
+#define  readIBSampleRateData               0xc200+STD_BETA_IB,0x0900
+#define wroteIBSampleRateDataUnknown        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_UNKNOWN
+#define wroteIBSampleRateDataNone           0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_NONE
+#define wroteIBSampleRateData32000Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_32000HZ
+#define wroteIBSampleRateData44100Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_44100HZ
+#define wroteIBSampleRateData48000Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_48000HZ
+#define wroteIBSampleRateData88200Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_88200HZ
+#define wroteIBSampleRateData96000Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_96000HZ
+#define wroteIBSampleRateData192000Hz       0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_192000HZ
+#define wroteIBSampleRateData64000Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_64000HZ
+#define wroteIBSampleRateData128000Hz       0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_128000HZ
+#define wroteIBSampleRateData176400Hz       0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_176400HZ
+#define wroteIBSampleRateData8000Hz         0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_8000HZ
+#define wroteIBSampleRateData11025Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_11025HZ
+#define wroteIBSampleRateData12000Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_12000HZ
+#define wroteIBSampleRateData16000Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_16000HZ
+#define wroteIBSampleRateData22050Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_22050HZ
+#define wroteIBSampleRateData24000Hz        0xca00+STD_BETA_IB,0x0900+PAF_SAMPLERATE_24000HZ
+
+#define  readIBSampleRateMeasured           0xc200+STD_BETA_IB,0x0a00
+#define wroteIBSampleRateMeasuredUnknown    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_UNKNOWN
+#define wroteIBSampleRateMeasuredNone       0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_NONE
+#define wroteIBSampleRateMeasured32000Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_32000HZ
+#define wroteIBSampleRateMeasured44100Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_44100HZ
+#define wroteIBSampleRateMeasured48000Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_48000HZ
+#define wroteIBSampleRateMeasured88200Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_88200HZ
+#define wroteIBSampleRateMeasured96000Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_96000HZ
+#define wroteIBSampleRateMeasured192000Hz   0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_192000HZ
+#define wroteIBSampleRateMeasured64000Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_64000HZ
+#define wroteIBSampleRateMeasured128000Hz   0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_128000HZ
+#define wroteIBSampleRateMeasured176400Hz   0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_176400HZ
+#define wroteIBSampleRateMeasured8000Hz     0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_8000HZ
+#define wroteIBSampleRateMeasured11025Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_11025HZ
+#define wroteIBSampleRateMeasured12000Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_12000HZ
+#define wroteIBSampleRateMeasured16000Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_16000HZ
+#define wroteIBSampleRateMeasured22050Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_22050HZ
+#define wroteIBSampleRateMeasured24000Hz    0xca00+STD_BETA_IB,0x0a00+PAF_SAMPLERATE_24000HZ
+
+#define  readIBSampleRateStatus             0xc200+STD_BETA_IB,0x0b00
+#define wroteIBSampleRateStatusUnknown      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_UNKNOWN
+#define wroteIBSampleRateStatusNone         0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_NONE
+#define wroteIBSampleRateStatus32000Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_32000HZ
+#define wroteIBSampleRateStatus44100Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_44100HZ
+#define wroteIBSampleRateStatus48000Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_48000HZ
+#define wroteIBSampleRateStatus88200Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_88200HZ
+#define wroteIBSampleRateStatus96000Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_96000HZ
+#define wroteIBSampleRateStatus192000Hz     0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_192000HZ
+#define wroteIBSampleRateStatus64000Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_64000HZ
+#define wroteIBSampleRateStatus128000Hz     0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_128000HZ
+#define wroteIBSampleRateStatus176400Hz     0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_176400HZ
+#define wroteIBSampleRateStatus8000Hz       0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_8000HZ
+#define wroteIBSampleRateStatus11025Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_11025HZ
+#define wroteIBSampleRateStatus12000Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_12000HZ
+#define wroteIBSampleRateStatus16000Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_16000HZ
+#define wroteIBSampleRateStatus22050Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_22050HZ
+#define wroteIBSampleRateStatus24000Hz      0xca00+STD_BETA_IB,0x0b00+PAF_SAMPLERATE_24000HZ
+
+#define  readIBNonAudio                     0xc200+STD_BETA_IB,0x0c00
+
+#define  readIBEmphasisData                 0xc200+STD_BETA_IB,0x0d00
+#define  readIBEmphasis                     readIBEmphasisData
+#define wroteIBEmphasisDataUnknown          0xca00+STD_BETA_IB,0x0d00+PAF_IEC_PREEMPHASIS_UNKNOWN
+#define wroteIBEmphasisDataNo               0xca00+STD_BETA_IB,0x0d00+PAF_IEC_PREEMPHASIS_NO
+#define wroteIBEmphasisDataYes              0xca00+STD_BETA_IB,0x0d00+PAF_IEC_PREEMPHASIS_YES
+
+#define  readIBEmphasisOverride             0xc200+STD_BETA_IB,0x0e00
+#define writeIBEmphasisOverrideDisable      0xca00+STD_BETA_IB,0x0e00
+#define writeIBEmphasisOverrideNo           0xca00+STD_BETA_IB,0x0e80+PAF_IEC_PREEMPHASIS_NO
+#define writeIBEmphasisOverrideYes          0xca00+STD_BETA_IB,0x0e80+PAF_IEC_PREEMPHASIS_YES
+
+#define  readIBEmphasisStatus               0xc200+STD_BETA_IB,0x0f00
+#define wroteIBEmphasisStatusNo             0xca00+STD_BETA_IB,0x0f00+PAF_IEC_PREEMPHASIS_NO
+#define wroteIBEmphasisStatusYes            0xca00+STD_BETA_IB,0x0f00+PAF_IEC_PREEMPHASIS_YES
+
+#define  readIBLock       0xc200+STD_BETA_IB,0x1000
+#define wroteIBLockNo     0xca00+STD_BETA_IB,0x1000
+#define wroteIBLockYes    0xca00+STD_BETA_IB,0x1001
+
+#define  readIBLockOverride          0xc200+STD_BETA_IB,0x0600
+#define writeIBLockOverrideNo        0xca00+STD_BETA_IB,0x0600
+#define writeIBLockOverrideYes       0xca00+STD_BETA_IB,0x0601
+#define writeIBLockOverrideNone      0xca00+STD_BETA_IB,0x0680
+
+#define  readIBStatus 0xc508,STD_BETA_IB
+#define  readIBControl \
+         readIBMode, \
+         readIBSampleRateOverride, \
+         readIBEmphasisOverride
+
+/* in support of inverse compilation only */
+#define writeIBModeN__0__ writeIBModeN(0)
+#define writeIBModeN__1__ writeIBModeN(1)
+
+#define  readIBSioSelect 0xc200+STD_BETA_IB, 0x0500
+#define writeIBSioSelectN(NN) 0xca00+STD_BETA_IB,(0x0500+(NN))
+
+#define  readIBPrecisionDefault         0xc200+STD_BETA_IB,0x1400
+#define writeIBPrecisionDefaultOriginal 0xca00+STD_BETA_IB,0x1410
+#define writeIBPrecisionDefaultStandard 0xca00+STD_BETA_IB,0x1414
+#define writeIBPrecisionDefaultFull     0xca00+STD_BETA_IB,0x1418
+
+#define  readIBPrecisionDetect          0xc200+STD_BETA_IB,0x1500
+#define wroteIBPrecisionDetectInvalid   0xca00+STD_BETA_IB,0x15fe /* Treat as None/TBD */
+#define wroteIBPrecisionDetectTBD       0xca00+STD_BETA_IB,0x15ff /* Not yet implemented */
+#define wroteIBPrecisionDetectNone      0xca00+STD_BETA_IB,0x1500 /* None or <= 20 */
+#define wroteIBPrecisionDetect16        0xca00+STD_BETA_IB,0x1510
+#define wroteIBPrecisionDetect17        0xca00+STD_BETA_IB,0x1511
+#define wroteIBPrecisionDetect18        0xca00+STD_BETA_IB,0x1512
+#define wroteIBPrecisionDetect19        0xca00+STD_BETA_IB,0x1513
+#define wroteIBPrecisionDetect20        0xca00+STD_BETA_IB,0x1514
+#define wroteIBPrecisionDetect21        0xca00+STD_BETA_IB,0x1515
+#define wroteIBPrecisionDetect22        0xca00+STD_BETA_IB,0x1516
+#define wroteIBPrecisionDetect23        0xca00+STD_BETA_IB,0x1517
+#define wroteIBPrecisionDetect24        0xca00+STD_BETA_IB,0x1518 /* 24 or <= 24 */
+
+#define  readIBPrecisionOverride        0xc200+STD_BETA_IB,0x1600
+#define writeIBPrecisionOverrideDefault 0xca00+STD_BETA_IB,0x16ff
+#define writeIBPrecisionOverrideDetect  0xca00+STD_BETA_IB,0x1600
+#define writeIBPrecisionOverride16      0xca00+STD_BETA_IB,0x1610
+#define writeIBPrecisionOverride17      0xca00+STD_BETA_IB,0x1611
+#define writeIBPrecisionOverride18      0xca00+STD_BETA_IB,0x1612
+#define writeIBPrecisionOverride19      0xca00+STD_BETA_IB,0x1613
+#define writeIBPrecisionOverride20      0xca00+STD_BETA_IB,0x1614
+#define writeIBPrecisionOverride21      0xca00+STD_BETA_IB,0x1615
+#define writeIBPrecisionOverride22      0xca00+STD_BETA_IB,0x1616
+#define writeIBPrecisionOverride23      0xca00+STD_BETA_IB,0x1617
+#define writeIBPrecisionOverride24      0xca00+STD_BETA_IB,0x1618
+#define writeIBPrecisionOverrideFloat   0xca00+STD_BETA_IB,0x1621
+
+#define  readIBPrecisionInput           0xc200+STD_BETA_IB,0x1700
+#define wroteIBPrecisionInputBitStream  0xca00+STD_BETA_IB,0x1700
+#define wroteIBPrecisionInput16         0xca00+STD_BETA_IB,0x1710
+#define wroteIBPrecisionInput17         0xca00+STD_BETA_IB,0x1711
+#define wroteIBPrecisionInput18         0xca00+STD_BETA_IB,0x1712
+#define wroteIBPrecisionInput19         0xca00+STD_BETA_IB,0x1713
+#define wroteIBPrecisionInput20         0xca00+STD_BETA_IB,0x1714
+#define wroteIBPrecisionInput21         0xca00+STD_BETA_IB,0x1715
+#define wroteIBPrecisionInput22         0xca00+STD_BETA_IB,0x1716
+#define wroteIBPrecisionInput23         0xca00+STD_BETA_IB,0x1717
+#define wroteIBPrecisionInput24         0xca00+STD_BETA_IB,0x1718
+
+#define  readIBZeroRunTrigger           0xc400+STD_BETA_IB,0x0018
+#define writeIBZeroRunTriggerN(NN)      0xcc00+STD_BETA_IB,0x0018,LSW(NN),MSW(NN)
+
+#define  readIBZeroRunRestart           0xc400+STD_BETA_IB,0x001C
+#define writeIBZeroRunRestartN(NN)      0xcc00+STD_BETA_IB,0x001C,LSW(NN),MSW(NN)
+
+#define  readIBUnknownTimeout           0xc400+STD_BETA_IB,0x0020
+#define writeIBUnknownTimeoutN(NN)      0xcc00+STD_BETA_IB,0x0020,LSW(NN),MSW(NN)
+
+#define  readIBScanAtHighSampleRateMode        0xc200+STD_BETA_IB,0x1100
+#define writeIBScanAtHighSampleRateModeDisable 0xca00+STD_BETA_IB,0x1100
+#define writeIBScanAtHighSampleRateModeEnable  0xca00+STD_BETA_IB,0x1101
+
+#define   readIBZeroRun     0xc200+STD_BETA_IB,0x1200
+#define  wroteIBZeroRunNo   0xca00+STD_BETA_IB,0x1200
+#define  wroteIBZeroRunYes  0xca00+STD_BETA_IB,0x1201
+
+#define   readIBRateTrackMode          0xc200+STD_BETA_IB,0x1300
+#define  writeIBRateTrackDisable       0xca00+STD_BETA_IB,0x1300
+#define  writeIBRateTrackEnable        0xca00+STD_BETA_IB,0x1301
+
+#define   readIBreportDTS16AsDTSForLargeSampleRate         0xc200+STD_BETA_IB,0x2900
+#define  writeIBreportDTS16AsDTSForLargeSampleRateDisable  0xca00+STD_BETA_IB,0x2900
+#define  writeIBreportDTS16AsDTSForLargeSampleRateEnable   0xca00+STD_BETA_IB,0x2901
+
+#define  readIBuseIECSubType           0xc200+STD_BETA_IB,0x2A00
+#define  writeIBuseIECSubTypeDisable  0xca00+STD_BETA_IB,0x2A00
+#define  writeIBuseIECSubTypeEnable    0xca00+STD_BETA_IB,0x2A01
+
+
+#ifdef HSE
+// DFI
+#define  readDFIFileSelect             0xc300+STD_BETA_IB,0x0024
+#define  writeDFIFileSelectN(NN)       0xcb00+STD_BETA_IB,0x0024,NN
+#define  readDFIMediaSelect            0xc300+STD_BETA_IB,0x0026
+#define  writeDFIMediaSelectN(NN)      0xcb00+STD_BETA_IB,0x0026,NN
+#define  readDFIFileSize               0xc400+STD_BETA_IB,0x0028
+#define  readDFIFilePosition           0xc400+STD_BETA_IB,0x002C
+#define  readDFIPlayRate1              0xc300+STD_BETA_IB,0x0030
+#define  readDFIPlayRate2              0xc300+STD_BETA_IB,0x0032
+
+#endif //HSE
+
+#define   readIBLastFrameMask            0xc400+STD_BETA_IB,0x0024
+#define  writeIBLastFrameMaskN(NN)       0xcc00+STD_BETA_IB,0x0024,LSW(NN),MSW(NN)
+
+#endif /* _INPBUF_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/mdFormat_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/mdFormat_a.h
new file mode 100644 (file)
index 0000000..519f920
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+* Copyright (C) 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.
+*
+*/
+
+//
+//
+// MDFORMAT ASP alpha codes
+//
+
+#ifndef _MDFORMAT_A
+#define _MDFORMAT_A
+
+// This has to be defined in cusbeta.h; cross check the definition in cusbeta.h or include that file here
+#include "stdbeta.h"
+#ifndef STD_BETA_MDFORMAT
+ #define STD_BETA_MDFORMAT     0x87
+ #warn  STD_BETA_MDFORMAT should be defined in stdbeta.h.
+#endif
+
+#define readMDFORMATMode               0xc200+STD_BETA_MDFORMAT,0x0400
+#define writeMDFORMATModeDisable       0xca00+STD_BETA_MDFORMAT,0x0400
+#define writeMDFORMATModeEnable        0xca00+STD_BETA_MDFORMAT,0x0401
+
+#define readMDFORMATMaxNumChMd         0xc200+STD_BETA_MDFORMAT,0x0800
+#define writeMDFORMATMaxNumChMd(N)     0xca00+STD_BETA_MDFORMAT,0x0800+((N)&0xff)
+
+#endif /* _MDFORMAT_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/oembeta.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/oembeta.h
new file mode 100644 (file)
index 0000000..a195ebb
--- /dev/null
@@ -0,0 +1,48 @@
+
+/*
+* 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.
+*
+*/
+
+//
+//
+// Alpha Code Processor Original Equipment Manufacturer Series Beta declarations
+//
+//
+//
+
+#ifndef _OEMBETA_A
+#define _OEMBETA_A
+
+    /* Beta unit numbers in this series are reserved to the OEM. */
+
+#endif /* _OEMBETA_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/outbuf_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/outbuf_a.h
new file mode 100644 (file)
index 0000000..7872441
--- /dev/null
@@ -0,0 +1,276 @@
+
+/*
+* 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.
+*
+*/
+
+//
+//
+// Output Buffer alpha codes
+//
+//
+//
+
+#ifndef _OUTBUF_A
+#define _OUTBUF_A
+
+#include <paftyp_a.h>
+#include <acpbeta.h>
+
+#define  readOBMode       0xc200+STD_BETA_OB,0x0400
+#define writeOBModeEnable 0xca00+STD_BETA_OB,0x0401
+#define writeOBModeIEC    0xca00+STD_BETA_OB,0x0402
+
+#define  readOBSioSelect 0xc200+STD_BETA_OB, 0x0500
+#define  rb32OBSioSelect 0xc000+STD_BETA_OB, 0x0581
+#define writeOBSioSelectN(NN) 0xca00+STD_BETA_OB,(0x0500+(NN))
+
+#define  readOBSampleRate 0xc200+STD_BETA_OB,0x0600
+#define wroteOBSampleRateUnknown 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_UNKNOWN
+#define wroteOBSampleRateNone 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_NONE
+#define wroteOBSampleRate8000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_8000HZ
+#define wroteOBSampleRate11025Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_11025HZ
+#define wroteOBSampleRate12000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_12000HZ
+#define wroteOBSampleRate16000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_16000HZ
+#define wroteOBSampleRate22050Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_22050HZ
+#define wroteOBSampleRate24000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_24000HZ
+#define wroteOBSampleRate32000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_32000HZ
+#define wroteOBSampleRate44100Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_44100HZ
+#define wroteOBSampleRate48000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_48000HZ
+#define wroteOBSampleRate64000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_64000HZ
+#define wroteOBSampleRate88200Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_88200HZ
+#define wroteOBSampleRate96000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_96000HZ
+#define wroteOBSampleRate128000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_128000HZ
+#define wroteOBSampleRate176400Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_176400HZ
+#define wroteOBSampleRate192000Hz 0xca00+STD_BETA_OB,0x0600+PAF_SAMPLERATE_192000HZ
+
+#define  readOBAudio 0xc200+STD_BETA_OB,0x0700
+#define wroteOBAudioQuiet 0xca00+STD_BETA_OB,0x0700
+#define wroteOBAudioSound 0xca00+STD_BETA_OB,0x0701
+#define wroteOBAudioFlush 0xca00+STD_BETA_OB,0x0702
+#define wroteOBAudioQuietMuted 0xca00+STD_BETA_OB,0x0710
+#define wroteOBAudioSoundMuted 0xca00+STD_BETA_OB,0x0711
+#define wroteOBAudioFlushMuted 0xca00+STD_BETA_OB,0x0712
+
+#define  readOBClock 0xc200+STD_BETA_OB,0x0800
+#define writeOBClockExternal 0xca00+STD_BETA_OB,0x0800
+#define writeOBClockInternal 0xca00+STD_BETA_OB,0x0801
+
+#define  readOBFlush 0xc200+STD_BETA_OB,0x0900
+#define writeOBFlushDisable 0xca00+STD_BETA_OB,0x0900
+#define writeOBFlushEnable 0xca00+STD_BETA_OB,0x0901
+
+#define   readOBRateTrackMode          0xc200+STD_BETA_OB,0x0A00
+#define  writeOBRateTrackDisable       0xca00+STD_BETA_OB,0x0A00
+#define  writeOBRateTrackEnable        0xca00+STD_BETA_OB,0x0A01
+
+#define   readOBMarkerInsertionMode        0xc200+STD_BETA_OB,0x0B00
+#define  writeOBMarkerInsertionModeDisable 0xca00+STD_BETA_OB,0x0B00
+#define  writeOBMarkerInsertionModeEnable  0xca00+STD_BETA_OB,0x0B01
+
+#define   readOBMaxNumBufOverride         0xc200+STD_BETA_OB,0x0C00
+#define writeOBMaxNumBufOverrideN(NN)     0xca00+STD_BETA_OB,(0x0C00 + (NN))
+#define writeOBMaxNumBufOverrideNone      0xca00+STD_BETA_OB,0x0C00
+
+#define  readOBUnknownNumBufOverride       0xc200+STD_BETA_OB,0x0D00
+#define writeOBUnknownNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x0D00 + (NN))
+#define writeOBUnknownNumBufOverrideNone   0xca00+STD_BETA_OB,0x0D00
+
+#define  readOBNoneNumBufOverride       0xc200+STD_BETA_OB,0x0E00
+#define writeOBNoneNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x0E00 + (NN))
+#define writeOBNoneNumBufOverrideNone   0xca00+STD_BETA_OB,0x0E00
+
+#define  readOBPassNumBufOverride       0xc200+STD_BETA_OB,0x0F00
+#define writeOBPassNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x0F00 + (NN))
+#define writeOBPassNumBufOverrideNone   0xca00+STD_BETA_OB,0x0F00
+
+#define  readOBSngNumBufOverride       0xc200+STD_BETA_OB,0x1000
+#define writeOBSngNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1000 + (NN))
+#define writeOBSngNumBufOverrideNone   0xca00+STD_BETA_OB,0x1000
+
+#define  readOBAutoNumBufOverride       0xc200+STD_BETA_OB,0x1100
+#define writeOBAutoNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1100 + (NN))
+#define writeOBAutoNumBufOverrideNone   0xca00+STD_BETA_OB,0x1100
+
+#define  readOBBitstreamNumBufOverride       0xc200+STD_BETA_OB,0x1200
+#define writeOBBitstreamNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1200 + (NN))
+#define writeOBBitstreamNumBufOverrideNone   0xca00+STD_BETA_OB,0x1200
+
+#define  readOBDtsallNumBufOverride       0xc200+STD_BETA_OB,0x1300
+#define writeOBDtsallNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1300 + (NN))
+#define writeOBDtsallNumBufOverrideNone   0xca00+STD_BETA_OB,0x1300
+
+#define  readOBPcmautoNumBufOverride       0xc200+STD_BETA_OB,0x1400
+#define writeOBPcmautoNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1400 + (NN))
+#define writeOBPcmautoNumBufOverrideNone   0xca00+STD_BETA_OB,0x1400
+
+#define  readOBPcmNumBufOverride       0xc200+STD_BETA_OB,0x1500
+#define writeOBPcmNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1500 + (NN))
+#define writeOBPcmNumBufOverrideNone   0xca00+STD_BETA_OB,0x1500
+
+#define  readOBPc8NumBufOverride       0xc200+STD_BETA_OB,0x1600
+#define writeOBPc8NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1600 + (NN))
+#define writeOBPc8NumBufOverrideNone   0xca00+STD_BETA_OB,0x1600
+
+#define  readOBAc3NumBufOverride       0xc200+STD_BETA_OB,0x1700
+#define writeOBAc3NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1700 + (NN))
+#define writeOBAc3NumBufOverrideNone   0xca00+STD_BETA_OB,0x1700
+
+#define  readOBDtsNumBufOverride       0xc200+STD_BETA_OB,0x1800
+#define writeOBDtsNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1800 + (NN))
+#define writeOBDtsNumBufOverrideNone   0xca00+STD_BETA_OB,0x1800
+
+#define  readOBAacNumBufOverride       0xc200+STD_BETA_OB,0x1900
+#define writeOBAacNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1900 + (NN))
+#define writeOBAacNumBufOverrideNone   0xca00+STD_BETA_OB,0x1900
+
+#define  readOBMpegNumBufOverride       0xc200+STD_BETA_OB,0x1A00
+#define writeOBMpegNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1A00 + (NN))
+#define writeOBMpegNumBufOverrideNone   0xca00+STD_BETA_OB,0x1A00
+
+#define  readOBDts12NumBufOverride       0xc200+STD_BETA_OB,0x1B00
+#define writeOBDts12NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1B00 + (NN))
+#define writeOBDts12NumBufOverrideNone   0xca00+STD_BETA_OB,0x1B00
+
+#define  readOBDts13NumBufOverride       0xc200+STD_BETA_OB,0x1C00
+#define writeOBDts13NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1C00 + (NN))
+#define writeOBDts13NumBufOverrideNone   0xca00+STD_BETA_OB,0x1C00
+
+#define  readOBDts14NumBufOverride       0xc200+STD_BETA_OB,0x1D00
+#define writeOBDts14NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1D00 + (NN))
+#define writeOBDts14NumBufOverrideNone   0xca00+STD_BETA_OB,0x1D00
+
+#define  readOBDts16NumBufOverride       0xc200+STD_BETA_OB,0x1E00
+#define writeOBDts16NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1E00 + (NN))
+#define writeOBDts16NumBufOverrideNone   0xca00+STD_BETA_OB,0x1E00
+
+#define  readOBWma9proNumBufOverride       0xc200+STD_BETA_OB,0x1F00
+#define writeOBWma9proNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x1F00 + (NN))
+#define writeOBWma9proNumBufOverrideNone   0xca00+STD_BETA_OB,0x1F00
+
+#define  readOBMp3NumBufOverride       0xc200+STD_BETA_OB,0x2000
+#define writeOBMp3NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x2000 + (NN))
+#define writeOBMp3NumBufOverrideNone   0xca00+STD_BETA_OB,0x2000
+
+#define  readOBDsd1NumBufOverride       0xc200+STD_BETA_OB,0x2100
+#define writeOBDsd1NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x2100 + (NN))
+#define writeOBDsd1NumBufOverrideNone   0xca00+STD_BETA_OB,0x2100
+
+#define  readOBDsd2NumBufOverride       0xc200+STD_BETA_OB,0x2200
+#define writeOBDsd2NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x2200 + (NN))
+#define writeOBDsd2NumBufOverrideNone   0xca00+STD_BETA_OB,0x2200
+
+#define  readOBDsd3NumBufOverride       0xc200+STD_BETA_OB,0x2300
+#define writeOBDsd3NumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x2300 + (NN))
+#define writeOBDsd3NumBufOverrideNone   0xca00+STD_BETA_OB,0x2300
+
+#define  readOBDdpNumBufOverride       0xc200+STD_BETA_OB,0x2400
+#define writeOBDdpNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x2400 + (NN))
+#define writeOBDdpNumBufOverrideNone   0xca00+STD_BETA_OB,0x2400
+
+#define  readOBDtshdNumBufOverride       0xc200+STD_BETA_OB,0x2500
+#define writeOBDtshdNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x2500 + (NN))
+#define writeOBDtshdNumBufOverrideNone   0xca00+STD_BETA_OB,0x2500
+
+#define  readOBThdNumBufOverride       0xc200+STD_BETA_OB,0x2600
+#define writeOBThdNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x2600 + (NN))
+#define writeOBThdNumBufOverrideNone   0xca00+STD_BETA_OB,0x2600
+
+#define  readOBDxpNumBufOverride       0xc200+STD_BETA_OB,0x2700
+#define writeOBDxpNumBufOverrideN(NN)  0xca00+STD_BETA_OB,(0x2700 + (NN))
+#define writeOBDxpNumBufOverrideNone   0xca00+STD_BETA_OB,0x2700
+
+#define  readOBStatus 0xc508,STD_BETA_OB
+#define  readOBControl \
+         readOBMode, \
+         readOBSioSelect, \
+         readOBClock, \
+         readOBFlush
+
+#ifdef HSE
+// DFI
+#define  readDFOFileSelect             0xc300+STD_BETA_OB,0x000C
+#define  writeDFOFileSelectN(NN)       0xcb00+STD_BETA_OB,0x000C,NN
+#define  readDFOMediaSelect            0xc300+STD_BETA_OB,0x000E
+#define  writeDFOMediaSelectN(NN)      0xcb00+STD_BETA_OB,0x000E,NN
+#endif //HSE
+
+/***********************************************************************
+ * MID 1102
+ * Alpha codes to read/write DITCSR registers.
+ * These 'alpha' codes don't write-to or read-from the OB status structure. 
+ * So, OB's STD_BETA is not used! 
+ * They directly write-to or read-from the DITCSR registers.
+ *
+ * The following addresses will be directly referred in the alpha codes below.
+ *
+ * #define DITCSRA0    0x46000100
+ * #define DITCSRA1    0x46000104
+ * #define DITCSRA2    0x46000108
+ * #define DITCSRA3    0x4600010c
+ * #define DITCSRA4    0x46000110
+ * #define DITCSRA5    0x46000114
+ *
+ * #define DITCSRB0    0x46000118
+ * #define DITCSRB1    0x4600011c
+ * #define DITCSRB2    0x46000120
+ * #define DITCSRB3    0x46000124
+ * #define DITCSRB4    0x46000128
+ * #define DITCSRB5    0x4600012c
+*/
+
+#define readOBDitCsrA0         0xf704,0x0004,0x0100,0x4600
+#define writeOBDitCsrA0(N)     0xff04,0x0004,0x0100,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrA1         0xf704,0x0004,0x0104,0x4600
+#define writeOBDitCsrA1(N)     0xff04,0x0004,0x0104,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrA2         0xf704,0x0004,0x0108,0x4600
+#define writeOBDitCsrA2(N)     0xff04,0x0004,0x0108,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrA3         0xf704,0x0004,0x010c,0x4600
+#define writeOBDitCsrA3(N)     0xff04,0x0004,0x010c,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrA4         0xf704,0x0004,0x0110,0x4600
+#define writeOBDitCsrA4(N)     0xff04,0x0004,0x0110,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrA5         0xf704,0x0004,0x0114,0x4600
+#define writeOBDitCsrA5(N)     0xff04,0x0004,0x0114,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrB0         0xf704,0x0004,0x0118,0x4600
+#define writeOBDitCsrB0(N)     0xff04,0x0004,0x0118,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrB1         0xf704,0x0004,0x011c,0x4600
+#define writeOBDitCsrB1(N)     0xff04,0x0004,0x011c,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrB2         0xf704,0x0004,0x0120,0x4600
+#define writeOBDitCsrB2(N)     0xff04,0x0004,0x0120,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrB3         0xf704,0x0004,0x0124,0x4600
+#define writeOBDitCsrB3(N)     0xff04,0x0004,0x0124,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrB4         0xf704,0x0004,0x0128,0x4600
+#define writeOBDitCsrB4(N)     0xff04,0x0004,0x0128,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+#define readOBDitCsrB5         0xf704,0x0004,0x012c,0x4600
+#define writeOBDitCsrB5(N)     0xff04,0x0004,0x012c,0x4600,((N)&0xFFFF),(((N)>>16)&0xFFFF)
+
+#endif /* _OUTBUF_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pa_i13_evmda830_io_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pa_i13_evmda830_io_a.h
new file mode 100644 (file)
index 0000000..4b85acd
--- /dev/null
@@ -0,0 +1,111 @@
+
+#ifndef _PAI_EVMDA830_IO_A
+#define _PAI_EVMDA830_IO_A
+
+#include <acpbeta.h>
+#include <i13_a.h>
+
+// execPAIInOutError : if returned, input/output "none" selected
+#define  execPAIInOutError    0xf1ff
+
+// -----------------------------------------------------------------------------
+// IB SIO Select Register is set by the execPAIIn* shortcuts
+
+#define  execPAIInNone          0xf120
+#define  execPAIInDigital       0xf121
+#define  execPAIInAnalog        0xf122
+#define  execPAIInAnalogStereo  0xf123
+#define  execPAIInSing          0xf126
+#define  execPAIInHDMI             0xf128
+#define  execPAIInHDMIStereo    0xf129
+#define  execPAIIn1394Stereo    0xf12d
+#define  execPAIIn1394          0xf12e
+#define  execPAIInRingIO        0xf12f
+
+
+// These values reflect the definition of devinp[]
+#define DEVINP_NULL             0
+#define DEVINP_DIR              1
+#define DEVINP_ADC1             2
+#define DEVINP_ADC_STEREO       3
+#define DEVINP_1394_STEREO      4
+#define DEVINP_1394             5
+#define DEVINP_RIO              6
+#define DEVINP_HDMI             7
+#define DEVINP_HDMI_STEREO      8
+#define DEVINP_N                9
+
+#define wroteIBSioCommandNone           0xca00+STD_BETA_IB,0x0500+DEVINP_NULL
+#define wroteIBSioCommandDigital        0xca00+STD_BETA_IB,0x0500+DEVINP_DIR
+#define wroteIBSioCommandAnalog         0xca00+STD_BETA_IB,0x0500+DEVINP_ADC1
+#define wroteIBSioCommandAnalogStereo   0xca00+STD_BETA_IB,0x0500+DEVINP_ADC_STEREO
+#define wroteIBSioCommand1394Stereo     0xca00+STD_BETA_IB,0x0500+DEVINP_1394_STEREO
+#define wroteIBSioCommand1394           0xca00+STD_BETA_IB,0x0500+DEVINP_1394
+#define wroteIBSioCommandRingIO         0xca00+STD_BETA_IB,0x0500+DEVINP_RIO
+#define wroteIBSioCommandHDMI              0xca00+STD_BETA_IB,0x0500+DEVINP_HDMI
+#define wroteIBSioCommandHDMIStereo     0xca00+STD_BETA_IB,0x0500+DEVINP_HDMI_STEREO
+
+
+#define wroteIBSioSelectNone            0xca00+STD_BETA_IB,0x0580+DEVINP_NULL
+#define wroteIBSioSelectDigital         0xca00+STD_BETA_IB,0x0580+DEVINP_DIR
+#define wroteIBSioSelectAnalog          0xca00+STD_BETA_IB,0x0580+DEVINP_ADC1
+#define wroteIBSioSelectAnalogStereo    0xca00+STD_BETA_IB,0x0580+DEVINP_ADC_STEREO
+#define wroteIBSioSelect1394Stereo      0xca00+STD_BETA_IB,0x0580+DEVINP_1394_STEREO
+#define wroteIBSioSelect1394            0xca00+STD_BETA_IB,0x0580+DEVINP_1394
+#define wroteIBSioSelectRingIO          0xca00+STD_BETA_IB,0x0580+DEVINP_RIO
+#define wroteIBSioSelectHDMI               0xca00+STD_BETA_IB,0x0580+DEVINP_HDMI
+#define wroteIBSioSelectHDMIStereo      0xca00+STD_BETA_IB,0x0580+DEVINP_HDMI_STEREO
+
+
+// -----------------------------------------------------------------------------
+// OB SIO Select Register is set by the execPAIOut* shortcuts
+
+#define  execPAIOutNone                 0xf130
+#define  execPAIOutAnalog               0xf131 //8 channel output analog (24bit)
+#define  execPAIOutDigital              0xf132 //8 channel output analog (24bit)
+#define  execPAIOutAnalogSlave          0xf138 //8 channel output analog (24bit) slave to input
+#define  execPAIOutRingIO16bit                 0xf139
+#define  execPAIOutAnalogSlaveStereo    0xf13a //2 channel output analog (24bit) slave to input
+#define  execPAIOutAnalogSlave2Stereo   0xf13b //4 channel output analog (24bit) slave to input
+#define  execPAIOutAnalogSlave2Stereo   0xf13b //4 channel output analog (24bit) slave to input
+#define  execPAIOutTdm4                                   0xf13c //4 channel output analog (24bit) slave to input
+#define  execPAIOutTdm8                                   0xf13d //4 channel output analog (24bit) slave to input
+#define  execPAIOutRingIO24bit                         0xf13f
+
+// These values reflect the definition of devout[]
+#define DEVOUT_NULL             0
+#define DEVOUT_DAC              1
+#define DEVOUT_DIT              2
+#define DEVOUT_DAC_SLAVE        3
+#define DEVOUT_DAC_STEREO       4
+#define DEVOUT_DAC_2STEREO      5
+#define DEVOUT_RRIO_16bit       6
+#define DEVOUT_RRIO_24bit       7
+#define DEVOUT_RRIO_32bit       8
+#define DEVOUT_4TDM                            9
+#define DEVOUT_8TDM                            10
+#define DEVOUT_N                11
+
+
+#define wroteOBSioCommandNone                0xca00+STD_BETA_OB,0x0500+DEVOUT_NULL
+#define wroteOBSioCommandAnalog              0xca00+STD_BETA_OB,0x0500+DEVOUT_DAC
+#define wroteOBSioCommandDigital             0xca00+STD_BETA_OB,0x0500+DEVOUT_DIT
+#define wroteOBSioCommandAnalogSlave         0xca00+STD_BETA_OB,0x0500+DEVOUT_DAC_SLAVE
+#define wroteOBSioCommandAnalogSlaveStereo   0xca00+STD_BETA_OB,0x0500+DEVOUT_DAC_STEREO
+#define wroteOBSioCommandAnalogSlave2Stereo  0xca00+STD_BETA_OB,0x0500+DEVOUT_DAC_2STEREO
+#define wroteOBSioCommandRRINGIO_16bit          0xca00+STD_BETA_OB,0x0500+DEVOUT_RRIO_16bit
+#define wroteOBSioCommandRRINGIO_24bit          0xca00+STD_BETA_OB,0x0500+DEVOUT_RRIO_24bit
+#define wroteOBSioCommandRRINGIO_32bit          0xca00+STD_BETA_OB,0x0500+DEVOUT_RRIO_32bit
+
+#define wroteOBSioSelectNone                 0xca00+STD_BETA_OB,0x0580+DEVOUT_NULL
+#define wroteOBSioSelectAnalog               0xca00+STD_BETA_OB,0x0580+DEVOUT_DAC
+#define wroteOBSioSelectDigital              0xca00+STD_BETA_OB,0x0580+DEVOUT_DIT
+#define wroteOBSioSelectAnalogSlave          0xca00+STD_BETA_OB,0x0580+DEVOUT_DAC_SLAVE
+#define wroteOBSioSelectAnalogSlaveStereo    0xca00+STD_BETA_OB,0x0580+DEVOUT_DAC_STEREO
+#define wroteOBSioSelectAnalogSlave2Stereo   0xca00+STD_BETA_OB,0x0580+DEVOUT_DAC_2STEREO
+#define wroteOBSioSelectRRINGIO_16bit           0xca00+STD_BETA_OB,0x0580+DEVOUT_RRIO_16bit
+#define wroteOBSioSelectRRINGIO_24bit           0xca00+STD_BETA_OB,0x0580+DEVOUT_RRIO_24bit
+#define wroteOBSioSelectRRINGIO_32bit           0xca00+STD_BETA_OB,0x0580+DEVOUT_RRIO_32bit
+// -----------------------------------------------------------------------------
+
+#endif // _PAI_EVMDA830_IO_A
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pa_i13_evmda830_io_a.hdM b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pa_i13_evmda830_io_a.hdM
new file mode 100644 (file)
index 0000000..a57fd27
--- /dev/null
@@ -0,0 +1,3749 @@
+// pa_i13_evmda830_io_a.hdM: inverse compilation file [Fri, Apr 10, 2015  3:16:39 PM]
+
+#define readParentAlphaCode 0x1234,0x5678
+#define readSYSMode 0xc220,0x0400
+#define readSYSListeningMode 0xc220,0x0500
+#define readSYSRecreationMode 0xc220,0x0600
+#define readSYSSpeakerMain 0xc220,0x0700
+#define readSYSSpeakerCntr 0xc220,0x0800
+#define readSYSSpeakerSurr 0xc220,0x0900
+#define readSYSSpeakerBack 0xc220,0x0a00
+#define readSYSSpeakerSubw 0xc220,0x0b00
+#define readSYSChannelConfigurationRequestType 0xc220,0x0c00
+#define readSYSChannelConfigurationRequest 0xc420,0x0010
+#define readSYSSpeakerWide 0xc220,0x1800
+#define readSYSSpeakerHigh 0xc220,0x1900
+#define writeSYSModeDisable 0xca20,0x0400
+#define writeSYSModeEnable 0xca20,0x047f
+#define wroteSYSListeningModeUnknown 0xca20,0x0500
+#define wroteSYSListeningModeStandard 0xca20,0x0501
+#define wroteSYSListeningModePure 0xca20,0x0502
+#define writeSYSRecreationModeNone 0xca20,0x0600
+#define writeSYSRecreationModeMono 0xca20,0x0601
+#define writeSYSRecreationModeStereo 0xca20,0x0602
+#define writeSYSRecreationMode2Stereo 0xca20,0x0603
+#define writeSYSRecreationMode3Stereo 0xca20,0x0604
+#define writeSYSRecreationModePhantom 0xca20,0x0605
+#define writeSYSRecreationModeSurround 0xca20,0x0606
+#define writeSYSRecreationModeDont 0xca20,0x0680
+#define writeSYSRecreationModeDirect 0xca20,0x0681
+#define writeSYSRecreationModeAuto 0xca20,0x0682
+#define writeSYSSpeakerMainSmall2 0xca20,0x0722
+#define writeSYSSpeakerMainLarge2 0xca20,0x0732
+#define writeSYSSpeakerCntrNone 0xca20,0x0800
+#define writeSYSSpeakerCntrSmall1 0xca20,0x0821
+#define writeSYSSpeakerCntrLarge1 0xca20,0x0831
+#define writeSYSSpeakerSurrNone 0xca20,0x0900
+#define writeSYSSpeakerSurrSmall2 0xca20,0x0922
+#define writeSYSSpeakerSurrLarge2 0xca20,0x0932
+#define writeSYSSpeakerBackNone 0xca20,0x0a00
+#define writeSYSSpeakerBackSmall1 0xca20,0x0a21
+#define writeSYSSpeakerBackLarge1 0xca20,0x0a31
+#define writeSYSSpeakerBackSmall2 0xca20,0x0a22
+#define writeSYSSpeakerBackLarge2 0xca20,0x0a32
+#define writeSYSSpeakerSubwNone 0xca20,0x0b00
+#define writeSYSSpeakerSubwBass1 0xca20,0x0b11
+#define writeSYSSpeakerSubwBass2 0xca20,0x0b12
+#define writeSYSSpeakerSubwLarge1 0xca20,0x0b31
+#define writeSYSSpeakerSubwLarge2 0xca20,0x0b32
+#define writeSYSSpeakerWideNone 0xca20,0x1800
+#define writeSYSSpeakerWideSmall2 0xca20,0x1822
+#define writeSYSSpeakerWideLarge2 0xca20,0x1832
+#define writeSYSSpeakerHighNone 0xca20,0x1900
+#define writeSYSSpeakerHighSmall2 0xca20,0x1922
+#define writeSYSSpeakerHighLarge2 0xca20,0x1932
+#define writeSYSChannelConfigurationRequestTypeStandard 0xca20,0x0c00
+#define writeSYSChannelConfigurationRequestTypeDecodeBypass 0xca20,0x0c01
+#define writeSYSChannelConfigurationRequestTypeDecodeDirect 0xca20,0x0c02
+#define readSYSImageSwitch 0xc220,0x0d00
+#define writeimage1 0xca20,0x0d01
+#define writeimage2 0xca20,0x0d02
+#define writeimage3 0xca20,0x0d03
+#define readSYSImageNum 0xc220,0x0e00
+#define readSYSImageNumMax 0xc220,0x0f00
+#define writeSYSChannelConfigurationRequestUnknown 0xcc20,0x0010,0x0000,0x0000
+#define writeSYSChannelConfigurationRequestNone 0xcc20,0x0010,0x0001,0x0000
+#define writeSYSChannelConfigurationRequestMono 0xcc20,0x0010,0x0002,0x0000
+#define writeSYSChannelConfigurationRequestStereo 0xcc20,0x0010,0x0003,0x0000
+#define writeSYSChannelConfigurationRequestStereoLtRt 0xcc20,0x0010,0x0003,0x0002
+#define writeSYSChannelConfigurationRequestStereoMono 0xcc20,0x0010,0x0003,0x0003
+#define writeSYSChannelConfigurationRequest3Stereo 0xcc20,0x0010,0x0108,0x0000
+#define writeSYSChannelConfigurationRequestPhantom 0xcc20,0x0010,0x0105,0x0000
+#define writeSYSChannelConfigurationRequestSurround 0xcc20,0x0010,0x010a,0x0000
+#define writeSYSChannelConfigurationRequestPhantom0Stereo_0 0xcc20,0x0010,0x0003,0x0001
+#define wroteSYSChannelConfigurationRequestPhantom0Dual_0 0xcc20,0x0010,0x0003,0x0004
+#define writeSYSChannelConfigurationRequestPhantom1_0 0xcc20,0x0010,0x0004,0x0000
+#define writeSYSChannelConfigurationRequestPhantom2_0 0xcc20,0x0010,0x0005,0x0000
+#define wroteSYSChannelConfigurationRequestPhantom2Stereo_0 0xcc20,0x0010,0x0005,0x0001
+#define writeSYSChannelConfigurationRequestPhantom2LtRt_0 0xcc20,0x0010,0x0005,0x0002
+#define wroteSYSChannelConfigurationRequestPhantom2Mono_0 0xcc20,0x0010,0x0005,0x0003
+#define writeSYSChannelConfigurationRequestPhantom3_0 0xcc20,0x0010,0x0006,0x0000
+#define writeSYSChannelConfigurationRequestPhantom4_0 0xcc20,0x0010,0x0007,0x0000
+#define writeSYSChannelConfigurationRequestSurround0_0 0xcc20,0x0010,0x0008,0x0000
+#define writeSYSChannelConfigurationRequestSurround1_0 0xcc20,0x0010,0x0009,0x0000
+#define writeSYSChannelConfigurationRequestSurround2_0 0xcc20,0x0010,0x000a,0x0000
+#define wroteSYSChannelConfigurationRequestSurround2Stereo_0 0xcc20,0x0010,0x000a,0x0001
+#define writeSYSChannelConfigurationRequestSurround2LtRt_0 0xcc20,0x0010,0x000a,0x0002
+#define wroteSYSChannelConfigurationRequestSurround2Mono_0 0xcc20,0x0010,0x000a,0x0003
+#define writeSYSChannelConfigurationRequestSurround3_0 0xcc20,0x0010,0x000b,0x0000
+#define writeSYSChannelConfigurationRequestSurround4_0 0xcc20,0x0010,0x000c,0x0000
+#define writeSYSChannelConfigurationRequestNone_1 0xcc20,0x0010,0x0101,0x0000
+#define writeSYSChannelConfigurationRequestMono_1 0xcc20,0x0010,0x0102,0x0000
+#define writeSYSChannelConfigurationRequestPhantom0_1 0xcc20,0x0010,0x0103,0x0000
+#define writeSYSChannelConfigurationRequestPhantom0Stereo_1 0xcc20,0x0010,0x0103,0x0001
+#define writeSYSChannelConfigurationRequestPhantom0LtRt_1 0xcc20,0x0010,0x0103,0x0002
+#define writeSYSChannelConfigurationRequestPhantom0Mono_1 0xcc20,0x0010,0x0103,0x0003
+#define wroteSYSChannelConfigurationRequestPhantom0Dual_1 0xcc20,0x0010,0x0103,0x0004
+#define writeSYSChannelConfigurationRequestPhantom1_1 0xcc20,0x0010,0x0104,0x0000
+#define wroteSYSChannelConfigurationRequestPhantom2Stereo_1 0xcc20,0x0010,0x0105,0x0001
+#define writeSYSChannelConfigurationRequestPhantom2LtRt_1 0xcc20,0x0010,0x0105,0x0002
+#define wroteSYSChannelConfigurationRequestPhantom2Mono_1 0xcc20,0x0010,0x0105,0x0003
+#define writeSYSChannelConfigurationRequestPhantom3_1 0xcc20,0x0010,0x0106,0x0000
+#define writeSYSChannelConfigurationRequestPhantom4_1 0xcc20,0x0010,0x0107,0x0000
+#define writeSYSChannelConfigurationRequestSurround1_1 0xcc20,0x0010,0x0109,0x0000
+#define wroteSYSChannelConfigurationRequestSurround2Stereo_1 0xcc20,0x0010,0x010a,0x0001
+#define writeSYSChannelConfigurationRequestSurround2LtRt_1 0xcc20,0x0010,0x010a,0x0002
+#define wroteSYSChannelConfigurationRequestSurround2Mono_1 0xcc20,0x0010,0x010a,0x0003
+#define writeSYSChannelConfigurationRequestSurround3_1 0xcc20,0x0010,0x010b,0x0000
+#define writeSYSChannelConfigurationRequestSurround4_1 0xcc20,0x0010,0x010c,0x0000
+#define writeSYSChannelConfigurationRequestNone_2 0xcc20,0x0010,0x0201,0x0000
+#define writeSYSChannelConfigurationRequestMono_2 0xcc20,0x0010,0x0202,0x0000
+#define writeSYSChannelConfigurationRequestPhantom0_2 0xcc20,0x0010,0x0203,0x0000
+#define writeSYSChannelConfigurationRequestPhantom0Stereo_2 0xcc20,0x0010,0x0203,0x0001
+#define writeSYSChannelConfigurationRequestPhantom0LtRt_2 0xcc20,0x0010,0x0203,0x0002
+#define writeSYSChannelConfigurationRequestPhantom0Mono_2 0xcc20,0x0010,0x0203,0x0003
+#define wroteSYSChannelConfigurationRequestPhantom0Dual_2 0xcc20,0x0010,0x0203,0x0004
+#define writeSYSChannelConfigurationRequestPhantom1_2 0xcc20,0x0010,0x0204,0x0000
+#define writeSYSChannelConfigurationRequestPhantom2_2 0xcc20,0x0010,0x0205,0x0000
+#define wroteSYSChannelConfigurationRequestPhantom2Stereo_2 0xcc20,0x0010,0x0205,0x0001
+#define writeSYSChannelConfigurationRequestPhantom2LtRt_2 0xcc20,0x0010,0x0205,0x0002
+#define wroteSYSChannelConfigurationRequestPhantom2Mono_2 0xcc20,0x0010,0x0205,0x0003
+#define writeSYSChannelConfigurationRequestPhantom3_2 0xcc20,0x0010,0x0206,0x0000
+#define writeSYSChannelConfigurationRequestPhantom4_2 0xcc20,0x0010,0x0207,0x0000
+#define writeSYSChannelConfigurationRequestSurround0_2 0xcc20,0x0010,0x0208,0x0000
+#define writeSYSChannelConfigurationRequestSurround1_2 0xcc20,0x0010,0x0209,0x0000
+#define writeSYSChannelConfigurationRequestSurround2_2 0xcc20,0x0010,0x020a,0x0000
+#define wroteSYSChannelConfigurationRequestSurround2Stereo_2 0xcc20,0x0010,0x020a,0x0001
+#define writeSYSChannelConfigurationRequestSurround2LtRt_2 0xcc20,0x0010,0x020a,0x0002
+#define wroteSYSChannelConfigurationRequestSurround2Mono_2 0xcc20,0x0010,0x020a,0x0003
+#define writeSYSChannelConfigurationRequestSurround3_2 0xcc20,0x0010,0x020b,0x0000
+#define writeSYSChannelConfigurationRequestSurround4_2 0xcc20,0x0010,0x020c,0x0000
+#define writeSYSChannelConfigurationRequestNoneLwRw 0xcc20,0x0010,0x0001,0x0100
+#define writeSYSChannelConfigurationRequestNoneLhRh 0xcc20,0x0010,0x0001,0x0400
+#define writeSYSChannelConfigurationRequestNoneLwRwLhRh 0xcc20,0x0010,0x0001,0x0500
+#define writeSYSChannelConfigurationRequestMonoLwRw 0xcc20,0x0010,0x0002,0x0100
+#define writeSYSChannelConfigurationRequestMonoLhRh 0xcc20,0x0010,0x0002,0x0400
+#define writeSYSChannelConfigurationRequestMonoLwRwLhRh 0xcc20,0x0010,0x0002,0x0500
+#define writeSYSChannelConfigurationRequestStereoLwRw 0xcc20,0x0010,0x0003,0x0100
+#define writeSYSChannelConfigurationRequestStereoLhRh 0xcc20,0x0010,0x0003,0x0400
+#define writeSYSChannelConfigurationRequestStereoLwRwLhRh 0xcc20,0x0010,0x0003,0x0500
+#define writeSYSChannelConfigurationRequestStereoLwRwLtRt 0xcc20,0x0010,0x0003,0x0102
+#define writeSYSChannelConfigurationRequestStereoLhRhLtRt 0xcc20,0x0010,0x0003,0x0402
+#define writeSYSChannelConfigurationRequestStereoLwRwLhRhLtRt 0xcc20,0x0010,0x0003,0x0502
+#define writeSYSChannelConfigurationRequestStereoLwRwMono 0xcc20,0x0010,0x0003,0x0103
+#define writeSYSChannelConfigurationRequestStereoLhRhMono 0xcc20,0x0010,0x0003,0x0403
+#define writeSYSChannelConfigurationRequestStereoLwRwLhRhMono 0xcc20,0x0010,0x0003,0x0503
+#define writeSYSChannelConfigurationRequest3StereoLwRw 0xcc20,0x0010,0x0108,0x0100
+#define writeSYSChannelConfigurationRequest3StereoLhRh 0xcc20,0x0010,0x0108,0x0400
+#define writeSYSChannelConfigurationRequest3StereoLwRwLhRh 0xcc20,0x0010,0x0108,0x0500
+#define writeSYSChannelConfigurationRequestPhantomLwRw 0xcc20,0x0010,0x0105,0x0100
+#define writeSYSChannelConfigurationRequestPhantomLhRh 0xcc20,0x0010,0x0105,0x0400
+#define writeSYSChannelConfigurationRequestPhantomLwRwLhRh 0xcc20,0x0010,0x0105,0x0500
+#define writeSYSChannelConfigurationRequestSurroundLwRw 0xcc20,0x0010,0x010a,0x0100
+#define writeSYSChannelConfigurationRequestSurroundLhRh 0xcc20,0x0010,0x010a,0x0400
+#define writeSYSChannelConfigurationRequestSurroundLwRwLhRh 0xcc20,0x0010,0x010a,0x0500
+#define writeSYSChannelConfigurationRequestPhantom0LwRwStereo_0 0xcc20,0x0010,0x0003,0x0101
+#define writeSYSChannelConfigurationRequestPhantom0LhRhStereo_0 0xcc20,0x0010,0x0003,0x0401
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhStereo_0 0xcc20,0x0010,0x0003,0x0501
+#define writeSYSChannelConfigurationRequestPhantom0LwRwDual_0 0xcc20,0x0010,0x0003,0x0104
+#define writeSYSChannelConfigurationRequestPhantom0LhRhDual_0 0xcc20,0x0010,0x0003,0x0404
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhDual_0 0xcc20,0x0010,0x0003,0x0504
+#define writeSYSChannelConfigurationRequestPhantom1LwRw_0 0xcc20,0x0010,0x0004,0x0100
+#define writeSYSChannelConfigurationRequestPhantom1LhRh_0 0xcc20,0x0010,0x0004,0x0400
+#define writeSYSChannelConfigurationRequestPhantom1LwRwLhRh_0 0xcc20,0x0010,0x0004,0x0500
+#define writeSYSChannelConfigurationRequestPhantom2LwRw_0 0xcc20,0x0010,0x0005,0x0100
+#define writeSYSChannelConfigurationRequestPhantom2LhRh_0 0xcc20,0x0010,0x0005,0x0400
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRh_0 0xcc20,0x0010,0x0005,0x0500
+#define writeSYSChannelConfigurationRequestPhantom2LwRwStereo_0 0xcc20,0x0010,0x0005,0x0101
+#define writeSYSChannelConfigurationRequestPhantom2LhRhStereo_0 0xcc20,0x0010,0x0005,0x0401
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhStereo_0 0xcc20,0x0010,0x0005,0x0501
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLtRt_0 0xcc20,0x0010,0x0005,0x0102
+#define writeSYSChannelConfigurationRequestPhantom2LhRhLtRt_0 0xcc20,0x0010,0x0005,0x0402
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhLtRt_0 0xcc20,0x0010,0x0005,0x0502
+#define writeSYSChannelConfigurationRequestPhantom2LwRwMono_0 0xcc20,0x0010,0x0005,0x0103
+#define writeSYSChannelConfigurationRequestPhantom2LhRhMono_0 0xcc20,0x0010,0x0005,0x0403
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhMono_0 0xcc20,0x0010,0x0005,0x0503
+#define writeSYSChannelConfigurationRequestPhantom3LwRw_0 0xcc20,0x0010,0x0006,0x0100
+#define writeSYSChannelConfigurationRequestPhantom3LhRh_0 0xcc20,0x0010,0x0006,0x0400
+#define writeSYSChannelConfigurationRequestPhantom3LwRwLhRh_0 0xcc20,0x0010,0x0006,0x0500
+#define writeSYSChannelConfigurationRequestPhantom4LwRw_0 0xcc20,0x0010,0x0007,0x0100
+#define writeSYSChannelConfigurationRequestPhantom4LhRh_0 0xcc20,0x0010,0x0007,0x0400
+#define writeSYSChannelConfigurationRequestPhantom4LwRwLhRh_0 0xcc20,0x0010,0x0007,0x0500
+#define writeSYSChannelConfigurationRequestSurround0LwRw_0 0xcc20,0x0010,0x0008,0x0100
+#define writeSYSChannelConfigurationRequestSurround0LhRh_0 0xcc20,0x0010,0x0008,0x0400
+#define writeSYSChannelConfigurationRequestSurround0LwRwLhRh_0 0xcc20,0x0010,0x0008,0x0500
+#define writeSYSChannelConfigurationRequestSurround1LwRw_0 0xcc20,0x0010,0x0009,0x0100
+#define writeSYSChannelConfigurationRequestSurround1LhRh_0 0xcc20,0x0010,0x0009,0x0400
+#define writeSYSChannelConfigurationRequestSurround1LwRwLhRh_0 0xcc20,0x0010,0x0009,0x0500
+#define writeSYSChannelConfigurationRequestSurround2LwRw_0 0xcc20,0x0010,0x000a,0x0100
+#define writeSYSChannelConfigurationRequestSurround2LhRh_0 0xcc20,0x0010,0x000a,0x0400
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRh_0 0xcc20,0x0010,0x000a,0x0500
+#define writeSYSChannelConfigurationRequestSurround2LwRwStereo_0 0xcc20,0x0010,0x000a,0x0101
+#define writeSYSChannelConfigurationRequestSurround2LhRhStereo_0 0xcc20,0x0010,0x000a,0x0401
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhStereo_0 0xcc20,0x0010,0x000a,0x0501
+#define writeSYSChannelConfigurationRequestSurround2LwRwLtRt_0 0xcc20,0x0010,0x000a,0x0102
+#define writeSYSChannelConfigurationRequestSurround2LhRhLtRt_0 0xcc20,0x0010,0x000a,0x0402
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhLtRt_0 0xcc20,0x0010,0x000a,0x0502
+#define writeSYSChannelConfigurationRequestSurround2LwRwMono_0 0xcc20,0x0010,0x000a,0x0103
+#define writeSYSChannelConfigurationRequestSurround2LhRhMono_0 0xcc20,0x0010,0x000a,0x0403
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhMono_0 0xcc20,0x0010,0x000a,0x0503
+#define writeSYSChannelConfigurationRequestSurround3LwRw_0 0xcc20,0x0010,0x000b,0x0100
+#define writeSYSChannelConfigurationRequestSurround3LhRh_0 0xcc20,0x0010,0x000b,0x0400
+#define writeSYSChannelConfigurationRequestSurround3LwRwLhRh_0 0xcc20,0x0010,0x000b,0x0500
+#define writeSYSChannelConfigurationRequestSurround4LwRw_0 0xcc20,0x0010,0x000c,0x0100
+#define writeSYSChannelConfigurationRequestSurround4LhRh_0 0xcc20,0x0010,0x000c,0x0400
+#define writeSYSChannelConfigurationRequestSurround4LwRwLhRh_0 0xcc20,0x0010,0x000c,0x0500
+#define writeSYSChannelConfigurationRequestNoneLwRw_1 0xcc20,0x0010,0x0101,0x0100
+#define writeSYSChannelConfigurationRequestNoneLhRh_1 0xcc20,0x0010,0x0101,0x0400
+#define writeSYSChannelConfigurationRequestNoneLwRwLhRh_1 0xcc20,0x0010,0x0101,0x0500
+#define writeSYSChannelConfigurationRequestMonoLwRw_1 0xcc20,0x0010,0x0102,0x0100
+#define writeSYSChannelConfigurationRequestMonoLhRh_1 0xcc20,0x0010,0x0102,0x0400
+#define writeSYSChannelConfigurationRequestMonoLwRwLhRh_1 0xcc20,0x0010,0x0102,0x0500
+#define writeSYSChannelConfigurationRequestPhantom0LwRw_1 0xcc20,0x0010,0x0103,0x0100
+#define writeSYSChannelConfigurationRequestPhantom0LhRh_1 0xcc20,0x0010,0x0103,0x0400
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRh_1 0xcc20,0x0010,0x0103,0x0500
+#define writeSYSChannelConfigurationRequestPhantom0LwRwStereo_1 0xcc20,0x0010,0x0103,0x0101
+#define writeSYSChannelConfigurationRequestPhantom0LhRhStereo_1 0xcc20,0x0010,0x0103,0x0401
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhStereo_1 0xcc20,0x0010,0x0103,0x0501
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLtRt_1 0xcc20,0x0010,0x0103,0x0102
+#define writeSYSChannelConfigurationRequestPhantom0LhRhLtRt_1 0xcc20,0x0010,0x0103,0x0402
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhLtRt_1 0xcc20,0x0010,0x0103,0x0502
+#define writeSYSChannelConfigurationRequestPhantom0LwRwMono_1 0xcc20,0x0010,0x0103,0x0103
+#define writeSYSChannelConfigurationRequestPhantom0LhRhMono_1 0xcc20,0x0010,0x0103,0x0403
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhMono_1 0xcc20,0x0010,0x0103,0x0503
+#define writeSYSChannelConfigurationRequestPhantom0LwRwDual_1 0xcc20,0x0010,0x0103,0x0104
+#define writeSYSChannelConfigurationRequestPhantom0LhRhDual_1 0xcc20,0x0010,0x0103,0x0404
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhDual_1 0xcc20,0x0010,0x0103,0x0504
+#define writeSYSChannelConfigurationRequestPhantom1LwRw_1 0xcc20,0x0010,0x0104,0x0100
+#define writeSYSChannelConfigurationRequestPhantom1LhRh_1 0xcc20,0x0010,0x0104,0x0400
+#define writeSYSChannelConfigurationRequestPhantom1LwRwLhRh_1 0xcc20,0x0010,0x0104,0x0500
+#define writeSYSChannelConfigurationRequestPhantom2LwRwStereo_1 0xcc20,0x0010,0x0105,0x0101
+#define writeSYSChannelConfigurationRequestPhantom2LhRhStereo_1 0xcc20,0x0010,0x0105,0x0401
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhStereo_1 0xcc20,0x0010,0x0105,0x0501
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLtRt_1 0xcc20,0x0010,0x0105,0x0102
+#define writeSYSChannelConfigurationRequestPhantom2LhRhLtRt_1 0xcc20,0x0010,0x0105,0x0402
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhLtRt_1 0xcc20,0x0010,0x0105,0x0502
+#define writeSYSChannelConfigurationRequestPhantom2LwRwMono_1 0xcc20,0x0010,0x0105,0x0103
+#define writeSYSChannelConfigurationRequestPhantom2LhRhMono_1 0xcc20,0x0010,0x0105,0x0403
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhMono_1 0xcc20,0x0010,0x0105,0x0503
+#define writeSYSChannelConfigurationRequestPhantom3LwRw_1 0xcc20,0x0010,0x0106,0x0100
+#define writeSYSChannelConfigurationRequestPhantom3LhRh_1 0xcc20,0x0010,0x0106,0x0400
+#define writeSYSChannelConfigurationRequestPhantom3LwRwLhRh_1 0xcc20,0x0010,0x0106,0x0500
+#define writeSYSChannelConfigurationRequestPhantom4LwRw_1 0xcc20,0x0010,0x0107,0x0100
+#define writeSYSChannelConfigurationRequestPhantom4LhRh_1 0xcc20,0x0010,0x0107,0x0400
+#define writeSYSChannelConfigurationRequestPhantom4LwRwLhRh_1 0xcc20,0x0010,0x0107,0x0500
+#define writeSYSChannelConfigurationRequestSurround1LwRw_1 0xcc20,0x0010,0x0109,0x0100
+#define writeSYSChannelConfigurationRequestSurround1LhRh_1 0xcc20,0x0010,0x0109,0x0400
+#define writeSYSChannelConfigurationRequestSurround1LwRwLhRh_1 0xcc20,0x0010,0x0109,0x0500
+#define writeSYSChannelConfigurationRequestSurround2LwRwStereo_1 0xcc20,0x0010,0x010a,0x0101
+#define writeSYSChannelConfigurationRequestSurround2LhRhStereo_1 0xcc20,0x0010,0x010a,0x0401
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhStereo_1 0xcc20,0x0010,0x010a,0x0501
+#define writeSYSChannelConfigurationRequestSurround2LwRwLtRt_1 0xcc20,0x0010,0x010a,0x0102
+#define writeSYSChannelConfigurationRequestSurround2LhRhLtRt_1 0xcc20,0x0010,0x010a,0x0402
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhLtRt_1 0xcc20,0x0010,0x010a,0x0502
+#define writeSYSChannelConfigurationRequestSurround2LwRwMono_1 0xcc20,0x0010,0x010a,0x0103
+#define writeSYSChannelConfigurationRequestSurround2LhRhMono_1 0xcc20,0x0010,0x010a,0x0403
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhMono_1 0xcc20,0x0010,0x010a,0x0503
+#define writeSYSChannelConfigurationRequestSurround3LwRw_1 0xcc20,0x0010,0x010b,0x0100
+#define writeSYSChannelConfigurationRequestSurround3LhRh_1 0xcc20,0x0010,0x010b,0x0400
+#define writeSYSChannelConfigurationRequestSurround3LwRwLhRh_1 0xcc20,0x0010,0x010b,0x0500
+#define writeSYSChannelConfigurationRequestSurround4LwRw_1 0xcc20,0x0010,0x010c,0x0100
+#define writeSYSChannelConfigurationRequestSurround4LhRh_1 0xcc20,0x0010,0x010c,0x0400
+#define writeSYSChannelConfigurationRequestSurround4LwRwLhRh_1 0xcc20,0x0010,0x010c,0x0500
+#define writeSYSChannelConfigurationRequestNoneLwRw_2 0xcc20,0x0010,0x0201,0x0100
+#define writeSYSChannelConfigurationRequestNoneLhRh_2 0xcc20,0x0010,0x0201,0x0400
+#define writeSYSChannelConfigurationRequestNoneLwRwLhRh_2 0xcc20,0x0010,0x0201,0x0500
+#define writeSYSChannelConfigurationRequestMonoLwRw_2 0xcc20,0x0010,0x0202,0x0100
+#define writeSYSChannelConfigurationRequestMonoLhRh_2 0xcc20,0x0010,0x0202,0x0400
+#define writeSYSChannelConfigurationRequestMonoLwRwLhRh_2 0xcc20,0x0010,0x0202,0x0500
+#define writeSYSChannelConfigurationRequestPhantom0LwRw_2 0xcc20,0x0010,0x0203,0x0100
+#define writeSYSChannelConfigurationRequestPhantom0LhRh_2 0xcc20,0x0010,0x0203,0x0400
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRh_2 0xcc20,0x0010,0x0203,0x0500
+#define writeSYSChannelConfigurationRequestPhantom0LwRwStereo_2 0xcc20,0x0010,0x0203,0x0101
+#define writeSYSChannelConfigurationRequestPhantom0LhRhStereo_2 0xcc20,0x0010,0x0203,0x0401
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhStereo_2 0xcc20,0x0010,0x0203,0x0501
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLtRt_2 0xcc20,0x0010,0x0203,0x0102
+#define writeSYSChannelConfigurationRequestPhantom0LhRhLtRt_2 0xcc20,0x0010,0x0203,0x0402
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhLtRt_2 0xcc20,0x0010,0x0203,0x0502
+#define writeSYSChannelConfigurationRequestPhantom0LwRwMono_2 0xcc20,0x0010,0x0203,0x0103
+#define writeSYSChannelConfigurationRequestPhantom0LhRhMono_2 0xcc20,0x0010,0x0203,0x0403
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhMono_2 0xcc20,0x0010,0x0203,0x0503
+#define writeSYSChannelConfigurationRequestPhantom0LwRwDual_2 0xcc20,0x0010,0x0203,0x0104
+#define writeSYSChannelConfigurationRequestPhantom0LhRhDual_2 0xcc20,0x0010,0x0203,0x0404
+#define writeSYSChannelConfigurationRequestPhantom0LwRwLhRhDual_2 0xcc20,0x0010,0x0203,0x0504
+#define writeSYSChannelConfigurationRequestPhantom1LwRw_2 0xcc20,0x0010,0x0204,0x0100
+#define writeSYSChannelConfigurationRequestPhantom1LhRh_2 0xcc20,0x0010,0x0204,0x0400
+#define writeSYSChannelConfigurationRequestPhantom1LwRwLhRh_2 0xcc20,0x0010,0x0204,0x0500
+#define writeSYSChannelConfigurationRequestPhantom2LwRw_2 0xcc20,0x0010,0x0205,0x0100
+#define writeSYSChannelConfigurationRequestPhantom2LhRh_2 0xcc20,0x0010,0x0205,0x0400
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRh_2 0xcc20,0x0010,0x0205,0x0500
+#define writeSYSChannelConfigurationRequestPhantom2LwRwStereo_2 0xcc20,0x0010,0x0205,0x0101
+#define writeSYSChannelConfigurationRequestPhantom2LhRhStereo_2 0xcc20,0x0010,0x0205,0x0401
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhStereo_2 0xcc20,0x0010,0x0205,0x0501
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLtRt_2 0xcc20,0x0010,0x0205,0x0102
+#define writeSYSChannelConfigurationRequestPhantom2LhRhLtRt_2 0xcc20,0x0010,0x0205,0x0402
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhLtRt_2 0xcc20,0x0010,0x0205,0x0502
+#define writeSYSChannelConfigurationRequestPhantom2LwRwMono_2 0xcc20,0x0010,0x0205,0x0103
+#define writeSYSChannelConfigurationRequestPhantom2LhRhMono_2 0xcc20,0x0010,0x0205,0x0403
+#define writeSYSChannelConfigurationRequestPhantom2LwRwLhRhMono_2 0xcc20,0x0010,0x0205,0x0503
+#define writeSYSChannelConfigurationRequestPhantom3LwRw_2 0xcc20,0x0010,0x0206,0x0100
+#define writeSYSChannelConfigurationRequestPhantom3LhRh_2 0xcc20,0x0010,0x0206,0x0400
+#define writeSYSChannelConfigurationRequestPhantom3LwRwLhRh_2 0xcc20,0x0010,0x0206,0x0500
+#define writeSYSChannelConfigurationRequestPhantom4LwRw_2 0xcc20,0x0010,0x0207,0x0100
+#define writeSYSChannelConfigurationRequestPhantom4LhRh_2 0xcc20,0x0010,0x0207,0x0400
+#define writeSYSChannelConfigurationRequestPhantom4LwRwLhRh_2 0xcc20,0x0010,0x0207,0x0500
+#define writeSYSChannelConfigurationRequestSurround0LwRw_2 0xcc20,0x0010,0x0208,0x0100
+#define writeSYSChannelConfigurationRequestSurround0LhRh_2 0xcc20,0x0010,0x0208,0x0400
+#define writeSYSChannelConfigurationRequestSurround0LwRwLhRh_2 0xcc20,0x0010,0x0208,0x0500
+#define writeSYSChannelConfigurationRequestSurround1LwRw_2 0xcc20,0x0010,0x0209,0x0100
+#define writeSYSChannelConfigurationRequestSurround1LhRh_2 0xcc20,0x0010,0x0209,0x0400
+#define writeSYSChannelConfigurationRequestSurround1LwRwLhRh_2 0xcc20,0x0010,0x0209,0x0500
+#define writeSYSChannelConfigurationRequestSurround2LwRw_2 0xcc20,0x0010,0x020a,0x0100
+#define writeSYSChannelConfigurationRequestSurround2LhRh_2 0xcc20,0x0010,0x020a,0x0400
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRh_2 0xcc20,0x0010,0x020a,0x0500
+#define writeSYSChannelConfigurationRequestSurround2LwRwStereo_2 0xcc20,0x0010,0x020a,0x0101
+#define writeSYSChannelConfigurationRequestSurround2LhRhStereo_2 0xcc20,0x0010,0x020a,0x0401
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhStereo_2 0xcc20,0x0010,0x020a,0x0501
+#define writeSYSChannelConfigurationRequestSurround2LwRwLtRt_2 0xcc20,0x0010,0x020a,0x0102
+#define writeSYSChannelConfigurationRequestSurround2LhRhLtRt_2 0xcc20,0x0010,0x020a,0x0402
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhLtRt_2 0xcc20,0x0010,0x020a,0x0502
+#define writeSYSChannelConfigurationRequestSurround2LwRwMono_2 0xcc20,0x0010,0x020a,0x0103
+#define writeSYSChannelConfigurationRequestSurround2LhRhMono_2 0xcc20,0x0010,0x020a,0x0403
+#define writeSYSChannelConfigurationRequestSurround2LwRwLhRhMono_2 0xcc20,0x0010,0x020a,0x0503
+#define writeSYSChannelConfigurationRequestSurround3LwRw_2 0xcc20,0x0010,0x020b,0x0100
+#define writeSYSChannelConfigurationRequestSurround3LhRh_2 0xcc20,0x0010,0x020b,0x0400
+#define writeSYSChannelConfigurationRequestSurround3LwRwLhRh_2 0xcc20,0x0010,0x020b,0x0500
+#define writeSYSChannelConfigurationRequestSurround4LwRw_2 0xcc20,0x0010,0x020c,0x0100
+#define writeSYSChannelConfigurationRequestSurround4LhRh_2 0xcc20,0x0010,0x020c,0x0400
+#define writeSYSChannelConfigurationRequestSurround4LwRwLhRh_2 0xcc20,0x0010,0x020c,0x0500
+#define readSYSChannelConfigurationRequestExtChan 0xc220,0x1300
+#define writeSYSChannelConfigurationRequestExtChanNone 0xca20,0x1300
+#define writeSYSChannelConfigurationRequestExtChanLhRh 0xca20,0x1304
+#define writeSYSChannelConfigurationRequestExtChanLwRw 0xca20,0x1301
+#define writeSYSChannelConfigurationRequestExtChanLhRhLwRw 0xca20,0x1305
+#define writeSYSChannelConfigurationRequestAuxUnknown 0xca20,0x1200
+#define writeSYSChannelConfigurationRequestAuxStereo 0xca20,0x1201
+#define writeSYSChannelConfigurationRequestAuxLtRt 0xca20,0x1202
+#define writeSYSChannelConfigurationRequestAuxMono 0xca20,0x1203
+#define writeSYSChannelConfigurationRequestAuxDual 0xca20,0x1204
+#define readSYSCpuLoad 0xc220,0x1500
+#define readSYSCpuLoadQ8 0xc320,0x0014
+#define readSYSPeakCpuLoad 0xc220,0x1700
+#define readSYSPeakCpuLoadQ8 0xc320,0x0016
+#define writeSYSPeakCpuLoadClear 0xcb20,0x0016,0x0000
+#define readSYSStatus 0xc508,0x0020
+#define readSYSControl 0xc220,0x0400,0xc220,0x0600,0xc220,0x0700,0xc220,0x0800,0xc220,0x0900,0xc220,0x0a00,0xc220,0x0b00,0xc220,0x0c00,0xc420,0x0010,0xc220,0x0d00,0xc220,0x0e00
+#define readACPStatIRAMSize 0xcdf0,0x0000,0xc805,0x0d00
+#define readACPStatIRAMUsed 0xcdf0,0x0000,0xc805,0x0d01
+#define readACPStatIRAMLength 0xcdf0,0x0000,0xc805,0x0d02
+#define readACPStatIRAMFree 0xcdf0,0x0000,0xc805,0x0d03
+#define readACPStatSDRAMSize 0xcdf0,0x0001,0xc805,0x0d00
+#define readACPStatSDRAMUsed 0xcdf0,0x0001,0xc805,0x0d01
+#define readACPStatSDRAMLength 0xcdf0,0x0001,0xc805,0x0d02
+#define readACPStatSDRAMFree 0xcdf0,0x0001,0xc805,0x0d03
+#define readACPStatL3RAMSize 0xcdf0,0x0002,0xc805,0x0d00
+#define readACPStatL3RAMUsed 0xcdf0,0x0002,0xc805,0x0d01
+#define readACPStatL3RAMLength 0xcdf0,0x0002,0xc805,0x0d02
+#define readACPStatL3RAMFree 0xcdf0,0x0002,0xc805,0x0d03
+#define readIBMode 0xc222,0x0400
+#define readIBSampleRateOverride 0xc222,0x0800
+#define writeIBSampleRateOverrideUnknown 0xca22,0x0800
+#define writeIBSampleRateOverrideNone 0xca22,0x0801
+#define writeIBSampleRateOverride32000Hz 0xca22,0x0802
+#define writeIBSampleRateOverride44100Hz 0xca22,0x0803
+#define writeIBSampleRateOverride48000Hz 0xca22,0x0804
+#define writeIBSampleRateOverride88200Hz 0xca22,0x0805
+#define writeIBSampleRateOverride96000Hz 0xca22,0x0806
+#define writeIBSampleRateOverride192000Hz 0xca22,0x0807
+#define writeIBSampleRateOverride64000Hz 0xca22,0x0808
+#define writeIBSampleRateOverride128000Hz 0xca22,0x0809
+#define writeIBSampleRateOverride176400Hz 0xca22,0x080a
+#define writeIBSampleRateOverride8000Hz 0xca22,0x080b
+#define writeIBSampleRateOverride11025Hz 0xca22,0x080c
+#define writeIBSampleRateOverride12000Hz 0xca22,0x080d
+#define writeIBSampleRateOverride16000Hz 0xca22,0x080e
+#define writeIBSampleRateOverride22050Hz 0xca22,0x080f
+#define writeIBSampleRateOverride24000Hz 0xca22,0x0810
+#define writeIBSampleRateOverrideStandard 0xca22,0x0880
+#define writeIBSampleRateOverrideData 0xca22,0x0881
+#define writeIBSampleRateOverrideMeasured 0xca22,0x0882
+#define writeIBSampleRateOverrideAuto 0xca22,0x0883
+#define writeIBSampleRateOverrideOther 0xca22,0x0884
+#define readIBSampleRateData 0xc222,0x0900
+#define wroteIBSampleRateDataUnknown 0xca22,0x0900
+#define wroteIBSampleRateDataNone 0xca22,0x0901
+#define wroteIBSampleRateData32000Hz 0xca22,0x0902
+#define wroteIBSampleRateData44100Hz 0xca22,0x0903
+#define wroteIBSampleRateData48000Hz 0xca22,0x0904
+#define wroteIBSampleRateData88200Hz 0xca22,0x0905
+#define wroteIBSampleRateData96000Hz 0xca22,0x0906
+#define wroteIBSampleRateData192000Hz 0xca22,0x0907
+#define wroteIBSampleRateData64000Hz 0xca22,0x0908
+#define wroteIBSampleRateData128000Hz 0xca22,0x0909
+#define wroteIBSampleRateData176400Hz 0xca22,0x090a
+#define wroteIBSampleRateData8000Hz 0xca22,0x090b
+#define wroteIBSampleRateData11025Hz 0xca22,0x090c
+#define wroteIBSampleRateData12000Hz 0xca22,0x090d
+#define wroteIBSampleRateData16000Hz 0xca22,0x090e
+#define wroteIBSampleRateData22050Hz 0xca22,0x090f
+#define wroteIBSampleRateData24000Hz 0xca22,0x0910
+#define readIBSampleRateMeasured 0xc222,0x0a00
+#define wroteIBSampleRateMeasuredUnknown 0xca22,0x0a00
+#define wroteIBSampleRateMeasuredNone 0xca22,0x0a01
+#define wroteIBSampleRateMeasured32000Hz 0xca22,0x0a02
+#define wroteIBSampleRateMeasured44100Hz 0xca22,0x0a03
+#define wroteIBSampleRateMeasured48000Hz 0xca22,0x0a04
+#define wroteIBSampleRateMeasured88200Hz 0xca22,0x0a05
+#define wroteIBSampleRateMeasured96000Hz 0xca22,0x0a06
+#define wroteIBSampleRateMeasured192000Hz 0xca22,0x0a07
+#define wroteIBSampleRateMeasured64000Hz 0xca22,0x0a08
+#define wroteIBSampleRateMeasured128000Hz 0xca22,0x0a09
+#define wroteIBSampleRateMeasured176400Hz 0xca22,0x0a0a
+#define wroteIBSampleRateMeasured8000Hz 0xca22,0x0a0b
+#define wroteIBSampleRateMeasured11025Hz 0xca22,0x0a0c
+#define wroteIBSampleRateMeasured12000Hz 0xca22,0x0a0d
+#define wroteIBSampleRateMeasured16000Hz 0xca22,0x0a0e
+#define wroteIBSampleRateMeasured22050Hz 0xca22,0x0a0f
+#define wroteIBSampleRateMeasured24000Hz 0xca22,0x0a10
+#define readIBSampleRateStatus 0xc222,0x0b00
+#define wroteIBSampleRateStatusUnknown 0xca22,0x0b00
+#define wroteIBSampleRateStatusNone 0xca22,0x0b01
+#define wroteIBSampleRateStatus32000Hz 0xca22,0x0b02
+#define wroteIBSampleRateStatus44100Hz 0xca22,0x0b03
+#define wroteIBSampleRateStatus48000Hz 0xca22,0x0b04
+#define wroteIBSampleRateStatus88200Hz 0xca22,0x0b05
+#define wroteIBSampleRateStatus96000Hz 0xca22,0x0b06
+#define wroteIBSampleRateStatus192000Hz 0xca22,0x0b07
+#define wroteIBSampleRateStatus64000Hz 0xca22,0x0b08
+#define wroteIBSampleRateStatus128000Hz 0xca22,0x0b09
+#define wroteIBSampleRateStatus176400Hz 0xca22,0x0b0a
+#define wroteIBSampleRateStatus8000Hz 0xca22,0x0b0b
+#define wroteIBSampleRateStatus11025Hz 0xca22,0x0b0c
+#define wroteIBSampleRateStatus12000Hz 0xca22,0x0b0d
+#define wroteIBSampleRateStatus16000Hz 0xca22,0x0b0e
+#define wroteIBSampleRateStatus22050Hz 0xca22,0x0b0f
+#define wroteIBSampleRateStatus24000Hz 0xca22,0x0b10
+#define readIBNonAudio 0xc222,0x0c00
+#define readIBEmphasisData 0xc222,0x0d00
+#define wroteIBEmphasisDataUnknown 0xca22,0x0d00
+#define wroteIBEmphasisDataNo 0xca22,0x0d01
+#define wroteIBEmphasisDataYes 0xca22,0x0d02
+#define readIBEmphasisOverride 0xc222,0x0e00
+#define writeIBEmphasisOverrideDisable 0xca22,0x0e00
+#define writeIBEmphasisOverrideNo 0xca22,0x0e81
+#define writeIBEmphasisOverrideYes 0xca22,0x0e82
+#define readIBEmphasisStatus 0xc222,0x0f00
+#define wroteIBEmphasisStatusNo 0xca22,0x0f01
+#define wroteIBEmphasisStatusYes 0xca22,0x0f02
+#define readIBLock 0xc222,0x1000
+#define wroteIBLockNo 0xca22,0x1000
+#define wroteIBLockYes 0xca22,0x1001
+#define readIBLockOverride 0xc222,0x0600
+#define writeIBLockOverrideNo 0xca22,0x0600
+#define writeIBLockOverrideYes 0xca22,0x0601
+#define writeIBLockOverrideNone 0xca22,0x0680
+#define readIBStatus 0xc508,0x0022
+#define readIBControl 0xc222,0x0400,0xc222,0x0800,0xc222,0x0e00
+#define writeIBModeN(0) 0xca22,0x0400
+#define writeIBModeN(1) 0xca22,0x0401
+#define readIBSioSelect 0xc222,0x0500
+#define readIBPrecisionDefault 0xc222,0x1400
+#define writeIBPrecisionDefaultOriginal 0xca22,0x1410
+#define writeIBPrecisionDefaultStandard 0xca22,0x1414
+#define writeIBPrecisionDefaultFull 0xca22,0x1418
+#define readIBPrecisionDetect 0xc222,0x1500
+#define wroteIBPrecisionDetectInvalid 0xca22,0x15fe
+#define wroteIBPrecisionDetectTBD 0xca22,0x15ff
+#define wroteIBPrecisionDetectNone 0xca22,0x1500
+#define wroteIBPrecisionDetect16 0xca22,0x1510
+#define wroteIBPrecisionDetect17 0xca22,0x1511
+#define wroteIBPrecisionDetect18 0xca22,0x1512
+#define wroteIBPrecisionDetect19 0xca22,0x1513
+#define wroteIBPrecisionDetect20 0xca22,0x1514
+#define wroteIBPrecisionDetect21 0xca22,0x1515
+#define wroteIBPrecisionDetect22 0xca22,0x1516
+#define wroteIBPrecisionDetect23 0xca22,0x1517
+#define wroteIBPrecisionDetect24 0xca22,0x1518
+#define readIBPrecisionOverride 0xc222,0x1600
+#define writeIBPrecisionOverrideDefault 0xca22,0x16ff
+#define writeIBPrecisionOverrideDetect 0xca22,0x1600
+#define writeIBPrecisionOverride16 0xca22,0x1610
+#define writeIBPrecisionOverride17 0xca22,0x1611
+#define writeIBPrecisionOverride18 0xca22,0x1612
+#define writeIBPrecisionOverride19 0xca22,0x1613
+#define writeIBPrecisionOverride20 0xca22,0x1614
+#define writeIBPrecisionOverride21 0xca22,0x1615
+#define writeIBPrecisionOverride22 0xca22,0x1616
+#define writeIBPrecisionOverride23 0xca22,0x1617
+#define writeIBPrecisionOverride24 0xca22,0x1618
+#define writeIBPrecisionOverrideFloat 0xca22,0x1621
+#define readIBPrecisionInput 0xc222,0x1700
+#define wroteIBPrecisionInputBitStream 0xca22,0x1700
+#define wroteIBPrecisionInput16 0xca22,0x1710
+#define wroteIBPrecisionInput17 0xca22,0x1711
+#define wroteIBPrecisionInput18 0xca22,0x1712
+#define wroteIBPrecisionInput19 0xca22,0x1713
+#define wroteIBPrecisionInput20 0xca22,0x1714
+#define wroteIBPrecisionInput21 0xca22,0x1715
+#define wroteIBPrecisionInput22 0xca22,0x1716
+#define wroteIBPrecisionInput23 0xca22,0x1717
+#define wroteIBPrecisionInput24 0xca22,0x1718
+#define readIBZeroRunTrigger 0xc422,0x0018
+#define readIBZeroRunRestart 0xc422,0x001c
+#define readIBUnknownTimeout 0xc422,0x0020
+#define readIBScanAtHighSampleRateMode 0xc222,0x1100
+#define writeIBScanAtHighSampleRateModeDisable 0xca22,0x1100
+#define writeIBScanAtHighSampleRateModeEnable 0xca22,0x1101
+#define readIBZeroRun 0xc222,0x1200
+#define wroteIBZeroRunNo 0xca22,0x1200
+#define wroteIBZeroRunYes 0xca22,0x1201
+#define readIBRateTrackMode 0xc222,0x1300
+#define writeIBRateTrackDisable 0xca22,0x1300
+#define writeIBRateTrackEnable 0xca22,0x1301
+#define readIBreportDTS16AsDTSForLargeSampleRate 0xc222,0x2900
+#define writeIBreportDTS16AsDTSForLargeSampleRateDisable 0xca22,0x2900
+#define writeIBreportDTS16AsDTSForLargeSampleRateEnable 0xca22,0x2901
+#define readIBuseIECSubType 0xc222,0x2a00
+#define writeIBuseIECSubTypeDisable 0xca22,0x2a00
+#define writeIBuseIECSubTypeEnable 0xca22,0x2a01
+#define readIBLastFrameMask 0xc422,0x0024
+#define readDECMode 0xc224,0x0400
+#define readDECCommand 0xc224,0x0500
+#define readDECSampleRate 0xc224,0x0800
+#define readDECSourceSelect 0xc224,0x0900
+#define readDECSourceProgram 0xc224,0x0a00
+#define readDECSourceDecode 0xc224,0x0b00
+#define readDECSourceDual 0xc224,0x0c00
+#define readDECSourceKaraoke 0xc224,0x0d00
+#define readDECASPGearControl 0xc224,0x0e00
+#define readDECASPGearStatus 0xc224,0x0f00
+#define readDECChannelConfigurationRequest 0xc424,0x0010
+#define readDECChannelConfigurationRequestAux 0xc224,0x1200
+#define readDECChannelConfigurationProgram 0xc424,0x0014
+#define readDECChannelConfigurationDecode 0xc424,0x0018
+#define readDECChannelConfigurationDownmix 0xc424,0x001c
+#define readDECProgramFormat 0xc424,0x0020
+#define readDECFrameCount 0xc424,0x0024
+#define readDECKaraokeCapableUserQ6 0xc624,0x2806
+#define readDECKaraokeCapableUserVocal1LevelQ6 0xc224,0x2800
+#define readDECKaraokeCapableUserVocal1PanQ6 0xc224,0x2900
+#define readDECKaraokeCapableUserVocal2LevelQ6 0xc224,0x2a00
+#define readDECKaraokeCapableUserVocal2PanQ6 0xc224,0x2b00
+#define readDECKaraokeCapableUserMelodyLevelQ6 0xc224,0x2c00
+#define readDECKaraokeCapableUserMelodyPanQ6 0xc224,0x2d00
+#define readDECBypass 0xc224,0x2e00
+#define writeDECBypassEnable 0xca24,0x2e01
+#define writeDECBypassDisable 0xca24,0x2e00
+#define writeDECModeDisable 0xca24,0x0400
+#define writeDECModeEnable 0xca24,0x0401
+#define writeDECModeContinuous 0xca24,0x0402
+#define writeDECCommandNone 0xca24,0x0500
+#define writeDECCommandAbort 0xca24,0x0501
+#define writeDECCommandRestart 0xca24,0x0502
+#define wroteDECCommandNoned 0xca24,0x0580
+#define wroteDECCommandAborted 0xca24,0x0581
+#define wroteDECCommandRestarted 0xca24,0x0582
+#define writeDECSourceSelectUnknown 0xca24,0x0900
+#define writeDECSourceSelectNone 0xca24,0x0901
+#define writeDECSourceSelectPass 0xca24,0x0902
+#define writeDECSourceSelectSing 0xca24,0x0903
+#define writeDECSourceSelectAuto 0xca24,0x0904
+#define writeDECSourceSelectBitStream 0xca24,0x0905
+#define writeDECSourceSelectDTSAll 0xca24,0x0906
+#define writeDECSourceSelectPCMAuto 0xca24,0x0907
+#define writeDECSourceSelectPCM 0xca24,0x0908
+#define writeDECSourceSelectPC8 0xca24,0x0909
+#define writeDECSourceSelectAC3 0xca24,0x090a
+#define writeDECSourceSelectDTS 0xca24,0x090b
+#define writeDECSourceSelectAAC 0xca24,0x090c
+#define writeDECSourceSelectMPEG 0xca24,0x090d
+#define writeDECSourceSelectDTS12 0xca24,0x090e
+#define writeDECSourceSelectDTS13 0xca24,0x090f
+#define writeDECSourceSelectDTS14 0xca24,0x0910
+#define writeDECSourceSelectDTS16 0xca24,0x0911
+#define writeDECSourceSelectWMP 0xca24,0x0912
+#define writeDECSourceSelectMP3 0xca24,0x0913
+#define writeDECSourceSelectDSD1 0xca24,0x0914
+#define writeDECSourceSelectDSD2 0xca24,0x0915
+#define writeDECSourceSelectDSD3 0xca24,0x0916
+#define writeDECSourceSelectDDP 0xca24,0x0917
+#define writeDECSourceSelectDTSHD 0xca24,0x0918
+#define writeDECSourceSelectTHD 0xca24,0x0919
+#define writeDECSourceSelectDXP 0xca24,0x091a
+#define writeDECSourceSelectWMA 0xca24,0x091b
+#define writeDECSourceDualStereo 0xca24,0x0c00
+#define writeDECSourceDualMono1 0xca24,0x0c01
+#define writeDECSourceDualMono2 0xca24,0x0c02
+#define writeDECSourceDualMonoMix 0xca24,0x0c03
+#define writeDECSourceKaraokeAware 0xca24,0x0dff
+#define writeDECSourceKaraokeCapableUser 0xca24,0x0d00
+#define writeDECSourceKaraokeCapableNone 0xca24,0x0d01
+#define writeDECSourceKaraokeCapableLeft 0xca24,0x0d02
+#define writeDECSourceKaraokeCapableRght 0xca24,0x0d03
+#define writeDECSourceKaraokeCapableBoth 0xca24,0x0d04
+#define writeDECASPGearControlAll 0xca24,0x0e00
+#define writeDECASPGearControlNil 0xca24,0x0e01
+#define writeDECASPGearControlStd 0xca24,0x0e02
+#define writeDECASPGearControlCus 0xca24,0x0e03
+#define wroteDECASPGearStatusAll 0xca24,0x0f00
+#define wroteDECASPGearStatusNil 0xca24,0x0f01
+#define wroteDECASPGearStatusStd 0xca24,0x0f02
+#define wroteDECASPGearStatusCus 0xca24,0x0f03
+#define writeDECChannelConfigurationRequestUnknown 0xcc24,0x0010,0x0000,0x0000
+#define writeDECChannelConfigurationRequestNone 0xcc24,0x0010,0x0001,0x0000
+#define writeDECChannelConfigurationRequestMono 0xcc24,0x0010,0x0002,0x0000
+#define writeDECChannelConfigurationRequestStereo 0xcc24,0x0010,0x0003,0x0000
+#define writeDECChannelConfigurationRequestStereoLtRt 0xcc24,0x0010,0x0003,0x0002
+#define writeDECChannelConfigurationRequestStereoMono 0xcc24,0x0010,0x0003,0x0003
+#define writeDECChannelConfigurationRequest3Stereo 0xcc24,0x0010,0x0108,0x0000
+#define writeDECChannelConfigurationRequestPhantom 0xcc24,0x0010,0x0105,0x0000
+#define writeDECChannelConfigurationRequestSurround 0xcc24,0x0010,0x010a,0x0000
+#define writeDECChannelConfigurationRequestPhantom0Stereo_0 0xcc24,0x0010,0x0003,0x0001
+#define wroteDECChannelConfigurationRequestPhantom0Dual_0 0xcc24,0x0010,0x0003,0x0004
+#define writeDECChannelConfigurationRequestPhantom1_0 0xcc24,0x0010,0x0004,0x0000
+#define writeDECChannelConfigurationRequestPhantom2_0 0xcc24,0x0010,0x0005,0x0000
+#define wroteDECChannelConfigurationRequestPhantom2Stereo_0 0xcc24,0x0010,0x0005,0x0001
+#define writeDECChannelConfigurationRequestPhantom2LtRt_0 0xcc24,0x0010,0x0005,0x0002
+#define wroteDECChannelConfigurationRequestPhantom2Mono_0 0xcc24,0x0010,0x0005,0x0003
+#define writeDECChannelConfigurationRequestPhantom3_0 0xcc24,0x0010,0x0006,0x0000
+#define writeDECChannelConfigurationRequestPhantom4_0 0xcc24,0x0010,0x0007,0x0000
+#define writeDECChannelConfigurationRequestSurround0_0 0xcc24,0x0010,0x0008,0x0000
+#define writeDECChannelConfigurationRequestSurround1_0 0xcc24,0x0010,0x0009,0x0000
+#define writeDECChannelConfigurationRequestSurround2_0 0xcc24,0x0010,0x000a,0x0000
+#define wroteDECChannelConfigurationRequestSurround2Stereo_0 0xcc24,0x0010,0x000a,0x0001
+#define writeDECChannelConfigurationRequestSurround2LtRt_0 0xcc24,0x0010,0x000a,0x0002
+#define wroteDECChannelConfigurationRequestSurround2Mono_0 0xcc24,0x0010,0x000a,0x0003
+#define writeDECChannelConfigurationRequestSurround3_0 0xcc24,0x0010,0x000b,0x0000
+#define writeDECChannelConfigurationRequestSurround4_0 0xcc24,0x0010,0x000c,0x0000
+#define writeDECChannelConfigurationRequestNone_1 0xcc24,0x0010,0x0101,0x0000
+#define writeDECChannelConfigurationRequestMono_1 0xcc24,0x0010,0x0102,0x0000
+#define writeDECChannelConfigurationRequestPhantom0_1 0xcc24,0x0010,0x0103,0x0000
+#define writeDECChannelConfigurationRequestPhantom0Stereo_1 0xcc24,0x0010,0x0103,0x0001
+#define writeDECChannelConfigurationRequestPhantom0LtRt_1 0xcc24,0x0010,0x0103,0x0002
+#define writeDECChannelConfigurationRequestPhantom0Mono_1 0xcc24,0x0010,0x0103,0x0003
+#define wroteDECChannelConfigurationRequestPhantom0Dual_1 0xcc24,0x0010,0x0103,0x0004
+#define writeDECChannelConfigurationRequestPhantom1_1 0xcc24,0x0010,0x0104,0x0000
+#define wroteDECChannelConfigurationRequestPhantom2Stereo_1 0xcc24,0x0010,0x0105,0x0001
+#define writeDECChannelConfigurationRequestPhantom2LtRt_1 0xcc24,0x0010,0x0105,0x0002
+#define wroteDECChannelConfigurationRequestPhantom2Mono_1 0xcc24,0x0010,0x0105,0x0003
+#define writeDECChannelConfigurationRequestPhantom3_1 0xcc24,0x0010,0x0106,0x0000
+#define writeDECChannelConfigurationRequestPhantom4_1 0xcc24,0x0010,0x0107,0x0000
+#define writeDECChannelConfigurationRequestSurround1_1 0xcc24,0x0010,0x0109,0x0000
+#define wroteDECChannelConfigurationRequestSurround2Stereo_1 0xcc24,0x0010,0x010a,0x0001
+#define writeDECChannelConfigurationRequestSurround2LtRt_1 0xcc24,0x0010,0x010a,0x0002
+#define wroteDECChannelConfigurationRequestSurround2Mono_1 0xcc24,0x0010,0x010a,0x0003
+#define writeDECChannelConfigurationRequestSurround3_1 0xcc24,0x0010,0x010b,0x0000
+#define writeDECChannelConfigurationRequestSurround4_1 0xcc24,0x0010,0x010c,0x0000
+#define writeDECChannelConfigurationRequestNone_2 0xcc24,0x0010,0x0201,0x0000
+#define writeDECChannelConfigurationRequestMono_2 0xcc24,0x0010,0x0202,0x0000
+#define writeDECChannelConfigurationRequestPhantom0_2 0xcc24,0x0010,0x0203,0x0000
+#define writeDECChannelConfigurationRequestPhantom0Stereo_2 0xcc24,0x0010,0x0203,0x0001
+#define writeDECChannelConfigurationRequestPhantom0LtRt_2 0xcc24,0x0010,0x0203,0x0002
+#define writeDECChannelConfigurationRequestPhantom0Mono_2 0xcc24,0x0010,0x0203,0x0003
+#define wroteDECChannelConfigurationRequestPhantom0Dual_2 0xcc24,0x0010,0x0203,0x0004
+#define writeDECChannelConfigurationRequestPhantom1_2 0xcc24,0x0010,0x0204,0x0000
+#define writeDECChannelConfigurationRequestPhantom2_2 0xcc24,0x0010,0x0205,0x0000
+#define wroteDECChannelConfigurationRequestPhantom2Stereo_2 0xcc24,0x0010,0x0205,0x0001
+#define writeDECChannelConfigurationRequestPhantom2LtRt_2 0xcc24,0x0010,0x0205,0x0002
+#define wroteDECChannelConfigurationRequestPhantom2Mono_2 0xcc24,0x0010,0x0205,0x0003
+#define writeDECChannelConfigurationRequestPhantom3_2 0xcc24,0x0010,0x0206,0x0000
+#define writeDECChannelConfigurationRequestPhantom4_2 0xcc24,0x0010,0x0207,0x0000
+#define writeDECChannelConfigurationRequestSurround0_2 0xcc24,0x0010,0x0208,0x0000
+#define writeDECChannelConfigurationRequestSurround1_2 0xcc24,0x0010,0x0209,0x0000
+#define writeDECChannelConfigurationRequestSurround2_2 0xcc24,0x0010,0x020a,0x0000
+#define wroteDECChannelConfigurationRequestSurround2Stereo_2 0xcc24,0x0010,0x020a,0x0001
+#define writeDECChannelConfigurationRequestSurround2LtRt_2 0xcc24,0x0010,0x020a,0x0002
+#define wroteDECChannelConfigurationRequestSurround2Mono_2 0xcc24,0x0010,0x020a,0x0003
+#define writeDECChannelConfigurationRequestSurround3_2 0xcc24,0x0010,0x020b,0x0000
+#define writeDECChannelConfigurationRequestSurround4_2 0xcc24,0x0010,0x020c,0x0000
+#define writeDECChannelConfigurationRequestNoneLwRw 0xcc24,0x0010,0x0001,0x0100
+#define writeDECChannelConfigurationRequestNoneLhRh 0xcc24,0x0010,0x0001,0x0400
+#define writeDECChannelConfigurationRequestNoneLwRwLhRh 0xcc24,0x0010,0x0001,0x0500
+#define writeDECChannelConfigurationRequestMonoLwRw 0xcc24,0x0010,0x0002,0x0100
+#define writeDECChannelConfigurationRequestMonoLhRh 0xcc24,0x0010,0x0002,0x0400
+#define writeDECChannelConfigurationRequestMonoLwRwLhRh 0xcc24,0x0010,0x0002,0x0500
+#define writeDECChannelConfigurationRequestStereoLwRw 0xcc24,0x0010,0x0003,0x0100
+#define writeDECChannelConfigurationRequestStereoLhRh 0xcc24,0x0010,0x0003,0x0400
+#define writeDECChannelConfigurationRequestStereoLwRwLhRh 0xcc24,0x0010,0x0003,0x0500
+#define writeDECChannelConfigurationRequestStereoLwRwLtRt 0xcc24,0x0010,0x0003,0x0102
+#define writeDECChannelConfigurationRequestStereoLhRhLtRt 0xcc24,0x0010,0x0003,0x0402
+#define writeDECChannelConfigurationRequestStereoLwRwLhRhLtRt 0xcc24,0x0010,0x0003,0x0502
+#define writeDECChannelConfigurationRequestStereoLwRwMono 0xcc24,0x0010,0x0003,0x0103
+#define writeDECChannelConfigurationRequestStereoLhRhMono 0xcc24,0x0010,0x0003,0x0403
+#define writeDECChannelConfigurationRequestStereoLwRwLhRhMono 0xcc24,0x0010,0x0003,0x0503
+#define writeDECChannelConfigurationRequest3StereoLwRw 0xcc24,0x0010,0x0108,0x0100
+#define writeDECChannelConfigurationRequest3StereoLhRh 0xcc24,0x0010,0x0108,0x0400
+#define writeDECChannelConfigurationRequest3StereoLwRwLhRh 0xcc24,0x0010,0x0108,0x0500
+#define writeDECChannelConfigurationRequestPhantomLwRw 0xcc24,0x0010,0x0105,0x0100
+#define writeDECChannelConfigurationRequestPhantomLhRh 0xcc24,0x0010,0x0105,0x0400
+#define writeDECChannelConfigurationRequestPhantomLwRwLhRh 0xcc24,0x0010,0x0105,0x0500
+#define writeDECChannelConfigurationRequestSurroundLwRw 0xcc24,0x0010,0x010a,0x0100
+#define writeDECChannelConfigurationRequestSurroundLhRh 0xcc24,0x0010,0x010a,0x0400
+#define writeDECChannelConfigurationRequestSurroundLwRwLhRh 0xcc24,0x0010,0x010a,0x0500
+#define writeDECChannelConfigurationRequestPhantom0LwRwStereo_0 0xcc24,0x0010,0x0003,0x0101
+#define writeDECChannelConfigurationRequestPhantom0LhRhStereo_0 0xcc24,0x0010,0x0003,0x0401
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_0 0xcc24,0x0010,0x0003,0x0501
+#define wroteDECChannelConfigurationRequestPhantom0LwRwDual_0 0xcc24,0x0010,0x0003,0x0104
+#define wroteDECChannelConfigurationRequestPhantom0LhRhDual_0 0xcc24,0x0010,0x0003,0x0404
+#define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_0 0xcc24,0x0010,0x0003,0x0504
+#define writeDECChannelConfigurationRequestPhantom1LwRw_0 0xcc24,0x0010,0x0004,0x0100
+#define writeDECChannelConfigurationRequestPhantom1LhRh_0 0xcc24,0x0010,0x0004,0x0400
+#define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_0 0xcc24,0x0010,0x0004,0x0500
+#define writeDECChannelConfigurationRequestPhantom2LwRw_0 0xcc24,0x0010,0x0005,0x0100
+#define writeDECChannelConfigurationRequestPhantom2LhRh_0 0xcc24,0x0010,0x0005,0x0400
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRh_0 0xcc24,0x0010,0x0005,0x0500
+#define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_0 0xcc24,0x0010,0x0005,0x0101
+#define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_0 0xcc24,0x0010,0x0005,0x0401
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_0 0xcc24,0x0010,0x0005,0x0501
+#define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_0 0xcc24,0x0010,0x0005,0x0102
+#define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_0 0xcc24,0x0010,0x0005,0x0402
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_0 0xcc24,0x0010,0x0005,0x0502
+#define wroteDECChannelConfigurationRequestPhantom2LwRwMono_0 0xcc24,0x0010,0x0005,0x0103
+#define wroteDECChannelConfigurationRequestPhantom2LhRhMono_0 0xcc24,0x0010,0x0005,0x0403
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_0 0xcc24,0x0010,0x0005,0x0503
+#define writeDECChannelConfigurationRequestPhantom3LwRw_0 0xcc24,0x0010,0x0006,0x0100
+#define writeDECChannelConfigurationRequestPhantom3LhRh_0 0xcc24,0x0010,0x0006,0x0400
+#define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_0 0xcc24,0x0010,0x0006,0x0500
+#define writeDECChannelConfigurationRequestPhantom4LwRw_0 0xcc24,0x0010,0x0007,0x0100
+#define writeDECChannelConfigurationRequestPhantom4LhRh_0 0xcc24,0x0010,0x0007,0x0400
+#define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_0 0xcc24,0x0010,0x0007,0x0500
+#define writeDECChannelConfigurationRequestSurround0LwRw_0 0xcc24,0x0010,0x0008,0x0100
+#define writeDECChannelConfigurationRequestSurround0LhRh_0 0xcc24,0x0010,0x0008,0x0400
+#define writeDECChannelConfigurationRequestSurround0LwRwLhRh_0 0xcc24,0x0010,0x0008,0x0500
+#define writeDECChannelConfigurationRequestSurround1LwRw_0 0xcc24,0x0010,0x0009,0x0100
+#define writeDECChannelConfigurationRequestSurround1LhRh_0 0xcc24,0x0010,0x0009,0x0400
+#define writeDECChannelConfigurationRequestSurround1LwRwLhRh_0 0xcc24,0x0010,0x0009,0x0500
+#define writeDECChannelConfigurationRequestSurround2LwRw_0 0xcc24,0x0010,0x000a,0x0100
+#define writeDECChannelConfigurationRequestSurround2LhRh_0 0xcc24,0x0010,0x000a,0x0400
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRh_0 0xcc24,0x0010,0x000a,0x0500
+#define wroteDECChannelConfigurationRequestSurround2LwRwStereo_0 0xcc24,0x0010,0x000a,0x0101
+#define wroteDECChannelConfigurationRequestSurround2LhRhStereo_0 0xcc24,0x0010,0x000a,0x0401
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_0 0xcc24,0x0010,0x000a,0x0501
+#define writeDECChannelConfigurationRequestSurround2LwRwLtRt_0 0xcc24,0x0010,0x000a,0x0102
+#define writeDECChannelConfigurationRequestSurround2LhRhLtRt_0 0xcc24,0x0010,0x000a,0x0402
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_0 0xcc24,0x0010,0x000a,0x0502
+#define wroteDECChannelConfigurationRequestSurround2LwRwMono_0 0xcc24,0x0010,0x000a,0x0103
+#define wroteDECChannelConfigurationRequestSurround2LhRhMono_0 0xcc24,0x0010,0x000a,0x0403
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_0 0xcc24,0x0010,0x000a,0x0503
+#define writeDECChannelConfigurationRequestSurround3LwRw_0 0xcc24,0x0010,0x000b,0x0100
+#define writeDECChannelConfigurationRequestSurround3LhRh_0 0xcc24,0x0010,0x000b,0x0400
+#define writeDECChannelConfigurationRequestSurround3LwRwLhRh_0 0xcc24,0x0010,0x000b,0x0500
+#define writeDECChannelConfigurationRequestSurround4LwRw_0 0xcc24,0x0010,0x000c,0x0100
+#define writeDECChannelConfigurationRequestSurround4LhRh_0 0xcc24,0x0010,0x000c,0x0400
+#define writeDECChannelConfigurationRequestSurround4LwRwLhRh_0 0xcc24,0x0010,0x000c,0x0500
+#define writeDECChannelConfigurationRequestNoneLwRw_1 0xcc24,0x0010,0x0101,0x0100
+#define writeDECChannelConfigurationRequestNoneLhRh_1 0xcc24,0x0010,0x0101,0x0400
+#define writeDECChannelConfigurationRequestNoneLwRwLhRh_1 0xcc24,0x0010,0x0101,0x0500
+#define writeDECChannelConfigurationRequestMonoLwRw_1 0xcc24,0x0010,0x0102,0x0100
+#define writeDECChannelConfigurationRequestMonoLhRh_1 0xcc24,0x0010,0x0102,0x0400
+#define writeDECChannelConfigurationRequestMonoLwRwLhRh_1 0xcc24,0x0010,0x0102,0x0500
+#define writeDECChannelConfigurationRequestPhantom0LwRw_1 0xcc24,0x0010,0x0103,0x0100
+#define writeDECChannelConfigurationRequestPhantom0LhRh_1 0xcc24,0x0010,0x0103,0x0400
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRh_1 0xcc24,0x0010,0x0103,0x0500
+#define writeDECChannelConfigurationRequestPhantom0LwRwStereo_1 0xcc24,0x0010,0x0103,0x0101
+#define writeDECChannelConfigurationRequestPhantom0LhRhStereo_1 0xcc24,0x0010,0x0103,0x0401
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_1 0xcc24,0x0010,0x0103,0x0501
+#define writeDECChannelConfigurationRequestPhantom0LwRwLtRt_1 0xcc24,0x0010,0x0103,0x0102
+#define writeDECChannelConfigurationRequestPhantom0LhRhLtRt_1 0xcc24,0x0010,0x0103,0x0402
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhLtRt_1 0xcc24,0x0010,0x0103,0x0502
+#define writeDECChannelConfigurationRequestPhantom0LwRwMono_1 0xcc24,0x0010,0x0103,0x0103
+#define writeDECChannelConfigurationRequestPhantom0LhRhMono_1 0xcc24,0x0010,0x0103,0x0403
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhMono_1 0xcc24,0x0010,0x0103,0x0503
+#define wroteDECChannelConfigurationRequestPhantom0LwRwDual_1 0xcc24,0x0010,0x0103,0x0104
+#define wroteDECChannelConfigurationRequestPhantom0LhRhDual_1 0xcc24,0x0010,0x0103,0x0404
+#define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_1 0xcc24,0x0010,0x0103,0x0504
+#define writeDECChannelConfigurationRequestPhantom1LwRw_1 0xcc24,0x0010,0x0104,0x0100
+#define writeDECChannelConfigurationRequestPhantom1LhRh_1 0xcc24,0x0010,0x0104,0x0400
+#define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_1 0xcc24,0x0010,0x0104,0x0500
+#define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_1 0xcc24,0x0010,0x0105,0x0101
+#define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_1 0xcc24,0x0010,0x0105,0x0401
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_1 0xcc24,0x0010,0x0105,0x0501
+#define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_1 0xcc24,0x0010,0x0105,0x0102
+#define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_1 0xcc24,0x0010,0x0105,0x0402
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_1 0xcc24,0x0010,0x0105,0x0502
+#define wroteDECChannelConfigurationRequestPhantom2LwRwMono_1 0xcc24,0x0010,0x0105,0x0103
+#define wroteDECChannelConfigurationRequestPhantom2LhRhMono_1 0xcc24,0x0010,0x0105,0x0403
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_1 0xcc24,0x0010,0x0105,0x0503
+#define writeDECChannelConfigurationRequestPhantom3LwRw_1 0xcc24,0x0010,0x0106,0x0100
+#define writeDECChannelConfigurationRequestPhantom3LhRh_1 0xcc24,0x0010,0x0106,0x0400
+#define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_1 0xcc24,0x0010,0x0106,0x0500
+#define writeDECChannelConfigurationRequestPhantom4LwRw_1 0xcc24,0x0010,0x0107,0x0100
+#define writeDECChannelConfigurationRequestPhantom4LhRh_1 0xcc24,0x0010,0x0107,0x0400
+#define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_1 0xcc24,0x0010,0x0107,0x0500
+#define writeDECChannelConfigurationRequestSurround1LwRw_1 0xcc24,0x0010,0x0109,0x0100
+#define writeDECChannelConfigurationRequestSurround1LhRh_1 0xcc24,0x0010,0x0109,0x0400
+#define writeDECChannelConfigurationRequestSurround1LwRwLhRh_1 0xcc24,0x0010,0x0109,0x0500
+#define wroteDECChannelConfigurationRequestSurround2LwRwStereo_1 0xcc24,0x0010,0x010a,0x0101
+#define wroteDECChannelConfigurationRequestSurround2LhRhStereo_1 0xcc24,0x0010,0x010a,0x0401
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_1 0xcc24,0x0010,0x010a,0x0501
+#define writeDECChannelConfigurationRequestSurround2LwRwLtRt_1 0xcc24,0x0010,0x010a,0x0102
+#define writeDECChannelConfigurationRequestSurround2LhRhLtRt_1 0xcc24,0x0010,0x010a,0x0402
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_1 0xcc24,0x0010,0x010a,0x0502
+#define wroteDECChannelConfigurationRequestSurround2LwRwMono_1 0xcc24,0x0010,0x010a,0x0103
+#define wroteDECChannelConfigurationRequestSurround2LhRhMono_1 0xcc24,0x0010,0x010a,0x0403
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_1 0xcc24,0x0010,0x010a,0x0503
+#define writeDECChannelConfigurationRequestSurround3LwRw_1 0xcc24,0x0010,0x010b,0x0100
+#define writeDECChannelConfigurationRequestSurround3LhRh_1 0xcc24,0x0010,0x010b,0x0400
+#define writeDECChannelConfigurationRequestSurround3LwRwLhRh_1 0xcc24,0x0010,0x010b,0x0500
+#define writeDECChannelConfigurationRequestSurround4LwRw_1 0xcc24,0x0010,0x010c,0x0100
+#define writeDECChannelConfigurationRequestSurround4LhRh_1 0xcc24,0x0010,0x010c,0x0400
+#define writeDECChannelConfigurationRequestSurround4LwRwLhRh_1 0xcc24,0x0010,0x010c,0x0500
+#define writeDECChannelConfigurationRequestNoneLwRw_2 0xcc24,0x0010,0x0201,0x0100
+#define writeDECChannelConfigurationRequestNoneLhRh_2 0xcc24,0x0010,0x0201,0x0400
+#define writeDECChannelConfigurationRequestNoneLwRwLhRh_2 0xcc24,0x0010,0x0201,0x0500
+#define writeDECChannelConfigurationRequestMonoLwRw_2 0xcc24,0x0010,0x0202,0x0100
+#define writeDECChannelConfigurationRequestMonoLhRh_2 0xcc24,0x0010,0x0202,0x0400
+#define writeDECChannelConfigurationRequestMonoLwRwLhRh_2 0xcc24,0x0010,0x0202,0x0500
+#define writeDECChannelConfigurationRequestPhantom0LwRw_2 0xcc24,0x0010,0x0203,0x0100
+#define writeDECChannelConfigurationRequestPhantom0LhRh_2 0xcc24,0x0010,0x0203,0x0400
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRh_2 0xcc24,0x0010,0x0203,0x0500
+#define writeDECChannelConfigurationRequestPhantom0LwRwStereo_2 0xcc24,0x0010,0x0203,0x0101
+#define writeDECChannelConfigurationRequestPhantom0LhRhStereo_2 0xcc24,0x0010,0x0203,0x0401
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_2 0xcc24,0x0010,0x0203,0x0501
+#define writeDECChannelConfigurationRequestPhantom0LwRwLtRt_2 0xcc24,0x0010,0x0203,0x0102
+#define writeDECChannelConfigurationRequestPhantom0LhRhLtRt_2 0xcc24,0x0010,0x0203,0x0402
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhLtRt_2 0xcc24,0x0010,0x0203,0x0502
+#define writeDECChannelConfigurationRequestPhantom0LwRwMono_2 0xcc24,0x0010,0x0203,0x0103
+#define writeDECChannelConfigurationRequestPhantom0LhRhMono_2 0xcc24,0x0010,0x0203,0x0403
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhMono_2 0xcc24,0x0010,0x0203,0x0503
+#define wroteDECChannelConfigurationRequestPhantom0LwRwDual_2 0xcc24,0x0010,0x0203,0x0104
+#define wroteDECChannelConfigurationRequestPhantom0LhRhDual_2 0xcc24,0x0010,0x0203,0x0404
+#define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_2 0xcc24,0x0010,0x0203,0x0504
+#define writeDECChannelConfigurationRequestPhantom1LwRw_2 0xcc24,0x0010,0x0204,0x0100
+#define writeDECChannelConfigurationRequestPhantom1LhRh_2 0xcc24,0x0010,0x0204,0x0400
+#define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_2 0xcc24,0x0010,0x0204,0x0500
+#define writeDECChannelConfigurationRequestPhantom2LwRw_2 0xcc24,0x0010,0x0205,0x0100
+#define writeDECChannelConfigurationRequestPhantom2LhRh_2 0xcc24,0x0010,0x0205,0x0400
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRh_2 0xcc24,0x0010,0x0205,0x0500
+#define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_2 0xcc24,0x0010,0x0205,0x0101
+#define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_2 0xcc24,0x0010,0x0205,0x0401
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_2 0xcc24,0x0010,0x0205,0x0501
+#define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_2 0xcc24,0x0010,0x0205,0x0102
+#define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_2 0xcc24,0x0010,0x0205,0x0402
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_2 0xcc24,0x0010,0x0205,0x0502
+#define wroteDECChannelConfigurationRequestPhantom2LwRwMono_2 0xcc24,0x0010,0x0205,0x0103
+#define wroteDECChannelConfigurationRequestPhantom2LhRhMono_2 0xcc24,0x0010,0x0205,0x0403
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_2 0xcc24,0x0010,0x0205,0x0503
+#define writeDECChannelConfigurationRequestPhantom3LwRw_2 0xcc24,0x0010,0x0206,0x0100
+#define writeDECChannelConfigurationRequestPhantom3LhRh_2 0xcc24,0x0010,0x0206,0x0400
+#define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_2 0xcc24,0x0010,0x0206,0x0500
+#define writeDECChannelConfigurationRequestPhantom4LwRw_2 0xcc24,0x0010,0x0207,0x0100
+#define writeDECChannelConfigurationRequestPhantom4LhRh_2 0xcc24,0x0010,0x0207,0x0400
+#define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_2 0xcc24,0x0010,0x0207,0x0500
+#define writeDECChannelConfigurationRequestSurround0LwRw_2 0xcc24,0x0010,0x0208,0x0100
+#define writeDECChannelConfigurationRequestSurround0LhRh_2 0xcc24,0x0010,0x0208,0x0400
+#define writeDECChannelConfigurationRequestSurround0LwRwLhRh_2 0xcc24,0x0010,0x0208,0x0500
+#define writeDECChannelConfigurationRequestSurround1LwRw_2 0xcc24,0x0010,0x0209,0x0100
+#define writeDECChannelConfigurationRequestSurround1LhRh_2 0xcc24,0x0010,0x0209,0x0400
+#define writeDECChannelConfigurationRequestSurround1LwRwLhRh_2 0xcc24,0x0010,0x0209,0x0500
+#define writeDECChannelConfigurationRequestSurround2LwRw_2 0xcc24,0x0010,0x020a,0x0100
+#define writeDECChannelConfigurationRequestSurround2LhRh_2 0xcc24,0x0010,0x020a,0x0400
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRh_2 0xcc24,0x0010,0x020a,0x0500
+#define wroteDECChannelConfigurationRequestSurround2LwRwStereo_2 0xcc24,0x0010,0x020a,0x0101
+#define wroteDECChannelConfigurationRequestSurround2LhRhStereo_2 0xcc24,0x0010,0x020a,0x0401
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_2 0xcc24,0x0010,0x020a,0x0501
+#define writeDECChannelConfigurationRequestSurround2LwRwLtRt_2 0xcc24,0x0010,0x020a,0x0102
+#define writeDECChannelConfigurationRequestSurround2LhRhLtRt_2 0xcc24,0x0010,0x020a,0x0402
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_2 0xcc24,0x0010,0x020a,0x0502
+#define wroteDECChannelConfigurationRequestSurround2LwRwMono_2 0xcc24,0x0010,0x020a,0x0103
+#define wroteDECChannelConfigurationRequestSurround2LhRhMono_2 0xcc24,0x0010,0x020a,0x0403
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_2 0xcc24,0x0010,0x020a,0x0503
+#define writeDECChannelConfigurationRequestSurround3LwRw_2 0xcc24,0x0010,0x020b,0x0100
+#define writeDECChannelConfigurationRequestSurround3LhRh_2 0xcc24,0x0010,0x020b,0x0400
+#define writeDECChannelConfigurationRequestSurround3LwRwLhRh_2 0xcc24,0x0010,0x020b,0x0500
+#define writeDECChannelConfigurationRequestSurround4LwRw_2 0xcc24,0x0010,0x020c,0x0100
+#define writeDECChannelConfigurationRequestSurround4LhRh_2 0xcc24,0x0010,0x020c,0x0400
+#define writeDECChannelConfigurationRequestSurround4LwRwLhRh_2 0xcc24,0x0010,0x020c,0x0500
+#define readDECChannelConfigurationRequestExtChan 0xc224,0x1300
+#define writeDECChannelConfigurationRequestExtChanNone 0xca24,0x1300
+#define writeDECChannelConfigurationRequestExtChanLhRh 0xca24,0x1304
+#define writeDECChannelConfigurationRequestExtChanLwRw 0xca24,0x1301
+#define writeDECChannelConfigurationRequestExtChanLwRwLhRh 0xca24,0x1305
+#define writeDECChannelConfigurationRequestAuxUnknown 0xca24,0x1200
+#define writeDECChannelConfigurationRequestAuxStereo 0xca24,0x1201
+#define writeDECChannelConfigurationRequestAuxLtRt 0xca24,0x1202
+#define writeDECChannelConfigurationRequestAuxMono 0xca24,0x1203
+#define writeDECChannelConfigurationRequestAuxDual 0xca24,0x1204
+#define wroteDECChannelConfigurationProgramUnknown 0xcc24,0x0014,0x0000,0x0000
+#define wroteDECChannelConfigurationProgramNone 0xcc24,0x0014,0x0001,0x0000
+#define wroteDECChannelConfigurationProgramMono 0xcc24,0x0014,0x0002,0x0000
+#define wroteDECChannelConfigurationProgramStereo 0xcc24,0x0014,0x0003,0x0000
+#define wroteDECChannelConfigurationProgramStereoLtRt 0xcc24,0x0014,0x0003,0x0002
+#define wroteDECChannelConfigurationProgramStereoMono 0xcc24,0x0014,0x0003,0x0003
+#define wroteDECChannelConfigurationProgram3Stereo 0xcc24,0x0014,0x0108,0x0000
+#define wroteDECChannelConfigurationProgramPhantom 0xcc24,0x0014,0x0105,0x0000
+#define wroteDECChannelConfigurationProgramSurround 0xcc24,0x0014,0x010a,0x0000
+#define wroteDECChannelConfigurationProgramPhantom0Stereo_0 0xcc24,0x0014,0x0003,0x0001
+#define wroteDECChannelConfigurationProgramPhantom0Dual_0 0xcc24,0x0014,0x0003,0x0004
+#define wroteDECChannelConfigurationProgramPhantom1_0 0xcc24,0x0014,0x0004,0x0000
+#define wroteDECChannelConfigurationProgramPhantom2_0 0xcc24,0x0014,0x0005,0x0000
+#define wroteDECChannelConfigurationProgramPhantom2Stereo_0 0xcc24,0x0014,0x0005,0x0001
+#define wroteDECChannelConfigurationProgramPhantom2LtRt_0 0xcc24,0x0014,0x0005,0x0002
+#define wroteDECChannelConfigurationProgramPhantom2Mono_0 0xcc24,0x0014,0x0005,0x0003
+#define wroteDECChannelConfigurationProgramPhantom3_0 0xcc24,0x0014,0x0006,0x0000
+#define wroteDECChannelConfigurationProgramPhantom4_0 0xcc24,0x0014,0x0007,0x0000
+#define wroteDECChannelConfigurationProgramSurround0_0 0xcc24,0x0014,0x0008,0x0000
+#define wroteDECChannelConfigurationProgramSurround1_0 0xcc24,0x0014,0x0009,0x0000
+#define wroteDECChannelConfigurationProgramSurround2_0 0xcc24,0x0014,0x000a,0x0000
+#define wroteDECChannelConfigurationProgramSurround2Stereo_0 0xcc24,0x0014,0x000a,0x0001
+#define wroteDECChannelConfigurationProgramSurround2LtRt_0 0xcc24,0x0014,0x000a,0x0002
+#define wroteDECChannelConfigurationProgramSurround2Mono_0 0xcc24,0x0014,0x000a,0x0003
+#define wroteDECChannelConfigurationProgramSurround3_0 0xcc24,0x0014,0x000b,0x0000
+#define wroteDECChannelConfigurationProgramSurround4_0 0xcc24,0x0014,0x000c,0x0000
+#define wroteDECChannelConfigurationProgramNone_1 0xcc24,0x0014,0x0101,0x0000
+#define wroteDECChannelConfigurationProgramMono_1 0xcc24,0x0014,0x0102,0x0000
+#define wroteDECChannelConfigurationProgramPhantom0_1 0xcc24,0x0014,0x0103,0x0000
+#define wroteDECChannelConfigurationProgramPhantom0Stereo_1 0xcc24,0x0014,0x0103,0x0001
+#define wroteDECChannelConfigurationProgramPhantom0LtRt_1 0xcc24,0x0014,0x0103,0x0002
+#define wroteDECChannelConfigurationProgramPhantom0Mono_1 0xcc24,0x0014,0x0103,0x0003
+#define wroteDECChannelConfigurationProgramPhantom0Dual_1 0xcc24,0x0014,0x0103,0x0004
+#define wroteDECChannelConfigurationProgramPhantom1_1 0xcc24,0x0014,0x0104,0x0000
+#define wroteDECChannelConfigurationProgramPhantom2Stereo_1 0xcc24,0x0014,0x0105,0x0001
+#define wroteDECChannelConfigurationProgramPhantom2LtRt_1 0xcc24,0x0014,0x0105,0x0002
+#define wroteDECChannelConfigurationProgramPhantom2Mono_1 0xcc24,0x0014,0x0105,0x0003
+#define wroteDECChannelConfigurationProgramPhantom3_1 0xcc24,0x0014,0x0106,0x0000
+#define wroteDECChannelConfigurationProgramPhantom4_1 0xcc24,0x0014,0x0107,0x0000
+#define wroteDECChannelConfigurationProgramSurround1_1 0xcc24,0x0014,0x0109,0x0000
+#define wroteDECChannelConfigurationProgramSurround2Stereo_1 0xcc24,0x0014,0x010a,0x0001
+#define wroteDECChannelConfigurationProgramSurround2LtRt_1 0xcc24,0x0014,0x010a,0x0002
+#define wroteDECChannelConfigurationProgramSurround2Mono_1 0xcc24,0x0014,0x010a,0x0003
+#define wroteDECChannelConfigurationProgramSurround3_1 0xcc24,0x0014,0x010b,0x0000
+#define wroteDECChannelConfigurationProgramSurround4_1 0xcc24,0x0014,0x010c,0x0000
+#define wroteDECChannelConfigurationProgramNoneLwRw 0xcc24,0x0014,0x0001,0x0100
+#define wroteDECChannelConfigurationProgramNoneLhRh 0xcc24,0x0014,0x0001,0x0400
+#define wroteDECChannelConfigurationProgramNoneLwRwLhRh 0xcc24,0x0014,0x0001,0x0500
+#define wroteDECChannelConfigurationProgramMonoLwRw 0xcc24,0x0014,0x0002,0x0100
+#define wroteDECChannelConfigurationProgramMonoLhRh 0xcc24,0x0014,0x0002,0x0400
+#define wroteDECChannelConfigurationProgramMonoLwRwLhRh 0xcc24,0x0014,0x0002,0x0500
+#define wroteDECChannelConfigurationProgramStereoLwRw 0xcc24,0x0014,0x0003,0x0100
+#define wroteDECChannelConfigurationProgramStereoLhRh 0xcc24,0x0014,0x0003,0x0400
+#define wroteDECChannelConfigurationProgramStereoLwRwLhRh 0xcc24,0x0014,0x0003,0x0500
+#define wroteDECChannelConfigurationProgramStereoLwRwLtRt 0xcc24,0x0014,0x0003,0x0102
+#define wroteDECChannelConfigurationProgramStereoLhRhLtRt 0xcc24,0x0014,0x0003,0x0402
+#define wroteDECChannelConfigurationProgramStereoLwRwLhRhLtRt 0xcc24,0x0014,0x0003,0x0502
+#define wroteDECChannelConfigurationProgramStereoLwRwMono 0xcc24,0x0014,0x0003,0x0103
+#define wroteDECChannelConfigurationProgramStereoLhRhMono 0xcc24,0x0014,0x0003,0x0403
+#define wroteDECChannelConfigurationProgramStereoLwRwLhRhMono 0xcc24,0x0014,0x0003,0x0503
+#define wroteDECChannelConfigurationProgram3StereoLwRw 0xcc24,0x0014,0x0108,0x0100
+#define wroteDECChannelConfigurationProgram3StereoLhRh 0xcc24,0x0014,0x0108,0x0400
+#define wroteDECChannelConfigurationProgram3StereoLwRwLhRh 0xcc24,0x0014,0x0108,0x0500
+#define wroteDECChannelConfigurationProgramPhantomLwRw 0xcc24,0x0014,0x0105,0x0100
+#define wroteDECChannelConfigurationProgramPhantomLhRh 0xcc24,0x0014,0x0105,0x0400
+#define wroteDECChannelConfigurationProgramPhantomLwRwLhRh 0xcc24,0x0014,0x0105,0x0500
+#define wroteDECChannelConfigurationProgramSurroundLwRw 0xcc24,0x0014,0x010a,0x0100
+#define wroteDECChannelConfigurationProgramSurroundLhRh 0xcc24,0x0014,0x010a,0x0400
+#define wroteDECChannelConfigurationProgramSurroundLwRwLhRh 0xcc24,0x0014,0x010a,0x0500
+#define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_0 0xcc24,0x0014,0x0003,0x0101
+#define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_0 0xcc24,0x0014,0x0003,0x0401
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_0 0xcc24,0x0014,0x0003,0x0501
+#define wroteDECChannelConfigurationProgramPhantom0LwRwDual_0 0xcc24,0x0014,0x0003,0x0104
+#define wroteDECChannelConfigurationProgramPhantom0LhRhDual_0 0xcc24,0x0014,0x0003,0x0404
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_0 0xcc24,0x0014,0x0003,0x0504
+#define wroteDECChannelConfigurationProgramPhantom1LwRw_0 0xcc24,0x0014,0x0004,0x0100
+#define wroteDECChannelConfigurationProgramPhantom1LhRh_0 0xcc24,0x0014,0x0004,0x0400
+#define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_0 0xcc24,0x0014,0x0004,0x0500
+#define wroteDECChannelConfigurationProgramPhantom2LwRw_0 0xcc24,0x0014,0x0005,0x0100
+#define wroteDECChannelConfigurationProgramPhantom2LhRh_0 0xcc24,0x0014,0x0005,0x0400
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRh_0 0xcc24,0x0014,0x0005,0x0500
+#define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_0 0xcc24,0x0014,0x0005,0x0101
+#define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_0 0xcc24,0x0014,0x0005,0x0401
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_0 0xcc24,0x0014,0x0005,0x0501
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_0 0xcc24,0x0014,0x0005,0x0102
+#define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_0 0xcc24,0x0014,0x0005,0x0402
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_0 0xcc24,0x0014,0x0005,0x0502
+#define wroteDECChannelConfigurationProgramPhantom2LwRwMono_0 0xcc24,0x0014,0x0005,0x0103
+#define wroteDECChannelConfigurationProgramPhantom2LhRhMono_0 0xcc24,0x0014,0x0005,0x0403
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_0 0xcc24,0x0014,0x0005,0x0503
+#define wroteDECChannelConfigurationProgramPhantom3LwRw_0 0xcc24,0x0014,0x0006,0x0100
+#define wroteDECChannelConfigurationProgramPhantom3LhRh_0 0xcc24,0x0014,0x0006,0x0400
+#define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_0 0xcc24,0x0014,0x0006,0x0500
+#define wroteDECChannelConfigurationProgramPhantom4LwRw_0 0xcc24,0x0014,0x0007,0x0100
+#define wroteDECChannelConfigurationProgramPhantom4LhRh_0 0xcc24,0x0014,0x0007,0x0400
+#define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_0 0xcc24,0x0014,0x0007,0x0500
+#define wroteDECChannelConfigurationProgramSurround0LwRw_0 0xcc24,0x0014,0x0008,0x0100
+#define wroteDECChannelConfigurationProgramSurround0LhRh_0 0xcc24,0x0014,0x0008,0x0400
+#define wroteDECChannelConfigurationProgramSurround0LwRwLhRh_0 0xcc24,0x0014,0x0008,0x0500
+#define wroteDECChannelConfigurationProgramSurround1LwRw_0 0xcc24,0x0014,0x0009,0x0100
+#define wroteDECChannelConfigurationProgramSurround1LhRh_0 0xcc24,0x0014,0x0009,0x0400
+#define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_0 0xcc24,0x0014,0x0009,0x0500
+#define wroteDECChannelConfigurationProgramSurround2LwRw_0 0xcc24,0x0014,0x000a,0x0100
+#define wroteDECChannelConfigurationProgramSurround2LhRh_0 0xcc24,0x0014,0x000a,0x0400
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRh_0 0xcc24,0x0014,0x000a,0x0500
+#define wroteDECChannelConfigurationProgramSurround2LwRwStereo_0 0xcc24,0x0014,0x000a,0x0101
+#define wroteDECChannelConfigurationProgramSurround2LhRhStereo_0 0xcc24,0x0014,0x000a,0x0401
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_0 0xcc24,0x0014,0x000a,0x0501
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_0 0xcc24,0x0014,0x000a,0x0102
+#define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_0 0xcc24,0x0014,0x000a,0x0402
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_0 0xcc24,0x0014,0x000a,0x0502
+#define wroteDECChannelConfigurationProgramSurround2LwRwMono_0 0xcc24,0x0014,0x000a,0x0103
+#define wroteDECChannelConfigurationProgramSurround2LhRhMono_0 0xcc24,0x0014,0x000a,0x0403
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_0 0xcc24,0x0014,0x000a,0x0503
+#define wroteDECChannelConfigurationProgramSurround3LwRw_0 0xcc24,0x0014,0x000b,0x0100
+#define wroteDECChannelConfigurationProgramSurround3LhRh_0 0xcc24,0x0014,0x000b,0x0400
+#define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_0 0xcc24,0x0014,0x000b,0x0500
+#define wroteDECChannelConfigurationProgramSurround4LwRw_0 0xcc24,0x0014,0x000c,0x0100
+#define wroteDECChannelConfigurationProgramSurround4LhRh_0 0xcc24,0x0014,0x000c,0x0400
+#define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_0 0xcc24,0x0014,0x000c,0x0500
+#define wroteDECChannelConfigurationProgramNoneLwRw_1 0xcc24,0x0014,0x0101,0x0100
+#define wroteDECChannelConfigurationProgramNoneLhRh_1 0xcc24,0x0014,0x0101,0x0400
+#define wroteDECChannelConfigurationProgramNoneLwRwLhRh_1 0xcc24,0x0014,0x0101,0x0500
+#define wroteDECChannelConfigurationProgramMonoLwRw_1 0xcc24,0x0014,0x0102,0x0100
+#define wroteDECChannelConfigurationProgramMonoLhRh_1 0xcc24,0x0014,0x0102,0x0400
+#define wroteDECChannelConfigurationProgramMonoLwRwLhRh_1 0xcc24,0x0014,0x0102,0x0500
+#define wroteDECChannelConfigurationProgramPhantom0LwRw_1 0xcc24,0x0014,0x0103,0x0100
+#define wroteDECChannelConfigurationProgramPhantom0LhRh_1 0xcc24,0x0014,0x0103,0x0400
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRh_1 0xcc24,0x0014,0x0103,0x0500
+#define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_1 0xcc24,0x0014,0x0103,0x0101
+#define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_1 0xcc24,0x0014,0x0103,0x0401
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_1 0xcc24,0x0014,0x0103,0x0501
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLtRt_1 0xcc24,0x0014,0x0103,0x0102
+#define wroteDECChannelConfigurationProgramPhantom0LhRhLtRt_1 0xcc24,0x0014,0x0103,0x0402
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhLtRt_1 0xcc24,0x0014,0x0103,0x0502
+#define wroteDECChannelConfigurationProgramPhantom0LwRwMono_1 0xcc24,0x0014,0x0103,0x0103
+#define wroteDECChannelConfigurationProgramPhantom0LhRhMono_1 0xcc24,0x0014,0x0103,0x0403
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhMono_1 0xcc24,0x0014,0x0103,0x0503
+#define wroteDECChannelConfigurationProgramPhantom0LwRwDual_1 0xcc24,0x0014,0x0103,0x0104
+#define wroteDECChannelConfigurationProgramPhantom0LhRhDual_1 0xcc24,0x0014,0x0103,0x0404
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_1 0xcc24,0x0014,0x0103,0x0504
+#define wroteDECChannelConfigurationProgramPhantom1LwRw_1 0xcc24,0x0014,0x0104,0x0100
+#define wroteDECChannelConfigurationProgramPhantom1LhRh_1 0xcc24,0x0014,0x0104,0x0400
+#define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_1 0xcc24,0x0014,0x0104,0x0500
+#define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_1 0xcc24,0x0014,0x0105,0x0101
+#define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_1 0xcc24,0x0014,0x0105,0x0401
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_1 0xcc24,0x0014,0x0105,0x0501
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_1 0xcc24,0x0014,0x0105,0x0102
+#define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_1 0xcc24,0x0014,0x0105,0x0402
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_1 0xcc24,0x0014,0x0105,0x0502
+#define wroteDECChannelConfigurationProgramPhantom2LwRwMono_1 0xcc24,0x0014,0x0105,0x0103
+#define wroteDECChannelConfigurationProgramPhantom2LhRhMono_1 0xcc24,0x0014,0x0105,0x0403
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_1 0xcc24,0x0014,0x0105,0x0503
+#define wroteDECChannelConfigurationProgramPhantom3LwRw_1 0xcc24,0x0014,0x0106,0x0100
+#define wroteDECChannelConfigurationProgramPhantom3LhRh_1 0xcc24,0x0014,0x0106,0x0400
+#define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_1 0xcc24,0x0014,0x0106,0x0500
+#define wroteDECChannelConfigurationProgramPhantom4LwRw_1 0xcc24,0x0014,0x0107,0x0100
+#define wroteDECChannelConfigurationProgramPhantom4LhRh_1 0xcc24,0x0014,0x0107,0x0400
+#define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_1 0xcc24,0x0014,0x0107,0x0500
+#define wroteDECChannelConfigurationProgramSurround1LwRw_1 0xcc24,0x0014,0x0109,0x0100
+#define wroteDECChannelConfigurationProgramSurround1LhRh_1 0xcc24,0x0014,0x0109,0x0400
+#define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_1 0xcc24,0x0014,0x0109,0x0500
+#define wroteDECChannelConfigurationProgramSurround2LwRwStereo_1 0xcc24,0x0014,0x010a,0x0101
+#define wroteDECChannelConfigurationProgramSurround2LhRhStereo_1 0xcc24,0x0014,0x010a,0x0401
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_1 0xcc24,0x0014,0x010a,0x0501
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_1 0xcc24,0x0014,0x010a,0x0102
+#define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_1 0xcc24,0x0014,0x010a,0x0402
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_1 0xcc24,0x0014,0x010a,0x0502
+#define wroteDECChannelConfigurationProgramSurround2LwRwMono_1 0xcc24,0x0014,0x010a,0x0103
+#define wroteDECChannelConfigurationProgramSurround2LhRhMono_1 0xcc24,0x0014,0x010a,0x0403
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_1 0xcc24,0x0014,0x010a,0x0503
+#define wroteDECChannelConfigurationProgramSurround3LwRw_1 0xcc24,0x0014,0x010b,0x0100
+#define wroteDECChannelConfigurationProgramSurround3LhRh_1 0xcc24,0x0014,0x010b,0x0400
+#define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_1 0xcc24,0x0014,0x010b,0x0500
+#define wroteDECChannelConfigurationProgramSurround4LwRw_1 0xcc24,0x0014,0x010c,0x0100
+#define wroteDECChannelConfigurationProgramSurround4LhRh_1 0xcc24,0x0014,0x010c,0x0400
+#define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_1 0xcc24,0x0014,0x010c,0x0500
+#define wroteDECChannelConfigurationProgramNoneLwRw_2 0xcc24,0x0014,0x0201,0x0100
+#define wroteDECChannelConfigurationProgramNoneLhRh_2 0xcc24,0x0014,0x0201,0x0400
+#define wroteDECChannelConfigurationProgramNoneLwRwLhRh_2 0xcc24,0x0014,0x0201,0x0500
+#define wroteDECChannelConfigurationProgramMonoLwRw_2 0xcc24,0x0014,0x0202,0x0100
+#define wroteDECChannelConfigurationProgramMonoLhRh_2 0xcc24,0x0014,0x0202,0x0400
+#define wroteDECChannelConfigurationProgramMonoLwRwLhRh_2 0xcc24,0x0014,0x0202,0x0500
+#define wroteDECChannelConfigurationProgramPhantom0LwRw_2 0xcc24,0x0014,0x0203,0x0100
+#define wroteDECChannelConfigurationProgramPhantom0LhRh_2 0xcc24,0x0014,0x0203,0x0400
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRh_2 0xcc24,0x0014,0x0203,0x0500
+#define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_2 0xcc24,0x0014,0x0203,0x0101
+#define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_2 0xcc24,0x0014,0x0203,0x0401
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_2 0xcc24,0x0014,0x0203,0x0501
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLtRt_2 0xcc24,0x0014,0x0203,0x0102
+#define wroteDECChannelConfigurationProgramPhantom0LhRhLtRt_2 0xcc24,0x0014,0x0203,0x0402
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhLtRt_2 0xcc24,0x0014,0x0203,0x0502
+#define wroteDECChannelConfigurationProgramPhantom0LwRwMono_2 0xcc24,0x0014,0x0203,0x0103
+#define wroteDECChannelConfigurationProgramPhantom0LhRhMono_2 0xcc24,0x0014,0x0203,0x0403
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhMono_2 0xcc24,0x0014,0x0203,0x0503
+#define wroteDECChannelConfigurationProgramPhantom0LwRwDual_2 0xcc24,0x0014,0x0203,0x0104
+#define wroteDECChannelConfigurationProgramPhantom0LhRhDual_2 0xcc24,0x0014,0x0203,0x0404
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_2 0xcc24,0x0014,0x0203,0x0504
+#define wroteDECChannelConfigurationProgramPhantom1LwRw_2 0xcc24,0x0014,0x0204,0x0100
+#define wroteDECChannelConfigurationProgramPhantom1LhRh_2 0xcc24,0x0014,0x0204,0x0400
+#define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_2 0xcc24,0x0014,0x0204,0x0500
+#define wroteDECChannelConfigurationProgramPhantom2LwRw_2 0xcc24,0x0014,0x0205,0x0100
+#define wroteDECChannelConfigurationProgramPhantom2LhRh_2 0xcc24,0x0014,0x0205,0x0400
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRh_2 0xcc24,0x0014,0x0205,0x0500
+#define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_2 0xcc24,0x0014,0x0205,0x0101
+#define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_2 0xcc24,0x0014,0x0205,0x0401
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_2 0xcc24,0x0014,0x0205,0x0501
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_2 0xcc24,0x0014,0x0205,0x0102
+#define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_2 0xcc24,0x0014,0x0205,0x0402
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_2 0xcc24,0x0014,0x0205,0x0502
+#define wroteDECChannelConfigurationProgramPhantom2LwRwMono_2 0xcc24,0x0014,0x0205,0x0103
+#define wroteDECChannelConfigurationProgramPhantom2LhRhMono_2 0xcc24,0x0014,0x0205,0x0403
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_2 0xcc24,0x0014,0x0205,0x0503
+#define wroteDECChannelConfigurationProgramPhantom3LwRw_2 0xcc24,0x0014,0x0206,0x0100
+#define wroteDECChannelConfigurationProgramPhantom3LhRh_2 0xcc24,0x0014,0x0206,0x0400
+#define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_2 0xcc24,0x0014,0x0206,0x0500
+#define wroteDECChannelConfigurationProgramPhantom4LwRw_2 0xcc24,0x0014,0x0207,0x0100
+#define wroteDECChannelConfigurationProgramPhantom4LhRh_2 0xcc24,0x0014,0x0207,0x0400
+#define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_2 0xcc24,0x0014,0x0207,0x0500
+#define wroteDECChannelConfigurationProgramSurround0LwRw_2 0xcc24,0x0014,0x0208,0x0100
+#define wroteDECChannelConfigurationProgramSurround0LhRh_2 0xcc24,0x0014,0x0208,0x0400
+#define wroteDECChannelConfigurationProgramSurround0LwRwLhRh_2 0xcc24,0x0014,0x0208,0x0500
+#define wroteDECChannelConfigurationProgramSurround1LwRw_2 0xcc24,0x0014,0x0209,0x0100
+#define wroteDECChannelConfigurationProgramSurround1LhRh_2 0xcc24,0x0014,0x0209,0x0400
+#define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_2 0xcc24,0x0014,0x0209,0x0500
+#define wroteDECChannelConfigurationProgramSurround2LwRw_2 0xcc24,0x0014,0x020a,0x0100
+#define wroteDECChannelConfigurationProgramSurround2LhRh_2 0xcc24,0x0014,0x020a,0x0400
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRh_2 0xcc24,0x0014,0x020a,0x0500
+#define wroteDECChannelConfigurationProgramSurround2LwRwStereo_2 0xcc24,0x0014,0x020a,0x0101
+#define wroteDECChannelConfigurationProgramSurround2LhRhStereo_2 0xcc24,0x0014,0x020a,0x0401
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_2 0xcc24,0x0014,0x020a,0x0501
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_2 0xcc24,0x0014,0x020a,0x0102
+#define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_2 0xcc24,0x0014,0x020a,0x0402
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_2 0xcc24,0x0014,0x020a,0x0502
+#define wroteDECChannelConfigurationProgramSurround2LwRwMono_2 0xcc24,0x0014,0x020a,0x0103
+#define wroteDECChannelConfigurationProgramSurround2LhRhMono_2 0xcc24,0x0014,0x020a,0x0403
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_2 0xcc24,0x0014,0x020a,0x0503
+#define wroteDECChannelConfigurationProgramSurround3LwRw_2 0xcc24,0x0014,0x020b,0x0100
+#define wroteDECChannelConfigurationProgramSurround3LhRh_2 0xcc24,0x0014,0x020b,0x0400
+#define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_2 0xcc24,0x0014,0x020b,0x0500
+#define wroteDECChannelConfigurationProgramSurround4LwRw_2 0xcc24,0x0014,0x020c,0x0100
+#define wroteDECChannelConfigurationProgramSurround4LhRh_2 0xcc24,0x0014,0x020c,0x0400
+#define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_2 0xcc24,0x0014,0x020c,0x0500
+#define readDECChannelConfigurationProgramExtChan 0xc224,0x1700
+#define wroteDECChannelConfigurationProgramExtChanNone 0xca24,0x1700
+#define wroteDECChannelConfigurationProgramExtChanLhRh 0xca24,0x1704
+#define wroteDECChannelConfigurationProgramExtChanLwRw 0xca24,0x1701
+#define wroteDECChannelConfigurationProgramExtChanLwRwLhRh 0xca24,0x1705
+#define wroteDECChannelConfigurationProgramAuxUnknown 0xca24,0x1600
+#define wroteDECChannelConfigurationProgramAuxStereo 0xca24,0x1601
+#define wroteDECChannelConfigurationProgramAuxLtRt 0xca24,0x1602
+#define wroteDECChannelConfigurationProgramAuxMono 0xca24,0x1603
+#define wroteDECChannelConfigurationProgramAuxDual 0xca24,0x1604
+#define wroteDECChannelConfigurationDecodeUnknown 0xcc24,0x0018,0x0000,0x0000
+#define wroteDECChannelConfigurationDecodeNone 0xcc24,0x0018,0x0001,0x0000
+#define wroteDECChannelConfigurationDecodeMono 0xcc24,0x0018,0x0002,0x0000
+#define wroteDECChannelConfigurationDecodeStereo 0xcc24,0x0018,0x0003,0x0000
+#define wroteDECChannelConfigurationDecodeStereoLtRt 0xcc24,0x0018,0x0003,0x0002
+#define wroteDECChannelConfigurationDecodeStereoMono 0xcc24,0x0018,0x0003,0x0003
+#define wroteDECChannelConfigurationDecode3Stereo 0xcc24,0x0018,0x0108,0x0000
+#define wroteDECChannelConfigurationDecodePhantom 0xcc24,0x0018,0x0105,0x0000
+#define wroteDECChannelConfigurationDecodeSurround 0xcc24,0x0018,0x010a,0x0000
+#define wroteDECChannelConfigurationDecodePhantom0Stereo_0 0xcc24,0x0018,0x0003,0x0001
+#define wroteDECChannelConfigurationDecodePhantom0Dual_0 0xcc24,0x0018,0x0003,0x0004
+#define wroteDECChannelConfigurationDecodePhantom1_0 0xcc24,0x0018,0x0004,0x0000
+#define wroteDECChannelConfigurationDecodePhantom2_0 0xcc24,0x0018,0x0005,0x0000
+#define wroteDECChannelConfigurationDecodePhantom2Stereo_0 0xcc24,0x0018,0x0005,0x0001
+#define wroteDECChannelConfigurationDecodePhantom2LtRt_0 0xcc24,0x0018,0x0005,0x0002
+#define wroteDECChannelConfigurationDecodePhantom2Mono_0 0xcc24,0x0018,0x0005,0x0003
+#define wroteDECChannelConfigurationDecodePhantom3_0 0xcc24,0x0018,0x0006,0x0000
+#define wroteDECChannelConfigurationDecodePhantom4_0 0xcc24,0x0018,0x0007,0x0000
+#define wroteDECChannelConfigurationDecodeSurround0_0 0xcc24,0x0018,0x0008,0x0000
+#define wroteDECChannelConfigurationDecodeSurround1_0 0xcc24,0x0018,0x0009,0x0000
+#define wroteDECChannelConfigurationDecodeSurround2_0 0xcc24,0x0018,0x000a,0x0000
+#define wroteDECChannelConfigurationDecodeSurround2Stereo_0 0xcc24,0x0018,0x000a,0x0001
+#define wroteDECChannelConfigurationDecodeSurround2LtRt_0 0xcc24,0x0018,0x000a,0x0002
+#define wroteDECChannelConfigurationDecodeSurround2Mono_0 0xcc24,0x0018,0x000a,0x0003
+#define wroteDECChannelConfigurationDecodeSurround3_0 0xcc24,0x0018,0x000b,0x0000
+#define wroteDECChannelConfigurationDecodeSurround4_0 0xcc24,0x0018,0x000c,0x0000
+#define wroteDECChannelConfigurationDecodeNone_1 0xcc24,0x0018,0x0101,0x0000
+#define wroteDECChannelConfigurationDecodeMono_1 0xcc24,0x0018,0x0102,0x0000
+#define wroteDECChannelConfigurationDecodePhantom0_1 0xcc24,0x0018,0x0103,0x0000
+#define wroteDECChannelConfigurationDecodePhantom0Stereo_1 0xcc24,0x0018,0x0103,0x0001
+#define wroteDECChannelConfigurationDecodePhantom0LtRt_1 0xcc24,0x0018,0x0103,0x0002
+#define wroteDECChannelConfigurationDecodePhantom0Mono_1 0xcc24,0x0018,0x0103,0x0003
+#define wroteDECChannelConfigurationDecodePhantom0Dual_1 0xcc24,0x0018,0x0103,0x0004
+#define wroteDECChannelConfigurationDecodePhantom1_1 0xcc24,0x0018,0x0104,0x0000
+#define wroteDECChannelConfigurationDecodePhantom2Stereo_1 0xcc24,0x0018,0x0105,0x0001
+#define wroteDECChannelConfigurationDecodePhantom2LtRt_1 0xcc24,0x0018,0x0105,0x0002
+#define wroteDECChannelConfigurationDecodePhantom2Mono_1 0xcc24,0x0018,0x0105,0x0003
+#define wroteDECChannelConfigurationDecodePhantom3_1 0xcc24,0x0018,0x0106,0x0000
+#define wroteDECChannelConfigurationDecodePhantom4_1 0xcc24,0x0018,0x0107,0x0000
+#define wroteDECChannelConfigurationDecodeSurround1_1 0xcc24,0x0018,0x0109,0x0000
+#define wroteDECChannelConfigurationDecodeSurround2Stereo_1 0xcc24,0x0018,0x010a,0x0001
+#define wroteDECChannelConfigurationDecodeSurround2LtRt_1 0xcc24,0x0018,0x010a,0x0002
+#define wroteDECChannelConfigurationDecodeSurround2Mono_1 0xcc24,0x0018,0x010a,0x0003
+#define wroteDECChannelConfigurationDecodeSurround3_1 0xcc24,0x0018,0x010b,0x0000
+#define wroteDECChannelConfigurationDecodeSurround4_1 0xcc24,0x0018,0x010c,0x0000
+#define wroteDECChannelConfigurationDecodeNoneLwRw 0xcc24,0x0018,0x0001,0x0100
+#define wroteDECChannelConfigurationDecodeNoneLhRh 0xcc24,0x0018,0x0001,0x0400
+#define wroteDECChannelConfigurationDecodeNoneLwRwLhRh 0xcc24,0x0018,0x0001,0x0500
+#define wroteDECChannelConfigurationDecodeMonoLwRw 0xcc24,0x0018,0x0002,0x0100
+#define wroteDECChannelConfigurationDecodeMonoLhRh 0xcc24,0x0018,0x0002,0x0400
+#define wroteDECChannelConfigurationDecodeMonoLwRwLhRh 0xcc24,0x0018,0x0002,0x0500
+#define wroteDECChannelConfigurationDecodeStereoLwRw 0xcc24,0x0018,0x0003,0x0100
+#define wroteDECChannelConfigurationDecodeStereoLhRh 0xcc24,0x0018,0x0003,0x0400
+#define wroteDECChannelConfigurationDecodeStereoLwRwLhRh 0xcc24,0x0018,0x0003,0x0500
+#define wroteDECChannelConfigurationDecodeStereoLwRwLtRt 0xcc24,0x0018,0x0003,0x0102
+#define wroteDECChannelConfigurationDecodeStereoLhRhLtRt 0xcc24,0x0018,0x0003,0x0402
+#define wroteDECChannelConfigurationDecodeStereoLwRwLhRhLtRt 0xcc24,0x0018,0x0003,0x0502
+#define wroteDECChannelConfigurationDecodeStereoLwRwMono 0xcc24,0x0018,0x0003,0x0103
+#define wroteDECChannelConfigurationDecodeStereoLhRhMono 0xcc24,0x0018,0x0003,0x0403
+#define wroteDECChannelConfigurationDecodeStereoLwRwLhRhMono 0xcc24,0x0018,0x0003,0x0503
+#define wroteDECChannelConfigurationDecode3StereoLwRw 0xcc24,0x0018,0x0108,0x0100
+#define wroteDECChannelConfigurationDecode3StereoLhRh 0xcc24,0x0018,0x0108,0x0400
+#define wroteDECChannelConfigurationDecode3StereoLwRwLhRh 0xcc24,0x0018,0x0108,0x0500
+#define wroteDECChannelConfigurationDecodePhantomLwRw 0xcc24,0x0018,0x0105,0x0100
+#define wroteDECChannelConfigurationDecodePhantomLhRh 0xcc24,0x0018,0x0105,0x0400
+#define wroteDECChannelConfigurationDecodePhantomLwRwLhRh 0xcc24,0x0018,0x0105,0x0500
+#define wroteDECChannelConfigurationDecodeSurroundLwRw 0xcc24,0x0018,0x010a,0x0100
+#define wroteDECChannelConfigurationDecodeSurroundLhRh 0xcc24,0x0018,0x010a,0x0400
+#define wroteDECChannelConfigurationDecodeSurroundLwRwLhRh 0xcc24,0x0018,0x010a,0x0500
+#define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_0 0xcc24,0x0018,0x0003,0x0101
+#define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_0 0xcc24,0x0018,0x0003,0x0401
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_0 0xcc24,0x0018,0x0003,0x0501
+#define wroteDECChannelConfigurationDecodePhantom0LwRwDual_0 0xcc24,0x0018,0x0003,0x0104
+#define wroteDECChannelConfigurationDecodePhantom0LhRhDual_0 0xcc24,0x0018,0x0003,0x0404
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_0 0xcc24,0x0018,0x0003,0x0504
+#define wroteDECChannelConfigurationDecodePhantom1LwRw_0 0xcc24,0x0018,0x0004,0x0100
+#define wroteDECChannelConfigurationDecodePhantom1LhRh_0 0xcc24,0x0018,0x0004,0x0400
+#define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_0 0xcc24,0x0018,0x0004,0x0500
+#define wroteDECChannelConfigurationDecodePhantom2LwRw_0 0xcc24,0x0018,0x0005,0x0100
+#define wroteDECChannelConfigurationDecodePhantom2LhRh_0 0xcc24,0x0018,0x0005,0x0400
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRh_0 0xcc24,0x0018,0x0005,0x0500
+#define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_0 0xcc24,0x0018,0x0005,0x0101
+#define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_0 0xcc24,0x0018,0x0005,0x0401
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_0 0xcc24,0x0018,0x0005,0x0501
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_0 0xcc24,0x0018,0x0005,0x0102
+#define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_0 0xcc24,0x0018,0x0005,0x0402
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_0 0xcc24,0x0018,0x0005,0x0502
+#define wroteDECChannelConfigurationDecodePhantom2LwRwMono_0 0xcc24,0x0018,0x0005,0x0103
+#define wroteDECChannelConfigurationDecodePhantom2LhRhMono_0 0xcc24,0x0018,0x0005,0x0403
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_0 0xcc24,0x0018,0x0005,0x0503
+#define wroteDECChannelConfigurationDecodePhantom3LwRw_0 0xcc24,0x0018,0x0006,0x0100
+#define wroteDECChannelConfigurationDecodePhantom3LhRh_0 0xcc24,0x0018,0x0006,0x0400
+#define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_0 0xcc24,0x0018,0x0006,0x0500
+#define wroteDECChannelConfigurationDecodePhantom4LwRw_0 0xcc24,0x0018,0x0007,0x0100
+#define wroteDECChannelConfigurationDecodePhantom4LhRh_0 0xcc24,0x0018,0x0007,0x0400
+#define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_0 0xcc24,0x0018,0x0007,0x0500
+#define wroteDECChannelConfigurationDecodeSurround0LwRw_0 0xcc24,0x0018,0x0008,0x0100
+#define wroteDECChannelConfigurationDecodeSurround0LhRh_0 0xcc24,0x0018,0x0008,0x0400
+#define wroteDECChannelConfigurationDecodeSurround0LwRwLhRh_0 0xcc24,0x0018,0x0008,0x0500
+#define wroteDECChannelConfigurationDecodeSurround1LwRw_0 0xcc24,0x0018,0x0009,0x0100
+#define wroteDECChannelConfigurationDecodeSurround1LhRh_0 0xcc24,0x0018,0x0009,0x0400
+#define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_0 0xcc24,0x0018,0x0009,0x0500
+#define wroteDECChannelConfigurationDecodeSurround2LwRw_0 0xcc24,0x0018,0x000a,0x0100
+#define wroteDECChannelConfigurationDecodeSurround2LhRh_0 0xcc24,0x0018,0x000a,0x0400
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRh_0 0xcc24,0x0018,0x000a,0x0500
+#define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_0 0xcc24,0x0018,0x000a,0x0101
+#define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_0 0xcc24,0x0018,0x000a,0x0401
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_0 0xcc24,0x0018,0x000a,0x0501
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_0 0xcc24,0x0018,0x000a,0x0102
+#define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_0 0xcc24,0x0018,0x000a,0x0402
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_0 0xcc24,0x0018,0x000a,0x0502
+#define wroteDECChannelConfigurationDecodeSurround2LwRwMono_0 0xcc24,0x0018,0x000a,0x0103
+#define wroteDECChannelConfigurationDecodeSurround2LhRhMono_0 0xcc24,0x0018,0x000a,0x0403
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_0 0xcc24,0x0018,0x000a,0x0503
+#define wroteDECChannelConfigurationDecodeSurround3LwRw_0 0xcc24,0x0018,0x000b,0x0100
+#define wroteDECChannelConfigurationDecodeSurround3LhRh_0 0xcc24,0x0018,0x000b,0x0400
+#define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_0 0xcc24,0x0018,0x000b,0x0500
+#define wroteDECChannelConfigurationDecodeSurround4LwRw_0 0xcc24,0x0018,0x000c,0x0100
+#define wroteDECChannelConfigurationDecodeSurround4LhRh_0 0xcc24,0x0018,0x000c,0x0400
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_0 0xcc24,0x0018,0x000c,0x0500
+#define wroteDECChannelConfigurationDecodeNoneLwRw_1 0xcc24,0x0018,0x0101,0x0100
+#define wroteDECChannelConfigurationDecodeNoneLhRh_1 0xcc24,0x0018,0x0101,0x0400
+#define wroteDECChannelConfigurationDecodeNoneLwRwLhRh_1 0xcc24,0x0018,0x0101,0x0500
+#define wroteDECChannelConfigurationDecodeMonoLwRw_1 0xcc24,0x0018,0x0102,0x0100
+#define wroteDECChannelConfigurationDecodeMonoLhRh_1 0xcc24,0x0018,0x0102,0x0400
+#define wroteDECChannelConfigurationDecodeMonoLwRwLhRh_1 0xcc24,0x0018,0x0102,0x0500
+#define wroteDECChannelConfigurationDecodePhantom0LwRw_1 0xcc24,0x0018,0x0103,0x0100
+#define wroteDECChannelConfigurationDecodePhantom0LhRh_1 0xcc24,0x0018,0x0103,0x0400
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRh_1 0xcc24,0x0018,0x0103,0x0500
+#define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_1 0xcc24,0x0018,0x0103,0x0101
+#define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_1 0xcc24,0x0018,0x0103,0x0401
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_1 0xcc24,0x0018,0x0103,0x0501
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLtRt_1 0xcc24,0x0018,0x0103,0x0102
+#define wroteDECChannelConfigurationDecodePhantom0LhRhLtRt_1 0xcc24,0x0018,0x0103,0x0402
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhLtRt_1 0xcc24,0x0018,0x0103,0x0502
+#define wroteDECChannelConfigurationDecodePhantom0LwRwMono_1 0xcc24,0x0018,0x0103,0x0103
+#define wroteDECChannelConfigurationDecodePhantom0LhRhMono_1 0xcc24,0x0018,0x0103,0x0403
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhMono_1 0xcc24,0x0018,0x0103,0x0503
+#define wroteDECChannelConfigurationDecodePhantom0LwRwDual_1 0xcc24,0x0018,0x0103,0x0104
+#define wroteDECChannelConfigurationDecodePhantom0LhRhDual_1 0xcc24,0x0018,0x0103,0x0404
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_1 0xcc24,0x0018,0x0103,0x0504
+#define wroteDECChannelConfigurationDecodePhantom1LwRw_1 0xcc24,0x0018,0x0104,0x0100
+#define wroteDECChannelConfigurationDecodePhantom1LhRh_1 0xcc24,0x0018,0x0104,0x0400
+#define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_1 0xcc24,0x0018,0x0104,0x0500
+#define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_1 0xcc24,0x0018,0x0105,0x0101
+#define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_1 0xcc24,0x0018,0x0105,0x0401
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_1 0xcc24,0x0018,0x0105,0x0501
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_1 0xcc24,0x0018,0x0105,0x0102
+#define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_1 0xcc24,0x0018,0x0105,0x0402
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_1 0xcc24,0x0018,0x0105,0x0502
+#define wroteDECChannelConfigurationDecodePhantom2LwRwMono_1 0xcc24,0x0018,0x0105,0x0103
+#define wroteDECChannelConfigurationDecodePhantom2LhRhMono_1 0xcc24,0x0018,0x0105,0x0403
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_1 0xcc24,0x0018,0x0105,0x0503
+#define wroteDECChannelConfigurationDecodePhantom3LwRw_1 0xcc24,0x0018,0x0106,0x0100
+#define wroteDECChannelConfigurationDecodePhantom3LhRh_1 0xcc24,0x0018,0x0106,0x0400
+#define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_1 0xcc24,0x0018,0x0106,0x0500
+#define wroteDECChannelConfigurationDecodePhantom4LwRw_1 0xcc24,0x0018,0x0107,0x0100
+#define wroteDECChannelConfigurationDecodePhantom4LhRh_1 0xcc24,0x0018,0x0107,0x0400
+#define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_1 0xcc24,0x0018,0x0107,0x0500
+#define wroteDECChannelConfigurationDecodeSurround1LwRw_1 0xcc24,0x0018,0x0109,0x0100
+#define wroteDECChannelConfigurationDecodeSurround1LhRh_1 0xcc24,0x0018,0x0109,0x0400
+#define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_1 0xcc24,0x0018,0x0109,0x0500
+#define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_1 0xcc24,0x0018,0x010a,0x0101
+#define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_1 0xcc24,0x0018,0x010a,0x0401
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_1 0xcc24,0x0018,0x010a,0x0501
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_1 0xcc24,0x0018,0x010a,0x0102
+#define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_1 0xcc24,0x0018,0x010a,0x0402
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_1 0xcc24,0x0018,0x010a,0x0502
+#define wroteDECChannelConfigurationDecodeSurround2LwRwMono_1 0xcc24,0x0018,0x010a,0x0103
+#define wroteDECChannelConfigurationDecodeSurround2LhRhMono_1 0xcc24,0x0018,0x010a,0x0403
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_1 0xcc24,0x0018,0x010a,0x0503
+#define wroteDECChannelConfigurationDecodeSurround3LwRw_1 0xcc24,0x0018,0x010b,0x0100
+#define wroteDECChannelConfigurationDecodeSurround3LhRh_1 0xcc24,0x0018,0x010b,0x0400
+#define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_1 0xcc24,0x0018,0x010b,0x0500
+#define wroteDECChannelConfigurationDecodeSurround4LwRw_1 0xcc24,0x0018,0x010c,0x0100
+#define wroteDECChannelConfigurationDecodeSurround4LhRh_1 0xcc24,0x0018,0x010c,0x0400
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_1 0xcc24,0x0018,0x010c,0x0500
+#define wroteDECChannelConfigurationDecodeNoneLwRw_2 0xcc24,0x0018,0x0201,0x0100
+#define wroteDECChannelConfigurationDecodeNoneLhRh_2 0xcc24,0x0018,0x0201,0x0400
+#define wroteDECChannelConfigurationDecodeNoneLwRwLhRh_2 0xcc24,0x0018,0x0201,0x0500
+#define wroteDECChannelConfigurationDecodeMonoLwRw_2 0xcc24,0x0018,0x0202,0x0100
+#define wroteDECChannelConfigurationDecodeMonoLhRh_2 0xcc24,0x0018,0x0202,0x0400
+#define wroteDECChannelConfigurationDecodeMonoLwRwLhRh_2 0xcc24,0x0018,0x0202,0x0500
+#define wroteDECChannelConfigurationDecodePhantom0LwRw_2 0xcc24,0x0018,0x0203,0x0100
+#define wroteDECChannelConfigurationDecodePhantom0LhRh_2 0xcc24,0x0018,0x0203,0x0400
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRh_2 0xcc24,0x0018,0x0203,0x0500
+#define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_2 0xcc24,0x0018,0x0203,0x0101
+#define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_2 0xcc24,0x0018,0x0203,0x0401
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_2 0xcc24,0x0018,0x0203,0x0501
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLtRt_2 0xcc24,0x0018,0x0203,0x0102
+#define wroteDECChannelConfigurationDecodePhantom0LhRhLtRt_2 0xcc24,0x0018,0x0203,0x0402
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhLtRt_2 0xcc24,0x0018,0x0203,0x0502
+#define wroteDECChannelConfigurationDecodePhantom0LwRwMono_2 0xcc24,0x0018,0x0203,0x0103
+#define wroteDECChannelConfigurationDecodePhantom0LhRhMono_2 0xcc24,0x0018,0x0203,0x0403
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhMono_2 0xcc24,0x0018,0x0203,0x0503
+#define wroteDECChannelConfigurationDecodePhantom0LwRwDual_2 0xcc24,0x0018,0x0203,0x0104
+#define wroteDECChannelConfigurationDecodePhantom0LhRhDual_2 0xcc24,0x0018,0x0203,0x0404
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_2 0xcc24,0x0018,0x0203,0x0504
+#define wroteDECChannelConfigurationDecodePhantom1LwRw_2 0xcc24,0x0018,0x0204,0x0100
+#define wroteDECChannelConfigurationDecodePhantom1LhRh_2 0xcc24,0x0018,0x0204,0x0400
+#define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_2 0xcc24,0x0018,0x0204,0x0500
+#define wroteDECChannelConfigurationDecodePhantom2LwRw_2 0xcc24,0x0018,0x0205,0x0100
+#define wroteDECChannelConfigurationDecodePhantom2LhRh_2 0xcc24,0x0018,0x0205,0x0400
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRh_2 0xcc24,0x0018,0x0205,0x0500
+#define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_2 0xcc24,0x0018,0x0205,0x0101
+#define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_2 0xcc24,0x0018,0x0205,0x0401
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_2 0xcc24,0x0018,0x0205,0x0501
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_2 0xcc24,0x0018,0x0205,0x0102
+#define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_2 0xcc24,0x0018,0x0205,0x0402
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_2 0xcc24,0x0018,0x0205,0x0502
+#define wroteDECChannelConfigurationDecodePhantom2LwRwMono_2 0xcc24,0x0018,0x0205,0x0103
+#define wroteDECChannelConfigurationDecodePhantom2LhRhMono_2 0xcc24,0x0018,0x0205,0x0403
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_2 0xcc24,0x0018,0x0205,0x0503
+#define wroteDECChannelConfigurationDecodePhantom3LwRw_2 0xcc24,0x0018,0x0206,0x0100
+#define wroteDECChannelConfigurationDecodePhantom3LhRh_2 0xcc24,0x0018,0x0206,0x0400
+#define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_2 0xcc24,0x0018,0x0206,0x0500
+#define wroteDECChannelConfigurationDecodePhantom4LwRw_2 0xcc24,0x0018,0x0207,0x0100
+#define wroteDECChannelConfigurationDecodePhantom4LhRh_2 0xcc24,0x0018,0x0207,0x0400
+#define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_2 0xcc24,0x0018,0x0207,0x0500
+#define wroteDECChannelConfigurationDecodeSurround0LwRw_2 0xcc24,0x0018,0x0208,0x0100
+#define wroteDECChannelConfigurationDecodeSurround0LhRh_2 0xcc24,0x0018,0x0208,0x0400
+#define wroteDECChannelConfigurationDecodeSurround0LwRwLhRh_2 0xcc24,0x0018,0x0208,0x0500
+#define wroteDECChannelConfigurationDecodeSurround1LwRw_2 0xcc24,0x0018,0x0209,0x0100
+#define wroteDECChannelConfigurationDecodeSurround1LhRh_2 0xcc24,0x0018,0x0209,0x0400
+#define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_2 0xcc24,0x0018,0x0209,0x0500
+#define wroteDECChannelConfigurationDecodeSurround2LwRw_2 0xcc24,0x0018,0x020a,0x0100
+#define wroteDECChannelConfigurationDecodeSurround2LhRh_2 0xcc24,0x0018,0x020a,0x0400
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRh_2 0xcc24,0x0018,0x020a,0x0500
+#define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_2 0xcc24,0x0018,0x020a,0x0101
+#define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_2 0xcc24,0x0018,0x020a,0x0401
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_2 0xcc24,0x0018,0x020a,0x0501
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_2 0xcc24,0x0018,0x020a,0x0102
+#define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_2 0xcc24,0x0018,0x020a,0x0402
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_2 0xcc24,0x0018,0x020a,0x0502
+#define wroteDECChannelConfigurationDecodeSurround2LwRwMono_2 0xcc24,0x0018,0x020a,0x0103
+#define wroteDECChannelConfigurationDecodeSurround2LhRhMono_2 0xcc24,0x0018,0x020a,0x0403
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_2 0xcc24,0x0018,0x020a,0x0503
+#define wroteDECChannelConfigurationDecodeSurround3LwRw_2 0xcc24,0x0018,0x020b,0x0100
+#define wroteDECChannelConfigurationDecodeSurround3LhRh_2 0xcc24,0x0018,0x020b,0x0400
+#define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_2 0xcc24,0x0018,0x020b,0x0500
+#define wroteDECChannelConfigurationDecodeSurround4LwRw_2 0xcc24,0x0018,0x020c,0x0100
+#define wroteDECChannelConfigurationDecodeSurround4LhRh_2 0xcc24,0x0018,0x020c,0x0400
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_2 0xcc24,0x0018,0x020c,0x0500
+#define readDECChannelConfigurationDecodeExtChan 0xc224,0x1b00
+#define wroteDECChannelConfigurationDecodeExtChanNone 0xca24,0x1b00
+#define wroteDECChannelConfigurationDecodeExtChanLhRh 0xca24,0x1b04
+#define wroteDECChannelConfigurationDecodeExtChanLwRw 0xca24,0x1b01
+#define wroteDECChannelConfigurationDecodeExtChanLwRwLhRh 0xca24,0x1b05
+#define wroteDECChannelConfigurationDecodeAuxUnknown 0xca24,0x1a00
+#define wroteDECChannelConfigurationDecodeAuxStereo 0xca24,0x1a01
+#define wroteDECChannelConfigurationDecodeAuxLtRt 0xca24,0x1a02
+#define wroteDECChannelConfigurationDecodeAuxMono 0xca24,0x1a03
+#define wroteDECChannelConfigurationDecodeAuxDual 0xca24,0x1a04
+#define wroteDECChannelConfigurationDownmixUnknown 0xcc24,0x001c,0x0000,0x0000
+#define wroteDECChannelConfigurationDownmixNone 0xcc24,0x001c,0x0001,0x0000
+#define wroteDECChannelConfigurationDownmixMono 0xcc24,0x001c,0x0002,0x0000
+#define wroteDECChannelConfigurationDownmixStereo 0xcc24,0x001c,0x0003,0x0000
+#define wroteDECChannelConfigurationDownmixStereoLtRt 0xcc24,0x001c,0x0003,0x0002
+#define wroteDECChannelConfigurationDownmixStereoMono 0xcc24,0x001c,0x0003,0x0003
+#define wroteDECChannelConfigurationDownmix3Stereo 0xcc24,0x001c,0x0108,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom 0xcc24,0x001c,0x0105,0x0000
+#define wroteDECChannelConfigurationDownmixSurround 0xcc24,0x001c,0x010a,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom0Stereo_0 0xcc24,0x001c,0x0003,0x0001
+#define wroteDECChannelConfigurationDownmixPhantom0Dual_0 0xcc24,0x001c,0x0003,0x0004
+#define wroteDECChannelConfigurationDownmixPhantom1_0 0xcc24,0x001c,0x0004,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom2_0 0xcc24,0x001c,0x0005,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom2Stereo_0 0xcc24,0x001c,0x0005,0x0001
+#define wroteDECChannelConfigurationDownmixPhantom2LtRt_0 0xcc24,0x001c,0x0005,0x0002
+#define wroteDECChannelConfigurationDownmixPhantom2Mono_0 0xcc24,0x001c,0x0005,0x0003
+#define wroteDECChannelConfigurationDownmixPhantom3_0 0xcc24,0x001c,0x0006,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom4_0 0xcc24,0x001c,0x0007,0x0000
+#define wroteDECChannelConfigurationDownmixSurround0_0 0xcc24,0x001c,0x0008,0x0000
+#define wroteDECChannelConfigurationDownmixSurround1_0 0xcc24,0x001c,0x0009,0x0000
+#define wroteDECChannelConfigurationDownmixSurround2_0 0xcc24,0x001c,0x000a,0x0000
+#define wroteDECChannelConfigurationDownmixSurround2Stereo_0 0xcc24,0x001c,0x000a,0x0001
+#define wroteDECChannelConfigurationDownmixSurround2LtRt_0 0xcc24,0x001c,0x000a,0x0002
+#define wroteDECChannelConfigurationDownmixSurround2Mono_0 0xcc24,0x001c,0x000a,0x0003
+#define wroteDECChannelConfigurationDownmixSurround3_0 0xcc24,0x001c,0x000b,0x0000
+#define wroteDECChannelConfigurationDownmixSurround4_0 0xcc24,0x001c,0x000c,0x0000
+#define wroteDECChannelConfigurationDownmixNone_1 0xcc24,0x001c,0x0101,0x0000
+#define wroteDECChannelConfigurationDownmixMono_1 0xcc24,0x001c,0x0102,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom0_1 0xcc24,0x001c,0x0103,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom0Stereo_1 0xcc24,0x001c,0x0103,0x0001
+#define wroteDECChannelConfigurationDownmixPhantom0LtRt_1 0xcc24,0x001c,0x0103,0x0002
+#define wroteDECChannelConfigurationDownmixPhantom0Mono_1 0xcc24,0x001c,0x0103,0x0003
+#define wroteDECChannelConfigurationDownmixPhantom0Dual_1 0xcc24,0x001c,0x0103,0x0004
+#define wroteDECChannelConfigurationDownmixPhantom1_1 0xcc24,0x001c,0x0104,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom2Stereo_1 0xcc24,0x001c,0x0105,0x0001
+#define wroteDECChannelConfigurationDownmixPhantom2LtRt_1 0xcc24,0x001c,0x0105,0x0002
+#define wroteDECChannelConfigurationDownmixPhantom2Mono_1 0xcc24,0x001c,0x0105,0x0003
+#define wroteDECChannelConfigurationDownmixPhantom3_1 0xcc24,0x001c,0x0106,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom4_1 0xcc24,0x001c,0x0107,0x0000
+#define wroteDECChannelConfigurationDownmixSurround1_1 0xcc24,0x001c,0x0109,0x0000
+#define wroteDECChannelConfigurationDownmixSurround2Stereo_1 0xcc24,0x001c,0x010a,0x0001
+#define wroteDECChannelConfigurationDownmixSurround2LtRt_1 0xcc24,0x001c,0x010a,0x0002
+#define wroteDECChannelConfigurationDownmixSurround2Mono_1 0xcc24,0x001c,0x010a,0x0003
+#define wroteDECChannelConfigurationDownmixSurround3_1 0xcc24,0x001c,0x010b,0x0000
+#define wroteDECChannelConfigurationDownmixSurround4_1 0xcc24,0x001c,0x010c,0x0000
+#define wroteDECChannelConfigurationDownmixNoneLwRw 0xcc24,0x001c,0x0001,0x0100
+#define wroteDECChannelConfigurationDownmixNoneLhRh 0xcc24,0x001c,0x0001,0x0400
+#define wroteDECChannelConfigurationDownmixNoneLwRwLhRh 0xcc24,0x001c,0x0001,0x0500
+#define wroteDECChannelConfigurationDownmixMonoLwRw 0xcc24,0x001c,0x0002,0x0100
+#define wroteDECChannelConfigurationDownmixMonoLhRh 0xcc24,0x001c,0x0002,0x0400
+#define wroteDECChannelConfigurationDownmixMonoLwRwLhRh 0xcc24,0x001c,0x0002,0x0500
+#define wroteDECChannelConfigurationDownmixStereoLwRw 0xcc24,0x001c,0x0003,0x0100
+#define wroteDECChannelConfigurationDownmixStereoLhRh 0xcc24,0x001c,0x0003,0x0400
+#define wroteDECChannelConfigurationDownmixStereoLwRwLhRh 0xcc24,0x001c,0x0003,0x0500
+#define wroteDECChannelConfigurationDownmixStereoLwRwLtRt 0xcc24,0x001c,0x0003,0x0102
+#define wroteDECChannelConfigurationDownmixStereoLhRhLtRt 0xcc24,0x001c,0x0003,0x0402
+#define wroteDECChannelConfigurationDownmixStereoLwRwLhRhLtRt 0xcc24,0x001c,0x0003,0x0502
+#define wroteDECChannelConfigurationDownmixStereoLwRwMono 0xcc24,0x001c,0x0003,0x0103
+#define wroteDECChannelConfigurationDownmixStereoLhRhMono 0xcc24,0x001c,0x0003,0x0403
+#define wroteDECChannelConfigurationDownmixStereoLwRwLhRhMono 0xcc24,0x001c,0x0003,0x0503
+#define wroteDECChannelConfigurationDownmix3StereoLwRw 0xcc24,0x001c,0x0108,0x0100
+#define wroteDECChannelConfigurationDownmix3StereoLhRh 0xcc24,0x001c,0x0108,0x0400
+#define wroteDECChannelConfigurationDownmix3StereoLwRwLhRh 0xcc24,0x001c,0x0108,0x0500
+#define wroteDECChannelConfigurationDownmixPhantomLwRw 0xcc24,0x001c,0x0105,0x0100
+#define wroteDECChannelConfigurationDownmixPhantomLhRh 0xcc24,0x001c,0x0105,0x0400
+#define wroteDECChannelConfigurationDownmixPhantomLwRwLhRh 0xcc24,0x001c,0x0105,0x0500
+#define wroteDECChannelConfigurationDownmixSurroundLwRw 0xcc24,0x001c,0x010a,0x0100
+#define wroteDECChannelConfigurationDownmixSurroundLhRh 0xcc24,0x001c,0x010a,0x0400
+#define wroteDECChannelConfigurationDownmixSurroundLwRwLhRh 0xcc24,0x001c,0x010a,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_0 0xcc24,0x001c,0x0003,0x0101
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_0 0xcc24,0x001c,0x0003,0x0401
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_0 0xcc24,0x001c,0x0003,0x0501
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_0 0xcc24,0x001c,0x0003,0x0104
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_0 0xcc24,0x001c,0x0003,0x0404
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_0 0xcc24,0x001c,0x0003,0x0504
+#define wroteDECChannelConfigurationDownmixPhantom1LwRw_0 0xcc24,0x001c,0x0004,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom1LhRh_0 0xcc24,0x001c,0x0004,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_0 0xcc24,0x001c,0x0004,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom2LwRw_0 0xcc24,0x001c,0x0005,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom2LhRh_0 0xcc24,0x001c,0x0005,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRh_0 0xcc24,0x001c,0x0005,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_0 0xcc24,0x001c,0x0005,0x0101
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_0 0xcc24,0x001c,0x0005,0x0401
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_0 0xcc24,0x001c,0x0005,0x0501
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_0 0xcc24,0x001c,0x0005,0x0102
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_0 0xcc24,0x001c,0x0005,0x0402
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_0 0xcc24,0x001c,0x0005,0x0502
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_0 0xcc24,0x001c,0x0005,0x0103
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_0 0xcc24,0x001c,0x0005,0x0403
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_0 0xcc24,0x001c,0x0005,0x0503
+#define wroteDECChannelConfigurationDownmixPhantom3LwRw_0 0xcc24,0x001c,0x0006,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom3LhRh_0 0xcc24,0x001c,0x0006,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_0 0xcc24,0x001c,0x0006,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom4LwRw_0 0xcc24,0x001c,0x0007,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom4LhRh_0 0xcc24,0x001c,0x0007,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_0 0xcc24,0x001c,0x0007,0x0500
+#define wroteDECChannelConfigurationDownmixSurround0LwRw_0 0xcc24,0x001c,0x0008,0x0100
+#define wroteDECChannelConfigurationDownmixSurround0LhRh_0 0xcc24,0x001c,0x0008,0x0400
+#define wroteDECChannelConfigurationDownmixSurround0LwRwLhRh_0 0xcc24,0x001c,0x0008,0x0500
+#define wroteDECChannelConfigurationDownmixSurround1LwRw_0 0xcc24,0x001c,0x0009,0x0100
+#define wroteDECChannelConfigurationDownmixSurround1LhRh_0 0xcc24,0x001c,0x0009,0x0400
+#define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_0 0xcc24,0x001c,0x0009,0x0500
+#define wroteDECChannelConfigurationDownmixSurround2LwRw_0 0xcc24,0x001c,0x000a,0x0100
+#define wroteDECChannelConfigurationDownmixSurround2LhRh_0 0xcc24,0x001c,0x000a,0x0400
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRh_0 0xcc24,0x001c,0x000a,0x0500
+#define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_0 0xcc24,0x001c,0x000a,0x0101
+#define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_0 0xcc24,0x001c,0x000a,0x0401
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_0 0xcc24,0x001c,0x000a,0x0501
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_0 0xcc24,0x001c,0x000a,0x0102
+#define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_0 0xcc24,0x001c,0x000a,0x0402
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_0 0xcc24,0x001c,0x000a,0x0502
+#define wroteDECChannelConfigurationDownmixSurround2LwRwMono_0 0xcc24,0x001c,0x000a,0x0103
+#define wroteDECChannelConfigurationDownmixSurround2LhRhMono_0 0xcc24,0x001c,0x000a,0x0403
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_0 0xcc24,0x001c,0x000a,0x0503
+#define wroteDECChannelConfigurationDownmixSurround3LwRw_0 0xcc24,0x001c,0x000b,0x0100
+#define wroteDECChannelConfigurationDownmixSurround3LhRh_0 0xcc24,0x001c,0x000b,0x0400
+#define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_0 0xcc24,0x001c,0x000b,0x0500
+#define wroteDECChannelConfigurationDownmixSurround4LwRw_0 0xcc24,0x001c,0x000c,0x0100
+#define wroteDECChannelConfigurationDownmixSurround4LhRh_0 0xcc24,0x001c,0x000c,0x0400
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_0 0xcc24,0x001c,0x000c,0x0500
+#define wroteDECChannelConfigurationDownmixNoneLwRw_1 0xcc24,0x001c,0x0101,0x0100
+#define wroteDECChannelConfigurationDownmixNoneLhRh_1 0xcc24,0x001c,0x0101,0x0400
+#define wroteDECChannelConfigurationDownmixNoneLwRwLhRh_1 0xcc24,0x001c,0x0101,0x0500
+#define wroteDECChannelConfigurationDownmixMonoLwRw_1 0xcc24,0x001c,0x0102,0x0100
+#define wroteDECChannelConfigurationDownmixMonoLhRh_1 0xcc24,0x001c,0x0102,0x0400
+#define wroteDECChannelConfigurationDownmixMonoLwRwLhRh_1 0xcc24,0x001c,0x0102,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom0LwRw_1 0xcc24,0x001c,0x0103,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom0LhRh_1 0xcc24,0x001c,0x0103,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRh_1 0xcc24,0x001c,0x0103,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_1 0xcc24,0x001c,0x0103,0x0101
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_1 0xcc24,0x001c,0x0103,0x0401
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_1 0xcc24,0x001c,0x0103,0x0501
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLtRt_1 0xcc24,0x001c,0x0103,0x0102
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhLtRt_1 0xcc24,0x001c,0x0103,0x0402
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhLtRt_1 0xcc24,0x001c,0x0103,0x0502
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwMono_1 0xcc24,0x001c,0x0103,0x0103
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhMono_1 0xcc24,0x001c,0x0103,0x0403
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhMono_1 0xcc24,0x001c,0x0103,0x0503
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_1 0xcc24,0x001c,0x0103,0x0104
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_1 0xcc24,0x001c,0x0103,0x0404
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_1 0xcc24,0x001c,0x0103,0x0504
+#define wroteDECChannelConfigurationDownmixPhantom1LwRw_1 0xcc24,0x001c,0x0104,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom1LhRh_1 0xcc24,0x001c,0x0104,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_1 0xcc24,0x001c,0x0104,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_1 0xcc24,0x001c,0x0105,0x0101
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_1 0xcc24,0x001c,0x0105,0x0401
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_1 0xcc24,0x001c,0x0105,0x0501
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_1 0xcc24,0x001c,0x0105,0x0102
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_1 0xcc24,0x001c,0x0105,0x0402
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_1 0xcc24,0x001c,0x0105,0x0502
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_1 0xcc24,0x001c,0x0105,0x0103
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_1 0xcc24,0x001c,0x0105,0x0403
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_1 0xcc24,0x001c,0x0105,0x0503
+#define wroteDECChannelConfigurationDownmixPhantom3LwRw_1 0xcc24,0x001c,0x0106,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom3LhRh_1 0xcc24,0x001c,0x0106,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_1 0xcc24,0x001c,0x0106,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom4LwRw_1 0xcc24,0x001c,0x0107,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom4LhRh_1 0xcc24,0x001c,0x0107,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_1 0xcc24,0x001c,0x0107,0x0500
+#define wroteDECChannelConfigurationDownmixSurround1LwRw_1 0xcc24,0x001c,0x0109,0x0100
+#define wroteDECChannelConfigurationDownmixSurround1LhRh_1 0xcc24,0x001c,0x0109,0x0400
+#define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_1 0xcc24,0x001c,0x0109,0x0500
+#define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_1 0xcc24,0x001c,0x010a,0x0101
+#define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_1 0xcc24,0x001c,0x010a,0x0401
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_1 0xcc24,0x001c,0x010a,0x0501
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_1 0xcc24,0x001c,0x010a,0x0102
+#define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_1 0xcc24,0x001c,0x010a,0x0402
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_1 0xcc24,0x001c,0x010a,0x0502
+#define wroteDECChannelConfigurationDownmixSurround2LwRwMono_1 0xcc24,0x001c,0x010a,0x0103
+#define wroteDECChannelConfigurationDownmixSurround2LhRhMono_1 0xcc24,0x001c,0x010a,0x0403
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_1 0xcc24,0x001c,0x010a,0x0503
+#define wroteDECChannelConfigurationDownmixSurround3LwRw_1 0xcc24,0x001c,0x010b,0x0100
+#define wroteDECChannelConfigurationDownmixSurround3LhRh_1 0xcc24,0x001c,0x010b,0x0400
+#define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_1 0xcc24,0x001c,0x010b,0x0500
+#define wroteDECChannelConfigurationDownmixSurround4LwRw_1 0xcc24,0x001c,0x010c,0x0100
+#define wroteDECChannelConfigurationDownmixSurround4LhRh_1 0xcc24,0x001c,0x010c,0x0400
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_1 0xcc24,0x001c,0x010c,0x0500
+#define wroteDECChannelConfigurationDownmixNoneLwRw_2 0xcc24,0x001c,0x0201,0x0100
+#define wroteDECChannelConfigurationDownmixNoneLhRh_2 0xcc24,0x001c,0x0201,0x0400
+#define wroteDECChannelConfigurationDownmixNoneLwRwLhRh_2 0xcc24,0x001c,0x0201,0x0500
+#define wroteDECChannelConfigurationDownmixMonoLwRw_2 0xcc24,0x001c,0x0202,0x0100
+#define wroteDECChannelConfigurationDownmixMonoLhRh_2 0xcc24,0x001c,0x0202,0x0400
+#define wroteDECChannelConfigurationDownmixMonoLwRwLhRh_2 0xcc24,0x001c,0x0202,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom0LwRw_2 0xcc24,0x001c,0x0203,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom0LhRh_2 0xcc24,0x001c,0x0203,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRh_2 0xcc24,0x001c,0x0203,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_2 0xcc24,0x001c,0x0203,0x0101
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_2 0xcc24,0x001c,0x0203,0x0401
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_2 0xcc24,0x001c,0x0203,0x0501
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLtRt_2 0xcc24,0x001c,0x0203,0x0102
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhLtRt_2 0xcc24,0x001c,0x0203,0x0402
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhLtRt_2 0xcc24,0x001c,0x0203,0x0502
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwMono_2 0xcc24,0x001c,0x0203,0x0103
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhMono_2 0xcc24,0x001c,0x0203,0x0403
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhMono_2 0xcc24,0x001c,0x0203,0x0503
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_2 0xcc24,0x001c,0x0203,0x0104
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_2 0xcc24,0x001c,0x0203,0x0404
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_2 0xcc24,0x001c,0x0203,0x0504
+#define wroteDECChannelConfigurationDownmixPhantom1LwRw_2 0xcc24,0x001c,0x0204,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom1LhRh_2 0xcc24,0x001c,0x0204,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_2 0xcc24,0x001c,0x0204,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom2LwRw_2 0xcc24,0x001c,0x0205,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom2LhRh_2 0xcc24,0x001c,0x0205,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRh_2 0xcc24,0x001c,0x0205,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_2 0xcc24,0x001c,0x0205,0x0101
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_2 0xcc24,0x001c,0x0205,0x0401
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_2 0xcc24,0x001c,0x0205,0x0501
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_2 0xcc24,0x001c,0x0205,0x0102
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_2 0xcc24,0x001c,0x0205,0x0402
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_2 0xcc24,0x001c,0x0205,0x0502
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_2 0xcc24,0x001c,0x0205,0x0103
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_2 0xcc24,0x001c,0x0205,0x0403
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_2 0xcc24,0x001c,0x0205,0x0503
+#define wroteDECChannelConfigurationDownmixPhantom3LwRw_2 0xcc24,0x001c,0x0206,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom3LhRh_2 0xcc24,0x001c,0x0206,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_2 0xcc24,0x001c,0x0206,0x0500
+#define wroteDECChannelConfigurationDownmixPhantom4LwRw_2 0xcc24,0x001c,0x0207,0x0100
+#define wroteDECChannelConfigurationDownmixPhantom4LhRh_2 0xcc24,0x001c,0x0207,0x0400
+#define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_2 0xcc24,0x001c,0x0207,0x0500
+#define wroteDECChannelConfigurationDownmixSurround0LwRw_2 0xcc24,0x001c,0x0208,0x0100
+#define wroteDECChannelConfigurationDownmixSurround0LhRh_2 0xcc24,0x001c,0x0208,0x0400
+#define wroteDECChannelConfigurationDownmixSurround0LwRwLhRh_2 0xcc24,0x001c,0x0208,0x0500
+#define wroteDECChannelConfigurationDownmixSurround1LwRw_2 0xcc24,0x001c,0x0209,0x0100
+#define wroteDECChannelConfigurationDownmixSurround1LhRh_2 0xcc24,0x001c,0x0209,0x0400
+#define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_2 0xcc24,0x001c,0x0209,0x0500
+#define wroteDECChannelConfigurationDownmixSurround2LwRw_2 0xcc24,0x001c,0x020a,0x0100
+#define wroteDECChannelConfigurationDownmixSurround2LhRh_2 0xcc24,0x001c,0x020a,0x0400
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRh_2 0xcc24,0x001c,0x020a,0x0500
+#define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_2 0xcc24,0x001c,0x020a,0x0101
+#define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_2 0xcc24,0x001c,0x020a,0x0401
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_2 0xcc24,0x001c,0x020a,0x0501
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_2 0xcc24,0x001c,0x020a,0x0102
+#define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_2 0xcc24,0x001c,0x020a,0x0402
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_2 0xcc24,0x001c,0x020a,0x0502
+#define wroteDECChannelConfigurationDownmixSurround2LwRwMono_2 0xcc24,0x001c,0x020a,0x0103
+#define wroteDECChannelConfigurationDownmixSurround2LhRhMono_2 0xcc24,0x001c,0x020a,0x0403
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_2 0xcc24,0x001c,0x020a,0x0503
+#define wroteDECChannelConfigurationDownmixSurround3LwRw_2 0xcc24,0x001c,0x020b,0x0100
+#define wroteDECChannelConfigurationDownmixSurround3LhRh_2 0xcc24,0x001c,0x020b,0x0400
+#define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_2 0xcc24,0x001c,0x020b,0x0500
+#define wroteDECChannelConfigurationDownmixSurround4LwRw_2 0xcc24,0x001c,0x020c,0x0100
+#define wroteDECChannelConfigurationDownmixSurround4LhRh_2 0xcc24,0x001c,0x020c,0x0400
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_2 0xcc24,0x001c,0x020c,0x0500
+#define readDECChannelConfigurationDownmixExtChan 0xc224,0x1f00
+#define wroteDECChannelConfigurationDownmixExtChanNone 0xca24,0x1f00
+#define wroteDECChannelConfigurationDownmixExtChanLhRh 0xca24,0x1f04
+#define wroteDECChannelConfigurationDownmixExtChanLwRw 0xca24,0x1f01
+#define wroteDECChannelConfigurationDownmixExtChanLwRwLhRh 0xca24,0x1f05
+#define wroteDECChannelConfigurationDownmixAuxUnknown 0xca24,0x1e00
+#define wroteDECChannelConfigurationDownmixAuxStereo 0xca24,0x1e01
+#define wroteDECChannelConfigurationDownmixAuxLtRt 0xca24,0x1e02
+#define wroteDECChannelConfigurationDownmixAuxMono 0xca24,0x1e03
+#define wroteDECChannelConfigurationDownmixAuxDual 0xca24,0x1e04
+#define wroteDECKaraokeCapableUserQ6 0xce24,0x2806
+#define wroteDECSampleRateUnknown 0xca24,0x0800
+#define wroteDECSampleRateNone 0xca24,0x0801
+#define wroteDECSampleRate32000Hz 0xca24,0x0802
+#define wroteDECSampleRate44100Hz 0xca24,0x0803
+#define wroteDECSampleRate48000Hz 0xca24,0x0804
+#define wroteDECSampleRate88200Hz 0xca24,0x0805
+#define wroteDECSampleRate96000Hz 0xca24,0x0806
+#define wroteDECSampleRate192000Hz 0xca24,0x0807
+#define wroteDECSampleRate64000Hz 0xca24,0x0808
+#define wroteDECSampleRate128000Hz 0xca24,0x0809
+#define wroteDECSampleRate176400Hz 0xca24,0x080a
+#define wroteDECSampleRate8000Hz 0xca24,0x080b
+#define wroteDECSampleRate11025Hz 0xca24,0x080c
+#define wroteDECSampleRate12000Hz 0xca24,0x080d
+#define wroteDECSampleRate16000Hz 0xca24,0x080e
+#define wroteDECSampleRate22050Hz 0xca24,0x080f
+#define wroteDECSampleRate24000Hz 0xca24,0x0810
+#define wroteDECSourceProgramUnknown 0xca24,0x0a00
+#define wroteDECSourceProgramNone 0xca24,0x0a01
+#define wroteDECSourceProgramPass 0xca24,0x0a02
+#define wroteDECSourceProgramSing 0xca24,0x0a03
+#define wroteDECSourceProgramAuto 0xca24,0x0a04
+#define wroteDECSourceProgramBitStream 0xca24,0x0a05
+#define wroteDECSourceProgramDTSAll 0xca24,0x0a06
+#define wroteDECSourceProgramPCMAuto 0xca24,0x0a07
+#define wroteDECSourceProgramPCM 0xca24,0x0a08
+#define wroteDECSourceProgramPC8 0xca24,0x0a09
+#define wroteDECSourceProgramAC3 0xca24,0x0a0a
+#define wroteDECSourceProgramDTS 0xca24,0x0a0b
+#define wroteDECSourceProgramAAC 0xca24,0x0a0c
+#define wroteDECSourceProgramMPEG 0xca24,0x0a0d
+#define wroteDECSourceProgramDTS12 0xca24,0x0a0e
+#define wroteDECSourceProgramDTS13 0xca24,0x0a0f
+#define wroteDECSourceProgramDTS14 0xca24,0x0a10
+#define wroteDECSourceProgramDTS16 0xca24,0x0a11
+#define wroteDECSourceProgramWMP 0xca24,0x0a12
+#define wroteDECSourceProgramMP3 0xca24,0x0a13
+#define wroteDECSourceProgramDSD1 0xca24,0x0a14
+#define wroteDECSourceProgramDSD2 0xca24,0x0a15
+#define wroteDECSourceProgramDSD3 0xca24,0x0a16
+#define wroteDECSourceProgramDDP 0xca24,0x0a17
+#define wroteDECSourceProgramDTSHD 0xca24,0x0a18
+#define wroteDECSourceProgramTHD 0xca24,0x0a19
+#define wroteDECSourceProgramDXP 0xca24,0x0a1a
+#define wroteDECSourceProgramWMA 0xca24,0x0a1b
+#define wroteDECSourceDecodeUnknown 0xca24,0x0b00
+#define wroteDECSourceDecodeNone 0xca24,0x0b01
+#define wroteDECSourceDecodePass 0xca24,0x0b02
+#define wroteDECSourceDecodeSing 0xca24,0x0b03
+#define wroteDECSourceDecodeAuto 0xca24,0x0b04
+#define wroteDECSourceDecodeBitStream 0xca24,0x0b05
+#define wroteDECSourceDecodeDTSAll 0xca24,0x0b06
+#define wroteDECSourceDecodePCMAuto 0xca24,0x0b07
+#define wroteDECSourceDecodePCM 0xca24,0x0b08
+#define wroteDECSourceDecodePC8 0xca24,0x0b09
+#define wroteDECSourceDecodeAC3 0xca24,0x0b0a
+#define wroteDECSourceDecodeDTS 0xca24,0x0b0b
+#define wroteDECSourceDecodeAAC 0xca24,0x0b0c
+#define wroteDECSourceDecodeMPEG 0xca24,0x0b0d
+#define wroteDECSourceDecodeDTS12 0xca24,0x0b0e
+#define wroteDECSourceDecodeDTS13 0xca24,0x0b0f
+#define wroteDECSourceDecodeDTS14 0xca24,0x0b10
+#define wroteDECSourceDecodeDTS16 0xca24,0x0b11
+#define wroteDECSourceDecodeWMP 0xca24,0x0b12
+#define wroteDECSourceDecodeMP3 0xca24,0x0b13
+#define wroteDECSourceDecodeDSD1 0xca24,0x0b14
+#define wroteDECSourceDecodeDSD2 0xca24,0x0b15
+#define wroteDECSourceDecodeDSD3 0xca24,0x0b16
+#define wroteDECSourceDecodeDDP 0xca24,0x0b17
+#define wroteDECSourceDecodeDTSHD 0xca24,0x0b18
+#define wroteDECSourceDecodeTHD 0xca24,0x0b19
+#define wroteDECSourceDecodeDXP 0xca24,0x0b1a
+#define wroteDECSourceDecodeWMA 0xca24,0x0b1b
+#define wroteDECChannelConfigurationRequest 0xcc24,0x0010
+#define wroteDECChannelConfigurationProgram 0xcc24,0x0014
+#define wroteDECChannelConfigurationDecode 0xcc24,0x0018
+#define wroteDECChannelConfigurationDownmix 0xcc24,0x001c
+#define wroteDECProgramFormat 0xcc24,0x0020
+#define wroteDECFrameCount 0xcc24,0x0024
+#define readDECChannelMapFrom 0xc624,0x3010
+#define wroteDECChannelMapFrom 0xce24,0x3010
+#define readDECChannelMapTo 0xc624,0x4010
+#define wroteDECChannelMapTo 0xce24,0x4010
+#define readDECChannelConfigurationOverride 0xc424,0x0050
+#define writeDECChannelConfigurationOverrideUnknown 0xcc24,0x0050,0x0000,0x0000
+#define writeDECChannelConfigurationOverrideNone 0xcc24,0x0050,0x0001,0x0000
+#define writeDECChannelConfigurationOverrideMono 0xcc24,0x0050,0x0002,0x0000
+#define writeDECChannelConfigurationOverrideStereo 0xcc24,0x0050,0x0003,0x0000
+#define writeDECChannelConfigurationOverrideStereoLtRt 0xcc24,0x0050,0x0003,0x0002
+#define writeDECChannelConfigurationOverrideStereoMono 0xcc24,0x0050,0x0003,0x0003
+#define writeDECChannelConfigurationOverride3Stereo 0xcc24,0x0050,0x0108,0x0000
+#define writeDECChannelConfigurationOverridePhantom 0xcc24,0x0050,0x0105,0x0000
+#define writeDECChannelConfigurationOverrideSurround 0xcc24,0x0050,0x010a,0x0000
+#define writeDECChannelConfigurationOverridePhantom0Stereo_0 0xcc24,0x0050,0x0003,0x0001
+#define wroteDECChannelConfigurationOverridePhantom0Dual_0 0xcc24,0x0050,0x0003,0x0004
+#define writeDECChannelConfigurationOverridePhantom1_0 0xcc24,0x0050,0x0004,0x0000
+#define writeDECChannelConfigurationOverridePhantom2_0 0xcc24,0x0050,0x0005,0x0000
+#define wroteDECChannelConfigurationOverridePhantom2Stereo_0 0xcc24,0x0050,0x0005,0x0001
+#define writeDECChannelConfigurationOverridePhantom2LtRt_0 0xcc24,0x0050,0x0005,0x0002
+#define wroteDECChannelConfigurationOverridePhantom2Mono_0 0xcc24,0x0050,0x0005,0x0003
+#define writeDECChannelConfigurationOverridePhantom3_0 0xcc24,0x0050,0x0006,0x0000
+#define writeDECChannelConfigurationOverridePhantom4_0 0xcc24,0x0050,0x0007,0x0000
+#define writeDECChannelConfigurationOverrideSurround0_0 0xcc24,0x0050,0x0008,0x0000
+#define writeDECChannelConfigurationOverrideSurround1_0 0xcc24,0x0050,0x0009,0x0000
+#define writeDECChannelConfigurationOverrideSurround2_0 0xcc24,0x0050,0x000a,0x0000
+#define wroteDECChannelConfigurationOverrideSurround2Stereo_0 0xcc24,0x0050,0x000a,0x0001
+#define writeDECChannelConfigurationOverrideSurround2LtRt_0 0xcc24,0x0050,0x000a,0x0002
+#define wroteDECChannelConfigurationOverrideSurround2Mono_0 0xcc24,0x0050,0x000a,0x0003
+#define writeDECChannelConfigurationOverrideSurround3_0 0xcc24,0x0050,0x000b,0x0000
+#define writeDECChannelConfigurationOverrideSurround4_0 0xcc24,0x0050,0x000c,0x0000
+#define writeDECChannelConfigurationOverrideNone_1 0xcc24,0x0050,0x0101,0x0000
+#define writeDECChannelConfigurationOverrideMono_1 0xcc24,0x0050,0x0102,0x0000
+#define writeDECChannelConfigurationOverridePhantom0_1 0xcc24,0x0050,0x0103,0x0000
+#define writeDECChannelConfigurationOverridePhantom0Stereo_1 0xcc24,0x0050,0x0103,0x0001
+#define writeDECChannelConfigurationOverridePhantom0LtRt_1 0xcc24,0x0050,0x0103,0x0002
+#define writeDECChannelConfigurationOverridePhantom0Mono_1 0xcc24,0x0050,0x0103,0x0003
+#define wroteDECChannelConfigurationOverridePhantom0Dual_1 0xcc24,0x0050,0x0103,0x0004
+#define writeDECChannelConfigurationOverridePhantom1_1 0xcc24,0x0050,0x0104,0x0000
+#define wroteDECChannelConfigurationOverridePhantom2Stereo_1 0xcc24,0x0050,0x0105,0x0001
+#define writeDECChannelConfigurationOverridePhantom2LtRt_1 0xcc24,0x0050,0x0105,0x0002
+#define wroteDECChannelConfigurationOverridePhantom2Mono_1 0xcc24,0x0050,0x0105,0x0003
+#define writeDECChannelConfigurationOverridePhantom3_1 0xcc24,0x0050,0x0106,0x0000
+#define writeDECChannelConfigurationOverridePhantom4_1 0xcc24,0x0050,0x0107,0x0000
+#define writeDECChannelConfigurationOverrideSurround1_1 0xcc24,0x0050,0x0109,0x0000
+#define wroteDECChannelConfigurationOverrideSurround2Stereo_1 0xcc24,0x0050,0x010a,0x0001
+#define writeDECChannelConfigurationOverrideSurround2LtRt_1 0xcc24,0x0050,0x010a,0x0002
+#define wroteDECChannelConfigurationOverrideSurround2Mono_1 0xcc24,0x0050,0x010a,0x0003
+#define writeDECChannelConfigurationOverrideSurround3_1 0xcc24,0x0050,0x010b,0x0000
+#define writeDECChannelConfigurationOverrideSurround4_1 0xcc24,0x0050,0x010c,0x0000
+#define wroteDECChannelConfigurationOverride 0xcc24,0x0050
+#define readDECFrameLength 0xc324,0x0054
+#define wroteDECFrameLength 0xcb24,0x0054
+#define readDECBufferRatio 0xc224,0x5600
+#define writeDECBufferRatio1 0xca24,0x5601
+#define writeDECBufferRatio2 0xca24,0x5602
+#define writeDECBufferRatio4 0xca24,0x5604
+#define writeDECBufferRatioE 0xca24,0x56fe
+#define writeDECBufferRatioC 0xca24,0x56fc
+#define readDECEmphasis 0xc224,0x5700
+#define wroteDECEmphasisUnknown 0xca24,0x5700
+#define wroteDECEmphasisNo 0xca24,0x5701
+#define wroteDECEmphasisYes 0xca24,0x5702
+#define readDECBufferDrift 0xc324,0x0058
+#define readDECStatus 0xc508,0x0024
+#define readDECControl 0xc224,0x0400,0xc224,0x0900,0xc224,0x0c00,0xc224,0x0d00,0xc224,0x0e00,0xc224,0x5600,0xc424,0x0010,0xc424,0x0050,0xc624,0x2806,0xc624,0x3010,0xc624,0x4010
+#define readENCMode 0xc225,0x0400
+#define writeENCModeDisable 0xca25,0x0400
+#define writeENCModeEnable 0xca25,0x0401
+#define readENCCommand 0xc225,0x0500
+#define writeENCCommandNone 0xca25,0x0500
+#define writeENCCommandMute 0xca25,0x0501
+#define writeENCCommandUnmute 0xca25,0x0502
+#define wroteENCCommandNoned 0xca25,0x0580
+#define wroteENCCommandMuted 0xca25,0x0581
+#define wroteENCCommandUnmuted 0xca25,0x0582
+#define readENCSampleRate 0xc225,0x0600
+#define wroteENCSampleRateUnknown 0xca25,0x0600
+#define wroteENCSampleRateNone 0xca25,0x0601
+#define wroteENCSampleRate8000Hz 0xca25,0x060b
+#define wroteENCSampleRate11025Hz 0xca25,0x060c
+#define wroteENCSampleRate12000Hz 0xca25,0x060d
+#define wroteENCSampleRate16000Hz 0xca25,0x060e
+#define wroteENCSampleRate22050Hz 0xca25,0x060f
+#define wroteENCSampleRate24000Hz 0xca25,0x0610
+#define wroteENCSampleRate32000Hz 0xca25,0x0602
+#define wroteENCSampleRate44100Hz 0xca25,0x0603
+#define wroteENCSampleRate48000Hz 0xca25,0x0604
+#define wroteENCSampleRate64000Hz 0xca25,0x0608
+#define wroteENCSampleRate88200Hz 0xca25,0x0605
+#define wroteENCSampleRate96000Hz 0xca25,0x0606
+#define wroteENCSampleRate128000Hz 0xca25,0x0609
+#define wroteENCSampleRate176400Hz 0xca25,0x060a
+#define wroteENCSampleRate192000Hz 0xca25,0x0607
+#define readENCChannelCount 0xc225,0x0700
+#define readENCChannelConfigurationRequest 0xc425,0x0008
+#define writeENCChannelConfigurationRequestUnknown 0xcc25,0x0008,0x0000,0x0000
+#define writeENCChannelConfigurationRequestNone 0xcc25,0x0008,0x0001,0x0000
+#define writeENCChannelConfigurationRequestMono 0xcc25,0x0008,0x0002,0x0000
+#define writeENCChannelConfigurationRequestStereo 0xcc25,0x0008,0x0003,0x0000
+#define wroteENCChannelConfigurationRequestStereoLtRt 0xcc25,0x0008,0x0003,0x0002
+#define writeENCChannelConfigurationRequestPhantom0Stereo_0 0xcc25,0x0008,0x0003,0x0001
+#define writeENCChannelConfigurationRequestPhantom0Mono_0 0xcc25,0x0008,0x0003,0x0003
+#define wroteENCChannelConfigurationRequestPhantom0Dual_0 0xcc25,0x0008,0x0003,0x0004
+#define writeENCChannelConfigurationRequestPhantom1_0 0xcc25,0x0008,0x0004,0x0000
+#define writeENCChannelConfigurationRequestPhantom2_0 0xcc25,0x0008,0x0005,0x0000
+#define wroteENCChannelConfigurationRequestPhantom2Stereo_0 0xcc25,0x0008,0x0005,0x0001
+#define writeENCChannelConfigurationRequestPhantom2LtRt_0 0xcc25,0x0008,0x0005,0x0002
+#define wroteENCChannelConfigurationRequestPhantom2Mono_0 0xcc25,0x0008,0x0005,0x0003
+#define writeENCChannelConfigurationRequestPhantom3_0 0xcc25,0x0008,0x0006,0x0000
+#define writeENCChannelConfigurationRequestPhantom4_0 0xcc25,0x0008,0x0007,0x0000
+#define writeENCChannelConfigurationRequestSurround0_0 0xcc25,0x0008,0x0008,0x0000
+#define writeENCChannelConfigurationRequestSurround1_0 0xcc25,0x0008,0x0009,0x0000
+#define writeENCChannelConfigurationRequestSurround2_0 0xcc25,0x0008,0x000a,0x0000
+#define wroteENCChannelConfigurationRequestSurround2Stereo_0 0xcc25,0x0008,0x000a,0x0001
+#define writeENCChannelConfigurationRequestSurround2LtRt_0 0xcc25,0x0008,0x000a,0x0002
+#define wroteENCChannelConfigurationRequestSurround2Mono_0 0xcc25,0x0008,0x000a,0x0003
+#define writeENCChannelConfigurationRequestSurround3_0 0xcc25,0x0008,0x000b,0x0000
+#define writeENCChannelConfigurationRequestSurround4_0 0xcc25,0x0008,0x000c,0x0000
+#define writeENCChannelConfigurationRequestNone_1 0xcc25,0x0008,0x0101,0x0000
+#define writeENCChannelConfigurationRequestMono_1 0xcc25,0x0008,0x0102,0x0000
+#define writeENCChannelConfigurationRequestPhantom0_1 0xcc25,0x0008,0x0103,0x0000
+#define writeENCChannelConfigurationRequestPhantom0Stereo_1 0xcc25,0x0008,0x0103,0x0001
+#define writeENCChannelConfigurationRequestPhantom0LtRt_1 0xcc25,0x0008,0x0103,0x0002
+#define writeENCChannelConfigurationRequestPhantom0Mono_1 0xcc25,0x0008,0x0103,0x0003
+#define wroteENCChannelConfigurationRequestPhantom0Dual_1 0xcc25,0x0008,0x0103,0x0004
+#define writeENCChannelConfigurationRequestPhantom1_1 0xcc25,0x0008,0x0104,0x0000
+#define writeENCChannelConfigurationRequestPhantom2_1 0xcc25,0x0008,0x0105,0x0000
+#define wroteENCChannelConfigurationRequestPhantom2Stereo_1 0xcc25,0x0008,0x0105,0x0001
+#define writeENCChannelConfigurationRequestPhantom2LtRt_1 0xcc25,0x0008,0x0105,0x0002
+#define wroteENCChannelConfigurationRequestPhantom2Mono_1 0xcc25,0x0008,0x0105,0x0003
+#define writeENCChannelConfigurationRequestPhantom3_1 0xcc25,0x0008,0x0106,0x0000
+#define writeENCChannelConfigurationRequestPhantom4_1 0xcc25,0x0008,0x0107,0x0000
+#define writeENCChannelConfigurationRequestSurround0_1 0xcc25,0x0008,0x0108,0x0000
+#define writeENCChannelConfigurationRequestSurround1_1 0xcc25,0x0008,0x0109,0x0000
+#define writeENCChannelConfigurationRequestSurround2_1 0xcc25,0x0008,0x010a,0x0000
+#define wroteENCChannelConfigurationRequestSurround2Stereo_1 0xcc25,0x0008,0x010a,0x0001
+#define writeENCChannelConfigurationRequestSurround2LtRt_1 0xcc25,0x0008,0x010a,0x0002
+#define wroteENCChannelConfigurationRequestSurround2Mono_1 0xcc25,0x0008,0x010a,0x0003
+#define writeENCChannelConfigurationRequestSurround3_1 0xcc25,0x0008,0x010b,0x0000
+#define writeENCChannelConfigurationRequestSurround4_1 0xcc25,0x0008,0x010c,0x0000
+#define writeENCChannelConfigurationRequestNone_2 0xcc25,0x0008,0x0201,0x0000
+#define writeENCChannelConfigurationRequestMono_2 0xcc25,0x0008,0x0202,0x0000
+#define writeENCChannelConfigurationRequestPhantom0_2 0xcc25,0x0008,0x0203,0x0000
+#define writeENCChannelConfigurationRequestPhantom0Stereo_2 0xcc25,0x0008,0x0203,0x0001
+#define writeENCChannelConfigurationRequestPhantom0LtRt_2 0xcc25,0x0008,0x0203,0x0002
+#define writeENCChannelConfigurationRequestPhantom0Mono_2 0xcc25,0x0008,0x0203,0x0003
+#define wroteENCChannelConfigurationRequestPhantom0Dual_2 0xcc25,0x0008,0x0203,0x0004
+#define writeENCChannelConfigurationRequestPhantom1_2 0xcc25,0x0008,0x0204,0x0000
+#define writeENCChannelConfigurationRequestPhantom2_2 0xcc25,0x0008,0x0205,0x0000
+#define wroteENCChannelConfigurationRequestPhantom2Stereo_2 0xcc25,0x0008,0x0205,0x0001
+#define writeENCChannelConfigurationRequestPhantom2LtRt_2 0xcc25,0x0008,0x0205,0x0002
+#define wroteENCChannelConfigurationRequestPhantom2Mono_2 0xcc25,0x0008,0x0205,0x0003
+#define writeENCChannelConfigurationRequestPhantom3_2 0xcc25,0x0008,0x0206,0x0000
+#define writeENCChannelConfigurationRequestPhantom4_2 0xcc25,0x0008,0x0207,0x0000
+#define writeENCChannelConfigurationRequestSurround0_2 0xcc25,0x0008,0x0208,0x0000
+#define writeENCChannelConfigurationRequestSurround1_2 0xcc25,0x0008,0x0209,0x0000
+#define writeENCChannelConfigurationRequestSurround2_2 0xcc25,0x0008,0x020a,0x0000
+#define wroteENCChannelConfigurationRequestSurround2Stereo_2 0xcc25,0x0008,0x020a,0x0001
+#define writeENCChannelConfigurationRequestSurround2LtRt_2 0xcc25,0x0008,0x020a,0x0002
+#define wroteENCChannelConfigurationRequestSurround2Mono_2 0xcc25,0x0008,0x020a,0x0003
+#define writeENCChannelConfigurationRequestSurround3_2 0xcc25,0x0008,0x020b,0x0000
+#define writeENCChannelConfigurationRequestSurround4_2 0xcc25,0x0008,0x020c,0x0000
+#define writeENCChannelConfigurationRequestNoneLwRw_0 0xcc25,0x0008,0x0001,0x0100
+#define writeENCChannelConfigurationRequestNoneLhRh_0 0xcc25,0x0008,0x0001,0x0400
+#define writeENCChannelConfigurationRequestNoneLwRwLhRh_0 0xcc25,0x0008,0x0001,0x0500
+#define writeENCChannelConfigurationRequestMonoLwRw_0 0xcc25,0x0008,0x0002,0x0100
+#define writeENCChannelConfigurationRequestMonoLhRh_0 0xcc25,0x0008,0x0002,0x0400
+#define writeENCChannelConfigurationRequestMonoLwRwLhRh_0 0xcc25,0x0008,0x0002,0x0500
+#define writeENCChannelConfigurationRequestPhantom0LwRw_0 0xcc25,0x0008,0x0003,0x0100
+#define writeENCChannelConfigurationRequestPhantom0LhRh_0 0xcc25,0x0008,0x0003,0x0400
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRh_0 0xcc25,0x0008,0x0003,0x0500
+#define writeENCChannelConfigurationRequestPhantom0LwRwStereo_0 0xcc25,0x0008,0x0003,0x0101
+#define writeENCChannelConfigurationRequestPhantom0LhRhStereo_0 0xcc25,0x0008,0x0003,0x0401
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhStereo_0 0xcc25,0x0008,0x0003,0x0501
+#define writeENCChannelConfigurationRequestPhantom0LwRwLtRt_0 0xcc25,0x0008,0x0003,0x0102
+#define writeENCChannelConfigurationRequestPhantom0LhRhLtRt_0 0xcc25,0x0008,0x0003,0x0402
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhLtRt_0 0xcc25,0x0008,0x0003,0x0502
+#define writeENCChannelConfigurationRequestPhantom0LwRwMono_0 0xcc25,0x0008,0x0003,0x0103
+#define writeENCChannelConfigurationRequestPhantom0LhRhMono_0 0xcc25,0x0008,0x0003,0x0403
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhMono_0 0xcc25,0x0008,0x0003,0x0503
+#define wroteENCChannelConfigurationRequestPhantom0LwRwDual_0 0xcc25,0x0008,0x0003,0x0104
+#define wroteENCChannelConfigurationRequestPhantom0LhRhDual_0 0xcc25,0x0008,0x0003,0x0404
+#define wroteENCChannelConfigurationRequestPhantom0LwRwLhRhDual_0 0xcc25,0x0008,0x0003,0x0504
+#define writeENCChannelConfigurationRequestPhantom1LwRw_0 0xcc25,0x0008,0x0004,0x0100
+#define writeENCChannelConfigurationRequestPhantom1LhRh_0 0xcc25,0x0008,0x0004,0x0400
+#define writeENCChannelConfigurationRequestPhantom1LwRwLhRh_0 0xcc25,0x0008,0x0004,0x0500
+#define writeENCChannelConfigurationRequestPhantom2LwRw_0 0xcc25,0x0008,0x0005,0x0100
+#define writeENCChannelConfigurationRequestPhantom2LhRh_0 0xcc25,0x0008,0x0005,0x0400
+#define writeENCChannelConfigurationRequestPhantom2LwRwLhRh_0 0xcc25,0x0008,0x0005,0x0500
+#define wroteENCChannelConfigurationRequestPhantom2LwRwStereo_0 0xcc25,0x0008,0x0005,0x0101
+#define wroteENCChannelConfigurationRequestPhantom2LhRhStereo_0 0xcc25,0x0008,0x0005,0x0401
+#define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhStereo_0 0xcc25,0x0008,0x0005,0x0501
+#define writeENCChannelConfigurationRequestPhantom2LwRwLtRt_0 0xcc25,0x0008,0x0005,0x0102
+#define writeENCChannelConfigurationRequestPhantom2LhRhLtRt_0 0xcc25,0x0008,0x0005,0x0402
+#define writeENCChannelConfigurationRequestPhantom2LwRwLhRhLtRt_0 0xcc25,0x0008,0x0005,0x0502
+#define wroteENCChannelConfigurationRequestPhantom2LwRwMono_0 0xcc25,0x0008,0x0005,0x0103
+#define wroteENCChannelConfigurationRequestPhantom2LhRhMono_0 0xcc25,0x0008,0x0005,0x0403
+#define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhMono_0 0xcc25,0x0008,0x0005,0x0503
+#define writeENCChannelConfigurationRequestPhantom3LwRw_0 0xcc25,0x0008,0x0006,0x0100
+#define writeENCChannelConfigurationRequestPhantom3LhRh_0 0xcc25,0x0008,0x0006,0x0400
+#define writeENCChannelConfigurationRequestPhantom3LwRwLhRh_0 0xcc25,0x0008,0x0006,0x0500
+#define writeENCChannelConfigurationRequestPhantom4LwRw_0 0xcc25,0x0008,0x0007,0x0100
+#define writeENCChannelConfigurationRequestPhantom4LhRh_0 0xcc25,0x0008,0x0007,0x0400
+#define writeENCChannelConfigurationRequestPhantom4LwRwLhRh_0 0xcc25,0x0008,0x0007,0x0500
+#define writeENCChannelConfigurationRequestSurround0LwRw_0 0xcc25,0x0008,0x0008,0x0100
+#define writeENCChannelConfigurationRequestSurround0LhRh_0 0xcc25,0x0008,0x0008,0x0400
+#define writeENCChannelConfigurationRequestSurround0LwRwLhRh_0 0xcc25,0x0008,0x0008,0x0500
+#define writeENCChannelConfigurationRequestSurround1LwRw_0 0xcc25,0x0008,0x0009,0x0100
+#define writeENCChannelConfigurationRequestSurround1LhRh_0 0xcc25,0x0008,0x0009,0x0400
+#define writeENCChannelConfigurationRequestSurround1LwRwLhRh_0 0xcc25,0x0008,0x0009,0x0500
+#define writeENCChannelConfigurationRequestSurround2LwRw_0 0xcc25,0x0008,0x000a,0x0100
+#define writeENCChannelConfigurationRequestSurround2LhRh_0 0xcc25,0x0008,0x000a,0x0400
+#define writeENCChannelConfigurationRequestSurround2LwRwLhRh_0 0xcc25,0x0008,0x000a,0x0500
+#define wroteENCChannelConfigurationRequestSurround2LwRwStereo_0 0xcc25,0x0008,0x000a,0x0101
+#define wroteENCChannelConfigurationRequestSurround2LhRhStereo_0 0xcc25,0x0008,0x000a,0x0401
+#define wroteENCChannelConfigurationRequestSurround2LwRwLhRhStereo_0 0xcc25,0x0008,0x000a,0x0501
+#define writeENCChannelConfigurationRequestSurround2LwRwLtRt_0 0xcc25,0x0008,0x000a,0x0102
+#define writeENCChannelConfigurationRequestSurround2LhRhLtRt_0 0xcc25,0x0008,0x000a,0x0402
+#define writeENCChannelConfigurationRequestSurround2LwRwLhRhLtRt_0 0xcc25,0x0008,0x000a,0x0502
+#define wroteENCChannelConfigurationRequestSurround2LwRwMono_0 0xcc25,0x0008,0x000a,0x0103
+#define wroteENCChannelConfigurationRequestSurround2LhRhMono_0 0xcc25,0x0008,0x000a,0x0403
+#define wroteENCChannelConfigurationRequestSurround2LwRwLhRhMono_0 0xcc25,0x0008,0x000a,0x0503
+#define writeENCChannelConfigurationRequestSurround3LwRw_0 0xcc25,0x0008,0x000b,0x0100
+#define writeENCChannelConfigurationRequestSurround3LhRh_0 0xcc25,0x0008,0x000b,0x0400
+#define writeENCChannelConfigurationRequestSurround3LwRwLhRh_0 0xcc25,0x0008,0x000b,0x0500
+#define writeENCChannelConfigurationRequestSurround4LwRw_0 0xcc25,0x0008,0x000c,0x0100
+#define writeENCChannelConfigurationRequestSurround4LhRh_0 0xcc25,0x0008,0x000c,0x0400
+#define writeENCChannelConfigurationRequestSurround4LwRwLhRh_0 0xcc25,0x0008,0x000c,0x0500
+#define writeENCChannelConfigurationRequestNoneLwRw_1 0xcc25,0x0008,0x0101,0x0100
+#define writeENCChannelConfigurationRequestNoneLhRh_1 0xcc25,0x0008,0x0101,0x0400
+#define writeENCChannelConfigurationRequestNoneLwRwLhRh_1 0xcc25,0x0008,0x0101,0x0500
+#define writeENCChannelConfigurationRequestMonoLwRw_1 0xcc25,0x0008,0x0102,0x0100
+#define writeENCChannelConfigurationRequestMonoLhRh_1 0xcc25,0x0008,0x0102,0x0400
+#define writeENCChannelConfigurationRequestMonoLwRwLhRh_1 0xcc25,0x0008,0x0102,0x0500
+#define writeENCChannelConfigurationRequestPhantom0LwRw_1 0xcc25,0x0008,0x0103,0x0100
+#define writeENCChannelConfigurationRequestPhantom0LhRh_1 0xcc25,0x0008,0x0103,0x0400
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRh_1 0xcc25,0x0008,0x0103,0x0500
+#define writeENCChannelConfigurationRequestPhantom0LwRwStereo_1 0xcc25,0x0008,0x0103,0x0101
+#define writeENCChannelConfigurationRequestPhantom0LhRhStereo_1 0xcc25,0x0008,0x0103,0x0401
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhStereo_1 0xcc25,0x0008,0x0103,0x0501
+#define writeENCChannelConfigurationRequestPhantom0LwRwLtRt_1 0xcc25,0x0008,0x0103,0x0102
+#define writeENCChannelConfigurationRequestPhantom0LhRhLtRt_1 0xcc25,0x0008,0x0103,0x0402
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhLtRt_1 0xcc25,0x0008,0x0103,0x0502
+#define writeENCChannelConfigurationRequestPhantom0LwRwMono_1 0xcc25,0x0008,0x0103,0x0103
+#define writeENCChannelConfigurationRequestPhantom0LhRhMono_1 0xcc25,0x0008,0x0103,0x0403
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhMono_1 0xcc25,0x0008,0x0103,0x0503
+#define wroteENCChannelConfigurationRequestPhantom0LwRwDual_1 0xcc25,0x0008,0x0103,0x0104
+#define wroteENCChannelConfigurationRequestPhantom0LhRhDual_1 0xcc25,0x0008,0x0103,0x0404
+#define wroteENCChannelConfigurationRequestPhantom0LwRwLhRhDual_1 0xcc25,0x0008,0x0103,0x0504
+#define writeENCChannelConfigurationRequestPhantom1LwRw_1 0xcc25,0x0008,0x0104,0x0100
+#define writeENCChannelConfigurationRequestPhantom1LhRh_1 0xcc25,0x0008,0x0104,0x0400
+#define writeENCChannelConfigurationRequestPhantom1LwRwLhRh_1 0xcc25,0x0008,0x0104,0x0500
+#define writeENCChannelConfigurationRequestPhantom2LwRw_1 0xcc25,0x0008,0x0105,0x0100
+#define writeENCChannelConfigurationRequestPhantom2LhRh_1 0xcc25,0x0008,0x0105,0x0400
+#define writeENCChannelConfigurationRequestPhantom2LwRwLhRh_1 0xcc25,0x0008,0x0105,0x0500
+#define wroteENCChannelConfigurationRequestPhantom2LwRwStereo_1 0xcc25,0x0008,0x0105,0x0101
+#define wroteENCChannelConfigurationRequestPhantom2LhRhStereo_1 0xcc25,0x0008,0x0105,0x0401
+#define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhStereo_1 0xcc25,0x0008,0x0105,0x0501
+#define writeENCChannelConfigurationRequestPhantom2LwRwLtRt_1 0xcc25,0x0008,0x0105,0x0102
+#define writeENCChannelConfigurationRequestPhantom2LhRhLtRt_1 0xcc25,0x0008,0x0105,0x0402
+#define writeENCChannelConfigurationRequestPhantom2LwRwLhRhLtRt_1 0xcc25,0x0008,0x0105,0x0502
+#define wroteENCChannelConfigurationRequestPhantom2LwRwMono_1 0xcc25,0x0008,0x0105,0x0103
+#define wroteENCChannelConfigurationRequestPhantom2LhRhMono_1 0xcc25,0x0008,0x0105,0x0403
+#define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhMono_1 0xcc25,0x0008,0x0105,0x0503
+#define writeENCChannelConfigurationRequestPhantom3LwRw_1 0xcc25,0x0008,0x0106,0x0100
+#define writeENCChannelConfigurationRequestPhantom3LhRh_1 0xcc25,0x0008,0x0106,0x0400
+#define writeENCChannelConfigurationRequestPhantom3LwRwLhRh_1 0xcc25,0x0008,0x0106,0x0500
+#define writeENCChannelConfigurationRequestPhantom4LwRw_1 0xcc25,0x0008,0x0107,0x0100
+#define writeENCChannelConfigurationRequestPhantom4LhRh_1 0xcc25,0x0008,0x0107,0x0400
+#define writeENCChannelConfigurationRequestPhantom4LwRwLhRh_1 0xcc25,0x0008,0x0107,0x0500
+#define writeENCChannelConfigurationRequestSurround0LwRw_1 0xcc25,0x0008,0x0108,0x0100
+#define writeENCChannelConfigurationRequestSurround0LhRh_1 0xcc25,0x0008,0x0108,0x0400
+#define writeENCChannelConfigurationRequestSurround0LwRwLhRh_1 0xcc25,0x0008,0x0108,0x0500
+#define writeENCChannelConfigurationRequestSurround1LwRw_1 0xcc25,0x0008,0x0109,0x0100
+#define writeENCChannelConfigurationRequestSurround1LhRh_1 0xcc25,0x0008,0x0109,0x0400
+#define writeENCChannelConfigurationRequestSurround1LwRwLhRh_1 0xcc25,0x0008,0x0109,0x0500
+#define writeENCChannelConfigurationRequestSurround2LwRw_1 0xcc25,0x0008,0x010a,0x0100
+#define writeENCChannelConfigurationRequestSurround2LhRh_1 0xcc25,0x0008,0x010a,0x0400
+#define writeENCChannelConfigurationRequestSurround2LwRwLhRh_1 0xcc25,0x0008,0x010a,0x0500
+#define wroteENCChannelConfigurationRequestSurround2LwRwStereo_1 0xcc25,0x0008,0x010a,0x0101
+#define wroteENCChannelConfigurationRequestSurround2LhRhStereo_1 0xcc25,0x0008,0x010a,0x0401
+#define wroteENCChannelConfigurationRequestSurround2LwRwLhRhStereo_1 0xcc25,0x0008,0x010a,0x0501
+#define writeENCChannelConfigurationRequestSurround2LwRwLtRt_1 0xcc25,0x0008,0x010a,0x0102
+#define writeENCChannelConfigurationRequestSurround2LhRhLtRt_1 0xcc25,0x0008,0x010a,0x0402
+#define writeENCChannelConfigurationRequestSurround2LwRwLhRhLtRt_1 0xcc25,0x0008,0x010a,0x0502
+#define wroteENCChannelConfigurationRequestSurround2LwRwMono_1 0xcc25,0x0008,0x010a,0x0103
+#define wroteENCChannelConfigurationRequestSurround2LhRhMono_1 0xcc25,0x0008,0x010a,0x0403
+#define wroteENCChannelConfigurationRequestSurround2LwRwLhRhMono_1 0xcc25,0x0008,0x010a,0x0503
+#define writeENCChannelConfigurationRequestSurround3LwRw_1 0xcc25,0x0008,0x010b,0x0100
+#define writeENCChannelConfigurationRequestSurround3LhRh_1 0xcc25,0x0008,0x010b,0x0400
+#define writeENCChannelConfigurationRequestSurround3LwRwLhRh_1 0xcc25,0x0008,0x010b,0x0500
+#define writeENCChannelConfigurationRequestSurround4LwRw_1 0xcc25,0x0008,0x010c,0x0100
+#define writeENCChannelConfigurationRequestSurround4LhRh_1 0xcc25,0x0008,0x010c,0x0400
+#define writeENCChannelConfigurationRequestSurround4LwRwLhRh_1 0xcc25,0x0008,0x010c,0x0500
+#define writeENCChannelConfigurationRequestNoneLwRw_2 0xcc25,0x0008,0x0201,0x0100
+#define writeENCChannelConfigurationRequestNoneLhRh_2 0xcc25,0x0008,0x0201,0x0400
+#define writeENCChannelConfigurationRequestNoneLwRwLhRh_2 0xcc25,0x0008,0x0201,0x0500
+#define writeENCChannelConfigurationRequestMonoLwRw_2 0xcc25,0x0008,0x0202,0x0100
+#define writeENCChannelConfigurationRequestMonoLhRh_2 0xcc25,0x0008,0x0202,0x0400
+#define writeENCChannelConfigurationRequestMonoLwRwLhRh_2 0xcc25,0x0008,0x0202,0x0500
+#define writeENCChannelConfigurationRequestPhantom0LwRw_2 0xcc25,0x0008,0x0203,0x0100
+#define writeENCChannelConfigurationRequestPhantom0LhRh_2 0xcc25,0x0008,0x0203,0x0400
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRh_2 0xcc25,0x0008,0x0203,0x0500
+#define writeENCChannelConfigurationRequestPhantom0LwRwStereo_2 0xcc25,0x0008,0x0203,0x0101
+#define writeENCChannelConfigurationRequestPhantom0LhRhStereo_2 0xcc25,0x0008,0x0203,0x0401
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhStereo_2 0xcc25,0x0008,0x0203,0x0501
+#define writeENCChannelConfigurationRequestPhantom0LwRwLtRt_2 0xcc25,0x0008,0x0203,0x0102
+#define writeENCChannelConfigurationRequestPhantom0LhRhLtRt_2 0xcc25,0x0008,0x0203,0x0402
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhLtRt_2 0xcc25,0x0008,0x0203,0x0502
+#define writeENCChannelConfigurationRequestPhantom0LwRwMono_2 0xcc25,0x0008,0x0203,0x0103
+#define writeENCChannelConfigurationRequestPhantom0LhRhMono_2 0xcc25,0x0008,0x0203,0x0403
+#define writeENCChannelConfigurationRequestPhantom0LwRwLhRhMono_2 0xcc25,0x0008,0x0203,0x0503
+#define wroteENCChannelConfigurationRequestPhantom0LwRwDual_2 0xcc25,0x0008,0x0203,0x0104
+#define wroteENCChannelConfigurationRequestPhantom0LhRhDual_2 0xcc25,0x0008,0x0203,0x0404
+#define wroteENCChannelConfigurationRequestPhantom0LwRwLhRhDual_2 0xcc25,0x0008,0x0203,0x0504
+#define writeENCChannelConfigurationRequestPhantom1LwRw_2 0xcc25,0x0008,0x0204,0x0100
+#define writeENCChannelConfigurationRequestPhantom1LhRh_2 0xcc25,0x0008,0x0204,0x0400
+#define writeENCChannelConfigurationRequestPhantom1LwRwLhRh_2 0xcc25,0x0008,0x0204,0x0500
+#define writeENCChannelConfigurationRequestPhantom2LwRw_2 0xcc25,0x0008,0x0205,0x0100
+#define writeENCChannelConfigurationRequestPhantom2LhRh_2 0xcc25,0x0008,0x0205,0x0400
+#define writeENCChannelConfigurationRequestPhantom2LwRwLhRh_2 0xcc25,0x0008,0x0205,0x0500
+#define wroteENCChannelConfigurationRequestPhantom2LwRwStereo_2 0xcc25,0x0008,0x0205,0x0101
+#define wroteENCChannelConfigurationRequestPhantom2LhRhStereo_2 0xcc25,0x0008,0x0205,0x0401
+#define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhStereo_2 0xcc25,0x0008,0x0205,0x0501
+#define writeENCChannelConfigurationRequestPhantom2LwRwLtRt_2 0xcc25,0x0008,0x0205,0x0102
+#define writeENCChannelConfigurationRequestPhantom2LhRhLtRt_2 0xcc25,0x0008,0x0205,0x0402
+#define writeENCChannelConfigurationRequestPhantom2LwRwLhRhLtRt_2 0xcc25,0x0008,0x0205,0x0502
+#define wroteENCChannelConfigurationRequestPhantom2LwRwMono_2 0xcc25,0x0008,0x0205,0x0103
+#define wroteENCChannelConfigurationRequestPhantom2LhRhMono_2 0xcc25,0x0008,0x0205,0x0403
+#define wroteENCChannelConfigurationRequestPhantom2LwRwLhRhMono_2 0xcc25,0x0008,0x0205,0x0503
+#define writeENCChannelConfigurationRequestPhantom3LwRw_2 0xcc25,0x0008,0x0206,0x0100
+#define writeENCChannelConfigurationRequestPhantom3LhRh_2 0xcc25,0x0008,0x0206,0x0400
+#define writeENCChannelConfigurationRequestPhantom3LwRwLhRh_2 0xcc25,0x0008,0x0206,0x0500
+#define writeENCChannelConfigurationRequestPhantom4LwRw_2 0xcc25,0x0008,0x0207,0x0100
+#define writeENCChannelConfigurationRequestPhantom4LhRh_2 0xcc25,0x0008,0x0207,0x0400
+#define writeENCChannelConfigurationRequestPhantom4LwRwLhRh_2 0xcc25,0x0008,0x0207,0x0500
+#define writeENCChannelConfigurationRequestSurround0LwRw_2 0xcc25,0x0008,0x0208,0x0100
+#define writeENCChannelConfigurationRequestSurround0LhRh_2 0xcc25,0x0008,0x0208,0x0400
+#define writeENCChannelConfigurationRequestSurround0LwRwLhRh_2 0xcc25,0x0008,0x0208,0x0500
+#define writeENCChannelConfigurationRequestSurround1LwRw_2 0xcc25,0x0008,0x0209,0x0100
+#define writeENCChannelConfigurationRequestSurround1LhRh_2 0xcc25,0x0008,0x0209,0x0400
+#define writeENCChannelConfigurationRequestSurround1LwRwLhRh_2 0xcc25,0x0008,0x0209,0x0500
+#define writeENCChannelConfigurationRequestSurround2LwRw_2 0xcc25,0x0008,0x020a,0x0100
+#define writeENCChannelConfigurationRequestSurround2LhRh_2 0xcc25,0x0008,0x020a,0x0400
+#define writeENCChannelConfigurationRequestSurround2LwRwLhRh_2 0xcc25,0x0008,0x020a,0x0500
+#define wroteENCChannelConfigurationRequestSurround2LwRwStereo_2 0xcc25,0x0008,0x020a,0x0101
+#define wroteENCChannelConfigurationRequestSurround2LhRhStereo_2 0xcc25,0x0008,0x020a,0x0401
+#define wroteENCChannelConfigurationRequestSurround2LwRwLhRhStereo_2 0xcc25,0x0008,0x020a,0x0501
+#define writeENCChannelConfigurationRequestSurround2LwRwLtRt_2 0xcc25,0x0008,0x020a,0x0102
+#define writeENCChannelConfigurationRequestSurround2LhRhLtRt_2 0xcc25,0x0008,0x020a,0x0402
+#define writeENCChannelConfigurationRequestSurround2LwRwLhRhLtRt_2 0xcc25,0x0008,0x020a,0x0502
+#define wroteENCChannelConfigurationRequestSurround2LwRwMono_2 0xcc25,0x0008,0x020a,0x0103
+#define wroteENCChannelConfigurationRequestSurround2LhRhMono_2 0xcc25,0x0008,0x020a,0x0403
+#define wroteENCChannelConfigurationRequestSurround2LwRwLhRhMono_2 0xcc25,0x0008,0x020a,0x0503
+#define writeENCChannelConfigurationRequestSurround3LwRw_2 0xcc25,0x0008,0x020b,0x0100
+#define writeENCChannelConfigurationRequestSurround3LhRh_2 0xcc25,0x0008,0x020b,0x0400
+#define writeENCChannelConfigurationRequestSurround3LwRwLhRh_2 0xcc25,0x0008,0x020b,0x0500
+#define writeENCChannelConfigurationRequestSurround4LwRw_2 0xcc25,0x0008,0x020c,0x0100
+#define writeENCChannelConfigurationRequestSurround4LhRh_2 0xcc25,0x0008,0x020c,0x0400
+#define writeENCChannelConfigurationRequestSurround4LwRwLhRh_2 0xcc25,0x0008,0x020c,0x0500
+#define readENCChannelConfigurationRequestExtChan 0xc225,0x0b00
+#define writeENCChannelConfigurationRequestExtChanNone 0xca25,0x0b00
+#define writeENCChannelConfigurationRequestExtChanLwRw 0xca25,0x0b01
+#define writeENCChannelConfigurationRequestExtChanLhRh 0xca25,0x0b04
+#define writeENCChannelConfigurationRequestExtChanLwRwLhRh 0xca25,0x0b05
+#define wroteENCChannelConfigurationRequest 0xcc25,0x0008
+#define readENCChannelConfigurationStream 0xc425,0x000c
+#define wroteENCChannelConfigurationStreamUnknown 0xcc25,0x000c,0x0000,0x0000
+#define wroteENCChannelConfigurationStreamNone 0xcc25,0x000c,0x0001,0x0000
+#define wroteENCChannelConfigurationStreamMono 0xcc25,0x000c,0x0002,0x0000
+#define wroteENCChannelConfigurationStreamStereo 0xcc25,0x000c,0x0003,0x0000
+#define wroteENCChannelConfigurationStreamStereoLtRt 0xcc25,0x000c,0x0003,0x0002
+#define wroteENCChannelConfigurationStreamPhantom0Stereo_0 0xcc25,0x000c,0x0003,0x0001
+#define wroteENCChannelConfigurationStreamPhantom0Mono_0 0xcc25,0x000c,0x0003,0x0003
+#define wroteENCChannelConfigurationStreamPhantom0Dual_0 0xcc25,0x000c,0x0003,0x0004
+#define wroteENCChannelConfigurationStreamPhantom1_0 0xcc25,0x000c,0x0004,0x0000
+#define wroteENCChannelConfigurationStreamPhantom2_0 0xcc25,0x000c,0x0005,0x0000
+#define wroteENCChannelConfigurationStreamPhantom2Stereo_0 0xcc25,0x000c,0x0005,0x0001
+#define wroteENCChannelConfigurationStreamPhantom2LtRt_0 0xcc25,0x000c,0x0005,0x0002
+#define wroteENCChannelConfigurationStreamPhantom2Mono_0 0xcc25,0x000c,0x0005,0x0003
+#define wroteENCChannelConfigurationStreamPhantom3_0 0xcc25,0x000c,0x0006,0x0000
+#define wroteENCChannelConfigurationStreamPhantom4_0 0xcc25,0x000c,0x0007,0x0000
+#define wroteENCChannelConfigurationStreamSurround0_0 0xcc25,0x000c,0x0008,0x0000
+#define wroteENCChannelConfigurationStreamSurround1_0 0xcc25,0x000c,0x0009,0x0000
+#define wroteENCChannelConfigurationStreamSurround2_0 0xcc25,0x000c,0x000a,0x0000
+#define wroteENCChannelConfigurationStreamSurround2Stereo_0 0xcc25,0x000c,0x000a,0x0001
+#define wroteENCChannelConfigurationStreamSurround2LtRt_0 0xcc25,0x000c,0x000a,0x0002
+#define wroteENCChannelConfigurationStreamSurround2Mono_0 0xcc25,0x000c,0x000a,0x0003
+#define wroteENCChannelConfigurationStreamSurround3_0 0xcc25,0x000c,0x000b,0x0000
+#define wroteENCChannelConfigurationStreamSurround4_0 0xcc25,0x000c,0x000c,0x0000
+#define wroteENCChannelConfigurationStreamNone_1 0xcc25,0x000c,0x0101,0x0000
+#define wroteENCChannelConfigurationStreamMono_1 0xcc25,0x000c,0x0102,0x0000
+#define wroteENCChannelConfigurationStreamPhantom0_1 0xcc25,0x000c,0x0103,0x0000
+#define wroteENCChannelConfigurationStreamPhantom0Stereo_1 0xcc25,0x000c,0x0103,0x0001
+#define wroteENCChannelConfigurationStreamPhantom0LtRt_1 0xcc25,0x000c,0x0103,0x0002
+#define wroteENCChannelConfigurationStreamPhantom0Mono_1 0xcc25,0x000c,0x0103,0x0003
+#define wroteENCChannelConfigurationStreamPhantom0Dual_1 0xcc25,0x000c,0x0103,0x0004
+#define wroteENCChannelConfigurationStreamPhantom1_1 0xcc25,0x000c,0x0104,0x0000
+#define wroteENCChannelConfigurationStreamPhantom2_1 0xcc25,0x000c,0x0105,0x0000
+#define wroteENCChannelConfigurationStreamPhantom2Stereo_1 0xcc25,0x000c,0x0105,0x0001
+#define wroteENCChannelConfigurationStreamPhantom2LtRt_1 0xcc25,0x000c,0x0105,0x0002
+#define wroteENCChannelConfigurationStreamPhantom2Mono_1 0xcc25,0x000c,0x0105,0x0003
+#define wroteENCChannelConfigurationStreamPhantom3_1 0xcc25,0x000c,0x0106,0x0000
+#define wroteENCChannelConfigurationStreamPhantom4_1 0xcc25,0x000c,0x0107,0x0000
+#define wroteENCChannelConfigurationStreamSurround0_1 0xcc25,0x000c,0x0108,0x0000
+#define wroteENCChannelConfigurationStreamSurround1_1 0xcc25,0x000c,0x0109,0x0000
+#define wroteENCChannelConfigurationStreamSurround2_1 0xcc25,0x000c,0x010a,0x0000
+#define wroteENCChannelConfigurationStreamSurround2Stereo_1 0xcc25,0x000c,0x010a,0x0001
+#define wroteENCChannelConfigurationStreamSurround2LtRt_1 0xcc25,0x000c,0x010a,0x0002
+#define wroteENCChannelConfigurationStreamSurround2Mono_1 0xcc25,0x000c,0x010a,0x0003
+#define wroteENCChannelConfigurationStreamSurround3_1 0xcc25,0x000c,0x010b,0x0000
+#define wroteENCChannelConfigurationStreamSurround4_1 0xcc25,0x000c,0x010c,0x0000
+#define wroteENCChannelConfigurationStreamNone_2 0xcc25,0x000c,0x0201,0x0000
+#define wroteENCChannelConfigurationStreamMono_2 0xcc25,0x000c,0x0202,0x0000
+#define wroteENCChannelConfigurationStreamPhantom0_2 0xcc25,0x000c,0x0203,0x0000
+#define wroteENCChannelConfigurationStreamPhantom0Stereo_2 0xcc25,0x000c,0x0203,0x0001
+#define wroteENCChannelConfigurationStreamPhantom0LtRt_2 0xcc25,0x000c,0x0203,0x0002
+#define wroteENCChannelConfigurationStreamPhantom0Mono_2 0xcc25,0x000c,0x0203,0x0003
+#define wroteENCChannelConfigurationStreamPhantom0Dual_2 0xcc25,0x000c,0x0203,0x0004
+#define wroteENCChannelConfigurationStreamPhantom1_2 0xcc25,0x000c,0x0204,0x0000
+#define wroteENCChannelConfigurationStreamPhantom2_2 0xcc25,0x000c,0x0205,0x0000
+#define wroteENCChannelConfigurationStreamPhantom2Stereo_2 0xcc25,0x000c,0x0205,0x0001
+#define wroteENCChannelConfigurationStreamPhantom2LtRt_2 0xcc25,0x000c,0x0205,0x0002
+#define wroteENCChannelConfigurationStreamPhantom2Mono_2 0xcc25,0x000c,0x0205,0x0003
+#define wroteENCChannelConfigurationStreamPhantom3_2 0xcc25,0x000c,0x0206,0x0000
+#define wroteENCChannelConfigurationStreamPhantom4_2 0xcc25,0x000c,0x0207,0x0000
+#define wroteENCChannelConfigurationStreamSurround0_2 0xcc25,0x000c,0x0208,0x0000
+#define wroteENCChannelConfigurationStreamSurround1_2 0xcc25,0x000c,0x0209,0x0000
+#define wroteENCChannelConfigurationStreamSurround2_2 0xcc25,0x000c,0x020a,0x0000
+#define wroteENCChannelConfigurationStreamSurround2Stereo_2 0xcc25,0x000c,0x020a,0x0001
+#define wroteENCChannelConfigurationStreamSurround2LtRt_2 0xcc25,0x000c,0x020a,0x0002
+#define wroteENCChannelConfigurationStreamSurround2Mono_2 0xcc25,0x000c,0x020a,0x0003
+#define wroteENCChannelConfigurationStreamSurround3_2 0xcc25,0x000c,0x020b,0x0000
+#define wroteENCChannelConfigurationStreamSurround4_2 0xcc25,0x000c,0x020c,0x0000
+#define wroteENCChannelConfigurationStreamNoneLwRw_0 0xcc25,0x000c,0x0001,0x0100
+#define wroteENCChannelConfigurationStreamNoneLhRh_0 0xcc25,0x000c,0x0001,0x0400
+#define wroteENCChannelConfigurationStreamNoneLwRwLhRh_0 0xcc25,0x000c,0x0001,0x0500
+#define wroteENCChannelConfigurationStreamMonoLwRw_0 0xcc25,0x000c,0x0002,0x0100
+#define wroteENCChannelConfigurationStreamMonoLhRh_0 0xcc25,0x000c,0x0002,0x0400
+#define wroteENCChannelConfigurationStreamMonoLwRwLhRh_0 0xcc25,0x000c,0x0002,0x0500
+#define wroteENCChannelConfigurationStreamPhantom0LwRw_0 0xcc25,0x000c,0x0003,0x0100
+#define wroteENCChannelConfigurationStreamPhantom0LhRh_0 0xcc25,0x000c,0x0003,0x0400
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRh_0 0xcc25,0x000c,0x0003,0x0500
+#define wroteENCChannelConfigurationStreamPhantom0LwRwStereo_0 0xcc25,0x000c,0x0003,0x0101
+#define wroteENCChannelConfigurationStreamPhantom0LhRhStereo_0 0xcc25,0x000c,0x0003,0x0401
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhStereo_0 0xcc25,0x000c,0x0003,0x0501
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLtRt_0 0xcc25,0x000c,0x0003,0x0102
+#define wroteENCChannelConfigurationStreamPhantom0LhRhLtRt_0 0xcc25,0x000c,0x0003,0x0402
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhLtRt_0 0xcc25,0x000c,0x0003,0x0502
+#define wroteENCChannelConfigurationStreamPhantom0LwRwMono_0 0xcc25,0x000c,0x0003,0x0103
+#define wroteENCChannelConfigurationStreamPhantom0LhRhMono_0 0xcc25,0x000c,0x0003,0x0403
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhMono_0 0xcc25,0x000c,0x0003,0x0503
+#define wroteENCChannelConfigurationStreamPhantom0LwRwDual_0 0xcc25,0x000c,0x0003,0x0104
+#define wroteENCChannelConfigurationStreamPhantom0LhRhDual_0 0xcc25,0x000c,0x0003,0x0404
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhDual_0 0xcc25,0x000c,0x0003,0x0504
+#define wroteENCChannelConfigurationStreamPhantom1LwRw_0 0xcc25,0x000c,0x0004,0x0100
+#define wroteENCChannelConfigurationStreamPhantom1LhRh_0 0xcc25,0x000c,0x0004,0x0400
+#define wroteENCChannelConfigurationStreamPhantom1LwRwLhRh_0 0xcc25,0x000c,0x0004,0x0500
+#define wroteENCChannelConfigurationStreamPhantom2LwRw_0 0xcc25,0x000c,0x0005,0x0100
+#define wroteENCChannelConfigurationStreamPhantom2LhRh_0 0xcc25,0x000c,0x0005,0x0400
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRh_0 0xcc25,0x000c,0x0005,0x0500
+#define wroteENCChannelConfigurationStreamPhantom2LwRwStereo_0 0xcc25,0x000c,0x0005,0x0101
+#define wroteENCChannelConfigurationStreamPhantom2LhRhStereo_0 0xcc25,0x000c,0x0005,0x0401
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhStereo_0 0xcc25,0x000c,0x0005,0x0501
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLtRt_0 0xcc25,0x000c,0x0005,0x0102
+#define wroteENCChannelConfigurationStreamPhantom2LhRhLtRt_0 0xcc25,0x000c,0x0005,0x0402
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhLtRt_0 0xcc25,0x000c,0x0005,0x0502
+#define wroteENCChannelConfigurationStreamPhantom2LwRwMono_0 0xcc25,0x000c,0x0005,0x0103
+#define wroteENCChannelConfigurationStreamPhantom2LhRhMono_0 0xcc25,0x000c,0x0005,0x0403
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhMono_0 0xcc25,0x000c,0x0005,0x0503
+#define wroteENCChannelConfigurationStreamPhantom3LwRw_0 0xcc25,0x000c,0x0006,0x0100
+#define wroteENCChannelConfigurationStreamPhantom3LhRh_0 0xcc25,0x000c,0x0006,0x0400
+#define wroteENCChannelConfigurationStreamPhantom3LwRwLhRh_0 0xcc25,0x000c,0x0006,0x0500
+#define wroteENCChannelConfigurationStreamPhantom4LwRw_0 0xcc25,0x000c,0x0007,0x0100
+#define wroteENCChannelConfigurationStreamPhantom4LhRh_0 0xcc25,0x000c,0x0007,0x0400
+#define wroteENCChannelConfigurationStreamPhantom4LwRwLhRh_0 0xcc25,0x000c,0x0007,0x0500
+#define wroteENCChannelConfigurationStreamSurround0LwRw_0 0xcc25,0x000c,0x0008,0x0100
+#define wroteENCChannelConfigurationStreamSurround0LhRh_0 0xcc25,0x000c,0x0008,0x0400
+#define wroteENCChannelConfigurationStreamSurround0LwRwLhRh_0 0xcc25,0x000c,0x0008,0x0500
+#define wroteENCChannelConfigurationStreamSurround1LwRw_0 0xcc25,0x000c,0x0009,0x0100
+#define wroteENCChannelConfigurationStreamSurround1LhRh_0 0xcc25,0x000c,0x0009,0x0400
+#define wroteENCChannelConfigurationStreamSurround1LwRwLhRh_0 0xcc25,0x000c,0x0009,0x0500
+#define wroteENCChannelConfigurationStreamSurround2LwRw_0 0xcc25,0x000c,0x000a,0x0100
+#define wroteENCChannelConfigurationStreamSurround2LhRh_0 0xcc25,0x000c,0x000a,0x0400
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRh_0 0xcc25,0x000c,0x000a,0x0500
+#define wroteENCChannelConfigurationStreamSurround2LwRwStereo_0 0xcc25,0x000c,0x000a,0x0101
+#define wroteENCChannelConfigurationStreamSurround2LhRhStereo_0 0xcc25,0x000c,0x000a,0x0401
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhStereo_0 0xcc25,0x000c,0x000a,0x0501
+#define wroteENCChannelConfigurationStreamSurround2LwRwLtRt_0 0xcc25,0x000c,0x000a,0x0102
+#define wroteENCChannelConfigurationStreamSurround2LhRhLtRt_0 0xcc25,0x000c,0x000a,0x0402
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhLtRt_0 0xcc25,0x000c,0x000a,0x0502
+#define wroteENCChannelConfigurationStreamSurround2LwRwMono_0 0xcc25,0x000c,0x000a,0x0103
+#define wroteENCChannelConfigurationStreamSurround2LhRhMono_0 0xcc25,0x000c,0x000a,0x0403
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhMono_0 0xcc25,0x000c,0x000a,0x0503
+#define wroteENCChannelConfigurationStreamSurround3LwRw_0 0xcc25,0x000c,0x000b,0x0100
+#define wroteENCChannelConfigurationStreamSurround3LhRh_0 0xcc25,0x000c,0x000b,0x0400
+#define wroteENCChannelConfigurationStreamSurround3LwRwLhRh_0 0xcc25,0x000c,0x000b,0x0500
+#define wroteENCChannelConfigurationStreamSurround4LwRw_0 0xcc25,0x000c,0x000c,0x0100
+#define wroteENCChannelConfigurationStreamSurround4LhRh_0 0xcc25,0x000c,0x000c,0x0400
+#define wroteENCChannelConfigurationStreamSurround4LwRwLhRh_0 0xcc25,0x000c,0x000c,0x0500
+#define wroteENCChannelConfigurationStreamNoneLwRw_1 0xcc25,0x000c,0x0101,0x0100
+#define wroteENCChannelConfigurationStreamNoneLhRh_1 0xcc25,0x000c,0x0101,0x0400
+#define wroteENCChannelConfigurationStreamNoneLwRwLhRh_1 0xcc25,0x000c,0x0101,0x0500
+#define wroteENCChannelConfigurationStreamMonoLwRw_1 0xcc25,0x000c,0x0102,0x0100
+#define wroteENCChannelConfigurationStreamMonoLhRh_1 0xcc25,0x000c,0x0102,0x0400
+#define wroteENCChannelConfigurationStreamMonoLwRwLhRh_1 0xcc25,0x000c,0x0102,0x0500
+#define wroteENCChannelConfigurationStreamPhantom0LwRw_1 0xcc25,0x000c,0x0103,0x0100
+#define wroteENCChannelConfigurationStreamPhantom0LhRh_1 0xcc25,0x000c,0x0103,0x0400
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRh_1 0xcc25,0x000c,0x0103,0x0500
+#define wroteENCChannelConfigurationStreamPhantom0LwRwStereo_1 0xcc25,0x000c,0x0103,0x0101
+#define wroteENCChannelConfigurationStreamPhantom0LhRhStereo_1 0xcc25,0x000c,0x0103,0x0401
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhStereo_1 0xcc25,0x000c,0x0103,0x0501
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLtRt_1 0xcc25,0x000c,0x0103,0x0102
+#define wroteENCChannelConfigurationStreamPhantom0LhRhLtRt_1 0xcc25,0x000c,0x0103,0x0402
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhLtRt_1 0xcc25,0x000c,0x0103,0x0502
+#define wroteENCChannelConfigurationStreamPhantom0LwRwMono_1 0xcc25,0x000c,0x0103,0x0103
+#define wroteENCChannelConfigurationStreamPhantom0LhRhMono_1 0xcc25,0x000c,0x0103,0x0403
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhMono_1 0xcc25,0x000c,0x0103,0x0503
+#define wroteENCChannelConfigurationStreamPhantom0LwRwDual_1 0xcc25,0x000c,0x0103,0x0104
+#define wroteENCChannelConfigurationStreamPhantom0LhRhDual_1 0xcc25,0x000c,0x0103,0x0404
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhDual_1 0xcc25,0x000c,0x0103,0x0504
+#define wroteENCChannelConfigurationStreamPhantom1LwRw_1 0xcc25,0x000c,0x0104,0x0100
+#define wroteENCChannelConfigurationStreamPhantom1LhRh_1 0xcc25,0x000c,0x0104,0x0400
+#define wroteENCChannelConfigurationStreamPhantom1LwRwLhRh_1 0xcc25,0x000c,0x0104,0x0500
+#define wroteENCChannelConfigurationStreamPhantom2LwRw_1 0xcc25,0x000c,0x0105,0x0100
+#define wroteENCChannelConfigurationStreamPhantom2LhRh_1 0xcc25,0x000c,0x0105,0x0400
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRh_1 0xcc25,0x000c,0x0105,0x0500
+#define wroteENCChannelConfigurationStreamPhantom2LwRwStereo_1 0xcc25,0x000c,0x0105,0x0101
+#define wroteENCChannelConfigurationStreamPhantom2LhRhStereo_1 0xcc25,0x000c,0x0105,0x0401
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhStereo_1 0xcc25,0x000c,0x0105,0x0501
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLtRt_1 0xcc25,0x000c,0x0105,0x0102
+#define wroteENCChannelConfigurationStreamPhantom2LhRhLtRt_1 0xcc25,0x000c,0x0105,0x0402
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhLtRt_1 0xcc25,0x000c,0x0105,0x0502
+#define wroteENCChannelConfigurationStreamPhantom2LwRwMono_1 0xcc25,0x000c,0x0105,0x0103
+#define wroteENCChannelConfigurationStreamPhantom2LhRhMono_1 0xcc25,0x000c,0x0105,0x0403
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhMono_1 0xcc25,0x000c,0x0105,0x0503
+#define wroteENCChannelConfigurationStreamPhantom3LwRw_1 0xcc25,0x000c,0x0106,0x0100
+#define wroteENCChannelConfigurationStreamPhantom3LhRh_1 0xcc25,0x000c,0x0106,0x0400
+#define wroteENCChannelConfigurationStreamPhantom3LwRwLhRh_1 0xcc25,0x000c,0x0106,0x0500
+#define wroteENCChannelConfigurationStreamPhantom4LwRw_1 0xcc25,0x000c,0x0107,0x0100
+#define wroteENCChannelConfigurationStreamPhantom4LhRh_1 0xcc25,0x000c,0x0107,0x0400
+#define wroteENCChannelConfigurationStreamPhantom4LwRwLhRh_1 0xcc25,0x000c,0x0107,0x0500
+#define wroteENCChannelConfigurationStreamSurround0LwRw_1 0xcc25,0x000c,0x0108,0x0100
+#define wroteENCChannelConfigurationStreamSurround0LhRh_1 0xcc25,0x000c,0x0108,0x0400
+#define wroteENCChannelConfigurationStreamSurround0LwRwLhRh_1 0xcc25,0x000c,0x0108,0x0500
+#define wroteENCChannelConfigurationStreamSurround1LwRw_1 0xcc25,0x000c,0x0109,0x0100
+#define wroteENCChannelConfigurationStreamSurround1LhRh_1 0xcc25,0x000c,0x0109,0x0400
+#define wroteENCChannelConfigurationStreamSurround1LwRwLhRh_1 0xcc25,0x000c,0x0109,0x0500
+#define wroteENCChannelConfigurationStreamSurround2LwRw_1 0xcc25,0x000c,0x010a,0x0100
+#define wroteENCChannelConfigurationStreamSurround2LhRh_1 0xcc25,0x000c,0x010a,0x0400
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRh_1 0xcc25,0x000c,0x010a,0x0500
+#define wroteENCChannelConfigurationStreamSurround2LwRwStereo_1 0xcc25,0x000c,0x010a,0x0101
+#define wroteENCChannelConfigurationStreamSurround2LhRhStereo_1 0xcc25,0x000c,0x010a,0x0401
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhStereo_1 0xcc25,0x000c,0x010a,0x0501
+#define wroteENCChannelConfigurationStreamSurround2LwRwLtRt_1 0xcc25,0x000c,0x010a,0x0102
+#define wroteENCChannelConfigurationStreamSurround2LhRhLtRt_1 0xcc25,0x000c,0x010a,0x0402
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhLtRt_1 0xcc25,0x000c,0x010a,0x0502
+#define wroteENCChannelConfigurationStreamSurround2LwRwMono_1 0xcc25,0x000c,0x010a,0x0103
+#define wroteENCChannelConfigurationStreamSurround2LhRhMono_1 0xcc25,0x000c,0x010a,0x0403
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhMono_1 0xcc25,0x000c,0x010a,0x0503
+#define wroteENCChannelConfigurationStreamSurround3LwRw_1 0xcc25,0x000c,0x010b,0x0100
+#define wroteENCChannelConfigurationStreamSurround3LhRh_1 0xcc25,0x000c,0x010b,0x0400
+#define wroteENCChannelConfigurationStreamSurround3LwRwLhRh_1 0xcc25,0x000c,0x010b,0x0500
+#define wroteENCChannelConfigurationStreamSurround4LwRw_1 0xcc25,0x000c,0x010c,0x0100
+#define wroteENCChannelConfigurationStreamSurround4LhRh_1 0xcc25,0x000c,0x010c,0x0400
+#define wroteENCChannelConfigurationStreamSurround4LwRwLhRh_1 0xcc25,0x000c,0x010c,0x0500
+#define wroteENCChannelConfigurationStreamNoneLwRw_2 0xcc25,0x000c,0x0201,0x0100
+#define wroteENCChannelConfigurationStreamNoneLhRh_2 0xcc25,0x000c,0x0201,0x0400
+#define wroteENCChannelConfigurationStreamNoneLwRwLhRh_2 0xcc25,0x000c,0x0201,0x0500
+#define wroteENCChannelConfigurationStreamMonoLwRw_2 0xcc25,0x000c,0x0202,0x0100
+#define wroteENCChannelConfigurationStreamMonoLhRh_2 0xcc25,0x000c,0x0202,0x0400
+#define wroteENCChannelConfigurationStreamMonoLwRwLhRh_2 0xcc25,0x000c,0x0202,0x0500
+#define wroteENCChannelConfigurationStreamPhantom0LwRw_2 0xcc25,0x000c,0x0203,0x0100
+#define wroteENCChannelConfigurationStreamPhantom0LhRh_2 0xcc25,0x000c,0x0203,0x0400
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRh_2 0xcc25,0x000c,0x0203,0x0500
+#define wroteENCChannelConfigurationStreamPhantom0LwRwStereo_2 0xcc25,0x000c,0x0203,0x0101
+#define wroteENCChannelConfigurationStreamPhantom0LhRhStereo_2 0xcc25,0x000c,0x0203,0x0401
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhStereo_2 0xcc25,0x000c,0x0203,0x0501
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLtRt_2 0xcc25,0x000c,0x0203,0x0102
+#define wroteENCChannelConfigurationStreamPhantom0LhRhLtRt_2 0xcc25,0x000c,0x0203,0x0402
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhLtRt_2 0xcc25,0x000c,0x0203,0x0502
+#define wroteENCChannelConfigurationStreamPhantom0LwRwMono_2 0xcc25,0x000c,0x0203,0x0103
+#define wroteENCChannelConfigurationStreamPhantom0LhRhMono_2 0xcc25,0x000c,0x0203,0x0403
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhMono_2 0xcc25,0x000c,0x0203,0x0503
+#define wroteENCChannelConfigurationStreamPhantom0LwRwDual_2 0xcc25,0x000c,0x0203,0x0104
+#define wroteENCChannelConfigurationStreamPhantom0LhRhDual_2 0xcc25,0x000c,0x0203,0x0404
+#define wroteENCChannelConfigurationStreamPhantom0LwRwLhRhDual_2 0xcc25,0x000c,0x0203,0x0504
+#define wroteENCChannelConfigurationStreamPhantom1LwRw_2 0xcc25,0x000c,0x0204,0x0100
+#define wroteENCChannelConfigurationStreamPhantom1LhRh_2 0xcc25,0x000c,0x0204,0x0400
+#define wroteENCChannelConfigurationStreamPhantom1LwRwLhRh_2 0xcc25,0x000c,0x0204,0x0500
+#define wroteENCChannelConfigurationStreamPhantom2LwRw_2 0xcc25,0x000c,0x0205,0x0100
+#define wroteENCChannelConfigurationStreamPhantom2LhRh_2 0xcc25,0x000c,0x0205,0x0400
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRh_2 0xcc25,0x000c,0x0205,0x0500
+#define wroteENCChannelConfigurationStreamPhantom2LwRwStereo_2 0xcc25,0x000c,0x0205,0x0101
+#define wroteENCChannelConfigurationStreamPhantom2LhRhStereo_2 0xcc25,0x000c,0x0205,0x0401
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhStereo_2 0xcc25,0x000c,0x0205,0x0501
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLtRt_2 0xcc25,0x000c,0x0205,0x0102
+#define wroteENCChannelConfigurationStreamPhantom2LhRhLtRt_2 0xcc25,0x000c,0x0205,0x0402
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhLtRt_2 0xcc25,0x000c,0x0205,0x0502
+#define wroteENCChannelConfigurationStreamPhantom2LwRwMono_2 0xcc25,0x000c,0x0205,0x0103
+#define wroteENCChannelConfigurationStreamPhantom2LhRhMono_2 0xcc25,0x000c,0x0205,0x0403
+#define wroteENCChannelConfigurationStreamPhantom2LwRwLhRhMono_2 0xcc25,0x000c,0x0205,0x0503
+#define wroteENCChannelConfigurationStreamPhantom3LwRw_2 0xcc25,0x000c,0x0206,0x0100
+#define wroteENCChannelConfigurationStreamPhantom3LhRh_2 0xcc25,0x000c,0x0206,0x0400
+#define wroteENCChannelConfigurationStreamPhantom3LwRwLhRh_2 0xcc25,0x000c,0x0206,0x0500
+#define wroteENCChannelConfigurationStreamPhantom4LwRw_2 0xcc25,0x000c,0x0207,0x0100
+#define wroteENCChannelConfigurationStreamPhantom4LhRh_2 0xcc25,0x000c,0x0207,0x0400
+#define wroteENCChannelConfigurationStreamPhantom4LwRwLhRh_2 0xcc25,0x000c,0x0207,0x0500
+#define wroteENCChannelConfigurationStreamSurround0LwRw_2 0xcc25,0x000c,0x0208,0x0100
+#define wroteENCChannelConfigurationStreamSurround0LhRh_2 0xcc25,0x000c,0x0208,0x0400
+#define wroteENCChannelConfigurationStreamSurround0LwRwLhRh_2 0xcc25,0x000c,0x0208,0x0500
+#define wroteENCChannelConfigurationStreamSurround1LwRw_2 0xcc25,0x000c,0x0209,0x0100
+#define wroteENCChannelConfigurationStreamSurround1LhRh_2 0xcc25,0x000c,0x0209,0x0400
+#define wroteENCChannelConfigurationStreamSurround1LwRwLhRh_2 0xcc25,0x000c,0x0209,0x0500
+#define wroteENCChannelConfigurationStreamSurround2LwRw_2 0xcc25,0x000c,0x020a,0x0100
+#define wroteENCChannelConfigurationStreamSurround2LhRh_2 0xcc25,0x000c,0x020a,0x0400
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRh_2 0xcc25,0x000c,0x020a,0x0500
+#define wroteENCChannelConfigurationStreamSurround2LwRwStereo_2 0xcc25,0x000c,0x020a,0x0101
+#define wroteENCChannelConfigurationStreamSurround2LhRhStereo_2 0xcc25,0x000c,0x020a,0x0401
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhStereo_2 0xcc25,0x000c,0x020a,0x0501
+#define wroteENCChannelConfigurationStreamSurround2LwRwLtRt_2 0xcc25,0x000c,0x020a,0x0102
+#define wroteENCChannelConfigurationStreamSurround2LhRhLtRt_2 0xcc25,0x000c,0x020a,0x0402
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhLtRt_2 0xcc25,0x000c,0x020a,0x0502
+#define wroteENCChannelConfigurationStreamSurround2LwRwMono_2 0xcc25,0x000c,0x020a,0x0103
+#define wroteENCChannelConfigurationStreamSurround2LhRhMono_2 0xcc25,0x000c,0x020a,0x0403
+#define wroteENCChannelConfigurationStreamSurround2LwRwLhRhMono_2 0xcc25,0x000c,0x020a,0x0503
+#define wroteENCChannelConfigurationStreamSurround3LwRw_2 0xcc25,0x000c,0x020b,0x0100
+#define wroteENCChannelConfigurationStreamSurround3LhRh_2 0xcc25,0x000c,0x020b,0x0400
+#define wroteENCChannelConfigurationStreamSurround3LwRwLhRh_2 0xcc25,0x000c,0x020b,0x0500
+#define wroteENCChannelConfigurationStreamSurround4LwRw_2 0xcc25,0x000c,0x020c,0x0100
+#define wroteENCChannelConfigurationStreamSurround4LhRh_2 0xcc25,0x000c,0x020c,0x0400
+#define wroteENCChannelConfigurationStreamSurround4LwRwLhRh_2 0xcc25,0x000c,0x020c,0x0500
+#define readENCChannelConfigurationStreamExtChan 0xc225,0x0f00
+#define wroteENCChannelConfigurationStreamExtChanNone 0xca25,0x0f00
+#define wroteENCChannelConfigurationStreamExtChanLwRw 0xca25,0x0f01
+#define wroteENCChannelConfigurationStreamExtChanLhRh 0xca25,0x0f04
+#define wroteENCChannelConfigurationStreamExtChanLwRwLhRh 0xca25,0x0f05
+#define wroteENCChannelConfigurationStream 0xcc25,0x000c
+#define readENCChannelConfigurationEncode 0xc425,0x0010
+#define wroteENCChannelConfigurationEncodeUnknown 0xcc25,0x0010,0x0000,0x0000
+#define wroteENCChannelConfigurationEncodeNone 0xcc25,0x0010,0x0001,0x0000
+#define wroteENCChannelConfigurationEncodeMono 0xcc25,0x0010,0x0002,0x0000
+#define wroteENCChannelConfigurationEncodeStereo 0xcc25,0x0010,0x0003,0x0000
+#define wroteENCChannelConfigurationEncodeStereoLtRt 0xcc25,0x0010,0x0003,0x0002
+#define wroteENCChannelConfigurationEncodePhantom0Stereo_0 0xcc25,0x0010,0x0003,0x0001
+#define wroteENCChannelConfigurationEncodePhantom0Mono_0 0xcc25,0x0010,0x0003,0x0003
+#define wroteENCChannelConfigurationEncodePhantom0Dual_0 0xcc25,0x0010,0x0003,0x0004
+#define wroteENCChannelConfigurationEncodePhantom1_0 0xcc25,0x0010,0x0004,0x0000
+#define wroteENCChannelConfigurationEncodePhantom2_0 0xcc25,0x0010,0x0005,0x0000
+#define wroteENCChannelConfigurationEncodePhantom2Stereo_0 0xcc25,0x0010,0x0005,0x0001
+#define wroteENCChannelConfigurationEncodePhantom2LtRt_0 0xcc25,0x0010,0x0005,0x0002
+#define wroteENCChannelConfigurationEncodePhantom2Mono_0 0xcc25,0x0010,0x0005,0x0003
+#define wroteENCChannelConfigurationEncodePhantom3_0 0xcc25,0x0010,0x0006,0x0000
+#define wroteENCChannelConfigurationEncodePhantom4_0 0xcc25,0x0010,0x0007,0x0000
+#define wroteENCChannelConfigurationEncodeSurround0_0 0xcc25,0x0010,0x0008,0x0000
+#define wroteENCChannelConfigurationEncodeSurround1_0 0xcc25,0x0010,0x0009,0x0000
+#define wroteENCChannelConfigurationEncodeSurround2_0 0xcc25,0x0010,0x000a,0x0000
+#define wroteENCChannelConfigurationEncodeSurround2Stereo_0 0xcc25,0x0010,0x000a,0x0001
+#define wroteENCChannelConfigurationEncodeSurround2LtRt_0 0xcc25,0x0010,0x000a,0x0002
+#define wroteENCChannelConfigurationEncodeSurround2Mono_0 0xcc25,0x0010,0x000a,0x0003
+#define wroteENCChannelConfigurationEncodeSurround3_0 0xcc25,0x0010,0x000b,0x0000
+#define wroteENCChannelConfigurationEncodeSurround4_0 0xcc25,0x0010,0x000c,0x0000
+#define wroteENCChannelConfigurationEncodeNone_1 0xcc25,0x0010,0x0101,0x0000
+#define wroteENCChannelConfigurationEncodeMono_1 0xcc25,0x0010,0x0102,0x0000
+#define wroteENCChannelConfigurationEncodePhantom0_1 0xcc25,0x0010,0x0103,0x0000
+#define wroteENCChannelConfigurationEncodePhantom0Stereo_1 0xcc25,0x0010,0x0103,0x0001
+#define wroteENCChannelConfigurationEncodePhantom0LtRt_1 0xcc25,0x0010,0x0103,0x0002
+#define wroteENCChannelConfigurationEncodePhantom0Mono_1 0xcc25,0x0010,0x0103,0x0003
+#define wroteENCChannelConfigurationEncodePhantom0Dual_1 0xcc25,0x0010,0x0103,0x0004
+#define wroteENCChannelConfigurationEncodePhantom1_1 0xcc25,0x0010,0x0104,0x0000
+#define wroteENCChannelConfigurationEncodePhantom2_1 0xcc25,0x0010,0x0105,0x0000
+#define wroteENCChannelConfigurationEncodePhantom2Stereo_1 0xcc25,0x0010,0x0105,0x0001
+#define wroteENCChannelConfigurationEncodePhantom2LtRt_1 0xcc25,0x0010,0x0105,0x0002
+#define wroteENCChannelConfigurationEncodePhantom2Mono_1 0xcc25,0x0010,0x0105,0x0003
+#define wroteENCChannelConfigurationEncodePhantom3_1 0xcc25,0x0010,0x0106,0x0000
+#define wroteENCChannelConfigurationEncodePhantom4_1 0xcc25,0x0010,0x0107,0x0000
+#define wroteENCChannelConfigurationEncodeSurround0_1 0xcc25,0x0010,0x0108,0x0000
+#define wroteENCChannelConfigurationEncodeSurround1_1 0xcc25,0x0010,0x0109,0x0000
+#define wroteENCChannelConfigurationEncodeSurround2_1 0xcc25,0x0010,0x010a,0x0000
+#define wroteENCChannelConfigurationEncodeSurround2Stereo_1 0xcc25,0x0010,0x010a,0x0001
+#define wroteENCChannelConfigurationEncodeSurround2LtRt_1 0xcc25,0x0010,0x010a,0x0002
+#define wroteENCChannelConfigurationEncodeSurround2Mono_1 0xcc25,0x0010,0x010a,0x0003
+#define wroteENCChannelConfigurationEncodeSurround3_1 0xcc25,0x0010,0x010b,0x0000
+#define wroteENCChannelConfigurationEncodeSurround4_1 0xcc25,0x0010,0x010c,0x0000
+#define wroteENCChannelConfigurationEncodeNone_2 0xcc25,0x0010,0x0201,0x0000
+#define wroteENCChannelConfigurationEncodeMono_2 0xcc25,0x0010,0x0202,0x0000
+#define wroteENCChannelConfigurationEncodePhantom0_2 0xcc25,0x0010,0x0203,0x0000
+#define wroteENCChannelConfigurationEncodePhantom0Stereo_2 0xcc25,0x0010,0x0203,0x0001
+#define wroteENCChannelConfigurationEncodePhantom0LtRt_2 0xcc25,0x0010,0x0203,0x0002
+#define wroteENCChannelConfigurationEncodePhantom0Mono_2 0xcc25,0x0010,0x0203,0x0003
+#define wroteENCChannelConfigurationEncodePhantom0Dual_2 0xcc25,0x0010,0x0203,0x0004
+#define wroteENCChannelConfigurationEncodePhantom1_2 0xcc25,0x0010,0x0204,0x0000
+#define wroteENCChannelConfigurationEncodePhantom2_2 0xcc25,0x0010,0x0205,0x0000
+#define wroteENCChannelConfigurationEncodePhantom2Stereo_2 0xcc25,0x0010,0x0205,0x0001
+#define wroteENCChannelConfigurationEncodePhantom2LtRt_2 0xcc25,0x0010,0x0205,0x0002
+#define wroteENCChannelConfigurationEncodePhantom2Mono_2 0xcc25,0x0010,0x0205,0x0003
+#define wroteENCChannelConfigurationEncodePhantom3_2 0xcc25,0x0010,0x0206,0x0000
+#define wroteENCChannelConfigurationEncodePhantom4_2 0xcc25,0x0010,0x0207,0x0000
+#define wroteENCChannelConfigurationEncodeSurround0_2 0xcc25,0x0010,0x0208,0x0000
+#define wroteENCChannelConfigurationEncodeSurround1_2 0xcc25,0x0010,0x0209,0x0000
+#define wroteENCChannelConfigurationEncodeSurround2_2 0xcc25,0x0010,0x020a,0x0000
+#define wroteENCChannelConfigurationEncodeSurround2Stereo_2 0xcc25,0x0010,0x020a,0x0001
+#define wroteENCChannelConfigurationEncodeSurround2LtRt_2 0xcc25,0x0010,0x020a,0x0002
+#define wroteENCChannelConfigurationEncodeSurround2Mono_2 0xcc25,0x0010,0x020a,0x0003
+#define wroteENCChannelConfigurationEncodeSurround3_2 0xcc25,0x0010,0x020b,0x0000
+#define wroteENCChannelConfigurationEncodeSurround4_2 0xcc25,0x0010,0x020c,0x0000
+#define wroteENCChannelConfigurationEncodeNoneLwRw_0 0xcc25,0x0010,0x0001,0x0100
+#define wroteENCChannelConfigurationEncodeNoneLhRh_0 0xcc25,0x0010,0x0001,0x0400
+#define wroteENCChannelConfigurationEncodeNoneLwRwLhRh_0 0xcc25,0x0010,0x0001,0x0500
+#define wroteENCChannelConfigurationEncodeMonoLwRw_0 0xcc25,0x0010,0x0002,0x0100
+#define wroteENCChannelConfigurationEncodeMonoLhRh_0 0xcc25,0x0010,0x0002,0x0400
+#define wroteENCChannelConfigurationEncodeMonoLwRwLhRh_0 0xcc25,0x0010,0x0002,0x0500
+#define wroteENCChannelConfigurationEncodePhantom0LwRw_0 0xcc25,0x0010,0x0003,0x0100
+#define wroteENCChannelConfigurationEncodePhantom0LhRh_0 0xcc25,0x0010,0x0003,0x0400
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRh_0 0xcc25,0x0010,0x0003,0x0500
+#define wroteENCChannelConfigurationEncodePhantom0LwRwStereo_0 0xcc25,0x0010,0x0003,0x0101
+#define wroteENCChannelConfigurationEncodePhantom0LhRhStereo_0 0xcc25,0x0010,0x0003,0x0401
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhStereo_0 0xcc25,0x0010,0x0003,0x0501
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLtRt_0 0xcc25,0x0010,0x0003,0x0102
+#define wroteENCChannelConfigurationEncodePhantom0LhRhLtRt_0 0xcc25,0x0010,0x0003,0x0402
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhLtRt_0 0xcc25,0x0010,0x0003,0x0502
+#define wroteENCChannelConfigurationEncodePhantom0LwRwMono_0 0xcc25,0x0010,0x0003,0x0103
+#define wroteENCChannelConfigurationEncodePhantom0LhRhMono_0 0xcc25,0x0010,0x0003,0x0403
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhMono_0 0xcc25,0x0010,0x0003,0x0503
+#define wroteENCChannelConfigurationEncodePhantom0LwRwDual_0 0xcc25,0x0010,0x0003,0x0104
+#define wroteENCChannelConfigurationEncodePhantom0LhRhDual_0 0xcc25,0x0010,0x0003,0x0404
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhDual_0 0xcc25,0x0010,0x0003,0x0504
+#define wroteENCChannelConfigurationEncodePhantom1LwRw_0 0xcc25,0x0010,0x0004,0x0100
+#define wroteENCChannelConfigurationEncodePhantom1LhRh_0 0xcc25,0x0010,0x0004,0x0400
+#define wroteENCChannelConfigurationEncodePhantom1LwRwLhRh_0 0xcc25,0x0010,0x0004,0x0500
+#define wroteENCChannelConfigurationEncodePhantom2LwRw_0 0xcc25,0x0010,0x0005,0x0100
+#define wroteENCChannelConfigurationEncodePhantom2LhRh_0 0xcc25,0x0010,0x0005,0x0400
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRh_0 0xcc25,0x0010,0x0005,0x0500
+#define wroteENCChannelConfigurationEncodePhantom2LwRwStereo_0 0xcc25,0x0010,0x0005,0x0101
+#define wroteENCChannelConfigurationEncodePhantom2LhRhStereo_0 0xcc25,0x0010,0x0005,0x0401
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhStereo_0 0xcc25,0x0010,0x0005,0x0501
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLtRt_0 0xcc25,0x0010,0x0005,0x0102
+#define wroteENCChannelConfigurationEncodePhantom2LhRhLtRt_0 0xcc25,0x0010,0x0005,0x0402
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhLtRt_0 0xcc25,0x0010,0x0005,0x0502
+#define wroteENCChannelConfigurationEncodePhantom2LwRwMono_0 0xcc25,0x0010,0x0005,0x0103
+#define wroteENCChannelConfigurationEncodePhantom2LhRhMono_0 0xcc25,0x0010,0x0005,0x0403
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhMono_0 0xcc25,0x0010,0x0005,0x0503
+#define wroteENCChannelConfigurationEncodePhantom3LwRw_0 0xcc25,0x0010,0x0006,0x0100
+#define wroteENCChannelConfigurationEncodePhantom3LhRh_0 0xcc25,0x0010,0x0006,0x0400
+#define wroteENCChannelConfigurationEncodePhantom3LwRwLhRh_0 0xcc25,0x0010,0x0006,0x0500
+#define wroteENCChannelConfigurationEncodePhantom4LwRw_0 0xcc25,0x0010,0x0007,0x0100
+#define wroteENCChannelConfigurationEncodePhantom4LhRh_0 0xcc25,0x0010,0x0007,0x0400
+#define wroteENCChannelConfigurationEncodePhantom4LwRwLhRh_0 0xcc25,0x0010,0x0007,0x0500
+#define wroteENCChannelConfigurationEncodeSurround0LwRw_0 0xcc25,0x0010,0x0008,0x0100
+#define wroteENCChannelConfigurationEncodeSurround0LhRh_0 0xcc25,0x0010,0x0008,0x0400
+#define wroteENCChannelConfigurationEncodeSurround0LwRwLhRh_0 0xcc25,0x0010,0x0008,0x0500
+#define wroteENCChannelConfigurationEncodeSurround1LwRw_0 0xcc25,0x0010,0x0009,0x0100
+#define wroteENCChannelConfigurationEncodeSurround1LhRh_0 0xcc25,0x0010,0x0009,0x0400
+#define wroteENCChannelConfigurationEncodeSurround1LwRwLhRh_0 0xcc25,0x0010,0x0009,0x0500
+#define wroteENCChannelConfigurationEncodeSurround2LwRw_0 0xcc25,0x0010,0x000a,0x0100
+#define wroteENCChannelConfigurationEncodeSurround2LhRh_0 0xcc25,0x0010,0x000a,0x0400
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRh_0 0xcc25,0x0010,0x000a,0x0500
+#define wroteENCChannelConfigurationEncodeSurround2LwRwStereo_0 0xcc25,0x0010,0x000a,0x0101
+#define wroteENCChannelConfigurationEncodeSurround2LhRhStereo_0 0xcc25,0x0010,0x000a,0x0401
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhStereo_0 0xcc25,0x0010,0x000a,0x0501
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLtRt_0 0xcc25,0x0010,0x000a,0x0102
+#define wroteENCChannelConfigurationEncodeSurround2LhRhLtRt_0 0xcc25,0x0010,0x000a,0x0402
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhLtRt_0 0xcc25,0x0010,0x000a,0x0502
+#define wroteENCChannelConfigurationEncodeSurround2LwRwMono_0 0xcc25,0x0010,0x000a,0x0103
+#define wroteENCChannelConfigurationEncodeSurround2LhRhMono_0 0xcc25,0x0010,0x000a,0x0403
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhMono_0 0xcc25,0x0010,0x000a,0x0503
+#define wroteENCChannelConfigurationEncodeSurround3LwRw_0 0xcc25,0x0010,0x000b,0x0100
+#define wroteENCChannelConfigurationEncodeSurround3LhRh_0 0xcc25,0x0010,0x000b,0x0400
+#define wroteENCChannelConfigurationEncodeSurround3LwRwLhRh_0 0xcc25,0x0010,0x000b,0x0500
+#define wroteENCChannelConfigurationEncodeSurround4LwRw_0 0xcc25,0x0010,0x000c,0x0100
+#define wroteENCChannelConfigurationEncodeSurround4LhRh_0 0xcc25,0x0010,0x000c,0x0400
+#define wroteENCChannelConfigurationEncodeSurround4LwRwLhRh_0 0xcc25,0x0010,0x000c,0x0500
+#define wroteENCChannelConfigurationEncodeNoneLwRw_1 0xcc25,0x0010,0x0101,0x0100
+#define wroteENCChannelConfigurationEncodeNoneLhRh_1 0xcc25,0x0010,0x0101,0x0400
+#define wroteENCChannelConfigurationEncodeNoneLwRwLhRh_1 0xcc25,0x0010,0x0101,0x0500
+#define wroteENCChannelConfigurationEncodeMonoLwRw_1 0xcc25,0x0010,0x0102,0x0100
+#define wroteENCChannelConfigurationEncodeMonoLhRh_1 0xcc25,0x0010,0x0102,0x0400
+#define wroteENCChannelConfigurationEncodeMonoLwRwLhRh_1 0xcc25,0x0010,0x0102,0x0500
+#define wroteENCChannelConfigurationEncodePhantom0LwRw_1 0xcc25,0x0010,0x0103,0x0100
+#define wroteENCChannelConfigurationEncodePhantom0LhRh_1 0xcc25,0x0010,0x0103,0x0400
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRh_1 0xcc25,0x0010,0x0103,0x0500
+#define wroteENCChannelConfigurationEncodePhantom0LwRwStereo_1 0xcc25,0x0010,0x0103,0x0101
+#define wroteENCChannelConfigurationEncodePhantom0LhRhStereo_1 0xcc25,0x0010,0x0103,0x0401
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhStereo_1 0xcc25,0x0010,0x0103,0x0501
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLtRt_1 0xcc25,0x0010,0x0103,0x0102
+#define wroteENCChannelConfigurationEncodePhantom0LhRhLtRt_1 0xcc25,0x0010,0x0103,0x0402
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhLtRt_1 0xcc25,0x0010,0x0103,0x0502
+#define wroteENCChannelConfigurationEncodePhantom0LwRwMono_1 0xcc25,0x0010,0x0103,0x0103
+#define wroteENCChannelConfigurationEncodePhantom0LhRhMono_1 0xcc25,0x0010,0x0103,0x0403
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhMono_1 0xcc25,0x0010,0x0103,0x0503
+#define wroteENCChannelConfigurationEncodePhantom0LwRwDual_1 0xcc25,0x0010,0x0103,0x0104
+#define wroteENCChannelConfigurationEncodePhantom0LhRhDual_1 0xcc25,0x0010,0x0103,0x0404
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhDual_1 0xcc25,0x0010,0x0103,0x0504
+#define wroteENCChannelConfigurationEncodePhantom1LwRw_1 0xcc25,0x0010,0x0104,0x0100
+#define wroteENCChannelConfigurationEncodePhantom1LhRh_1 0xcc25,0x0010,0x0104,0x0400
+#define wroteENCChannelConfigurationEncodePhantom1LwRwLhRh_1 0xcc25,0x0010,0x0104,0x0500
+#define wroteENCChannelConfigurationEncodePhantom2LwRw_1 0xcc25,0x0010,0x0105,0x0100
+#define wroteENCChannelConfigurationEncodePhantom2LhRh_1 0xcc25,0x0010,0x0105,0x0400
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRh_1 0xcc25,0x0010,0x0105,0x0500
+#define wroteENCChannelConfigurationEncodePhantom2LwRwStereo_1 0xcc25,0x0010,0x0105,0x0101
+#define wroteENCChannelConfigurationEncodePhantom2LhRhStereo_1 0xcc25,0x0010,0x0105,0x0401
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhStereo_1 0xcc25,0x0010,0x0105,0x0501
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLtRt_1 0xcc25,0x0010,0x0105,0x0102
+#define wroteENCChannelConfigurationEncodePhantom2LhRhLtRt_1 0xcc25,0x0010,0x0105,0x0402
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhLtRt_1 0xcc25,0x0010,0x0105,0x0502
+#define wroteENCChannelConfigurationEncodePhantom2LwRwMono_1 0xcc25,0x0010,0x0105,0x0103
+#define wroteENCChannelConfigurationEncodePhantom2LhRhMono_1 0xcc25,0x0010,0x0105,0x0403
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhMono_1 0xcc25,0x0010,0x0105,0x0503
+#define wroteENCChannelConfigurationEncodePhantom3LwRw_1 0xcc25,0x0010,0x0106,0x0100
+#define wroteENCChannelConfigurationEncodePhantom3LhRh_1 0xcc25,0x0010,0x0106,0x0400
+#define wroteENCChannelConfigurationEncodePhantom3LwRwLhRh_1 0xcc25,0x0010,0x0106,0x0500
+#define wroteENCChannelConfigurationEncodePhantom4LwRw_1 0xcc25,0x0010,0x0107,0x0100
+#define wroteENCChannelConfigurationEncodePhantom4LhRh_1 0xcc25,0x0010,0x0107,0x0400
+#define wroteENCChannelConfigurationEncodePhantom4LwRwLhRh_1 0xcc25,0x0010,0x0107,0x0500
+#define wroteENCChannelConfigurationEncodeSurround0LwRw_1 0xcc25,0x0010,0x0108,0x0100
+#define wroteENCChannelConfigurationEncodeSurround0LhRh_1 0xcc25,0x0010,0x0108,0x0400
+#define wroteENCChannelConfigurationEncodeSurround0LwRwLhRh_1 0xcc25,0x0010,0x0108,0x0500
+#define wroteENCChannelConfigurationEncodeSurround1LwRw_1 0xcc25,0x0010,0x0109,0x0100
+#define wroteENCChannelConfigurationEncodeSurround1LhRh_1 0xcc25,0x0010,0x0109,0x0400
+#define wroteENCChannelConfigurationEncodeSurround1LwRwLhRh_1 0xcc25,0x0010,0x0109,0x0500
+#define wroteENCChannelConfigurationEncodeSurround2LwRw_1 0xcc25,0x0010,0x010a,0x0100
+#define wroteENCChannelConfigurationEncodeSurround2LhRh_1 0xcc25,0x0010,0x010a,0x0400
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRh_1 0xcc25,0x0010,0x010a,0x0500
+#define wroteENCChannelConfigurationEncodeSurround2LwRwStereo_1 0xcc25,0x0010,0x010a,0x0101
+#define wroteENCChannelConfigurationEncodeSurround2LhRhStereo_1 0xcc25,0x0010,0x010a,0x0401
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhStereo_1 0xcc25,0x0010,0x010a,0x0501
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLtRt_1 0xcc25,0x0010,0x010a,0x0102
+#define wroteENCChannelConfigurationEncodeSurround2LhRhLtRt_1 0xcc25,0x0010,0x010a,0x0402
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhLtRt_1 0xcc25,0x0010,0x010a,0x0502
+#define wroteENCChannelConfigurationEncodeSurround2LwRwMono_1 0xcc25,0x0010,0x010a,0x0103
+#define wroteENCChannelConfigurationEncodeSurround2LhRhMono_1 0xcc25,0x0010,0x010a,0x0403
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhMono_1 0xcc25,0x0010,0x010a,0x0503
+#define wroteENCChannelConfigurationEncodeSurround3LwRw_1 0xcc25,0x0010,0x010b,0x0100
+#define wroteENCChannelConfigurationEncodeSurround3LhRh_1 0xcc25,0x0010,0x010b,0x0400
+#define wroteENCChannelConfigurationEncodeSurround3LwRwLhRh_1 0xcc25,0x0010,0x010b,0x0500
+#define wroteENCChannelConfigurationEncodeSurround4LwRw_1 0xcc25,0x0010,0x010c,0x0100
+#define wroteENCChannelConfigurationEncodeSurround4LhRh_1 0xcc25,0x0010,0x010c,0x0400
+#define wroteENCChannelConfigurationEncodeSurround4LwRwLhRh_1 0xcc25,0x0010,0x010c,0x0500
+#define wroteENCChannelConfigurationEncodeNoneLwRw_2 0xcc25,0x0010,0x0201,0x0100
+#define wroteENCChannelConfigurationEncodeNoneLhRh_2 0xcc25,0x0010,0x0201,0x0400
+#define wroteENCChannelConfigurationEncodeNoneLwRwLhRh_2 0xcc25,0x0010,0x0201,0x0500
+#define wroteENCChannelConfigurationEncodeMonoLwRw_2 0xcc25,0x0010,0x0202,0x0100
+#define wroteENCChannelConfigurationEncodeMonoLhRh_2 0xcc25,0x0010,0x0202,0x0400
+#define wroteENCChannelConfigurationEncodeMonoLwRwLhRh_2 0xcc25,0x0010,0x0202,0x0500
+#define wroteENCChannelConfigurationEncodePhantom0LwRw_2 0xcc25,0x0010,0x0203,0x0100
+#define wroteENCChannelConfigurationEncodePhantom0LhRh_2 0xcc25,0x0010,0x0203,0x0400
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRh_2 0xcc25,0x0010,0x0203,0x0500
+#define wroteENCChannelConfigurationEncodePhantom0LwRwStereo_2 0xcc25,0x0010,0x0203,0x0101
+#define wroteENCChannelConfigurationEncodePhantom0LhRhStereo_2 0xcc25,0x0010,0x0203,0x0401
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhStereo_2 0xcc25,0x0010,0x0203,0x0501
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLtRt_2 0xcc25,0x0010,0x0203,0x0102
+#define wroteENCChannelConfigurationEncodePhantom0LhRhLtRt_2 0xcc25,0x0010,0x0203,0x0402
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhLtRt_2 0xcc25,0x0010,0x0203,0x0502
+#define wroteENCChannelConfigurationEncodePhantom0LwRwMono_2 0xcc25,0x0010,0x0203,0x0103
+#define wroteENCChannelConfigurationEncodePhantom0LhRhMono_2 0xcc25,0x0010,0x0203,0x0403
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhMono_2 0xcc25,0x0010,0x0203,0x0503
+#define wroteENCChannelConfigurationEncodePhantom0LwRwDual_2 0xcc25,0x0010,0x0203,0x0104
+#define wroteENCChannelConfigurationEncodePhantom0LhRhDual_2 0xcc25,0x0010,0x0203,0x0404
+#define wroteENCChannelConfigurationEncodePhantom0LwRwLhRhDual_2 0xcc25,0x0010,0x0203,0x0504
+#define wroteENCChannelConfigurationEncodePhantom1LwRw_2 0xcc25,0x0010,0x0204,0x0100
+#define wroteENCChannelConfigurationEncodePhantom1LhRh_2 0xcc25,0x0010,0x0204,0x0400
+#define wroteENCChannelConfigurationEncodePhantom1LwRwLhRh_2 0xcc25,0x0010,0x0204,0x0500
+#define wroteENCChannelConfigurationEncodePhantom2LwRw_2 0xcc25,0x0010,0x0205,0x0100
+#define wroteENCChannelConfigurationEncodePhantom2LhRh_2 0xcc25,0x0010,0x0205,0x0400
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRh_2 0xcc25,0x0010,0x0205,0x0500
+#define wroteENCChannelConfigurationEncodePhantom2LwRwStereo_2 0xcc25,0x0010,0x0205,0x0101
+#define wroteENCChannelConfigurationEncodePhantom2LhRhStereo_2 0xcc25,0x0010,0x0205,0x0401
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhStereo_2 0xcc25,0x0010,0x0205,0x0501
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLtRt_2 0xcc25,0x0010,0x0205,0x0102
+#define wroteENCChannelConfigurationEncodePhantom2LhRhLtRt_2 0xcc25,0x0010,0x0205,0x0402
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhLtRt_2 0xcc25,0x0010,0x0205,0x0502
+#define wroteENCChannelConfigurationEncodePhantom2LwRwMono_2 0xcc25,0x0010,0x0205,0x0103
+#define wroteENCChannelConfigurationEncodePhantom2LhRhMono_2 0xcc25,0x0010,0x0205,0x0403
+#define wroteENCChannelConfigurationEncodePhantom2LwRwLhRhMono_2 0xcc25,0x0010,0x0205,0x0503
+#define wroteENCChannelConfigurationEncodePhantom3LwRw_2 0xcc25,0x0010,0x0206,0x0100
+#define wroteENCChannelConfigurationEncodePhantom3LhRh_2 0xcc25,0x0010,0x0206,0x0400
+#define wroteENCChannelConfigurationEncodePhantom3LwRwLhRh_2 0xcc25,0x0010,0x0206,0x0500
+#define wroteENCChannelConfigurationEncodePhantom4LwRw_2 0xcc25,0x0010,0x0207,0x0100
+#define wroteENCChannelConfigurationEncodePhantom4LhRh_2 0xcc25,0x0010,0x0207,0x0400
+#define wroteENCChannelConfigurationEncodePhantom4LwRwLhRh_2 0xcc25,0x0010,0x0207,0x0500
+#define wroteENCChannelConfigurationEncodeSurround0LwRw_2 0xcc25,0x0010,0x0208,0x0100
+#define wroteENCChannelConfigurationEncodeSurround0LhRh_2 0xcc25,0x0010,0x0208,0x0400
+#define wroteENCChannelConfigurationEncodeSurround0LwRwLhRh_2 0xcc25,0x0010,0x0208,0x0500
+#define wroteENCChannelConfigurationEncodeSurround1LwRw_2 0xcc25,0x0010,0x0209,0x0100
+#define wroteENCChannelConfigurationEncodeSurround1LhRh_2 0xcc25,0x0010,0x0209,0x0400
+#define wroteENCChannelConfigurationEncodeSurround1LwRwLhRh_2 0xcc25,0x0010,0x0209,0x0500
+#define wroteENCChannelConfigurationEncodeSurround2LwRw_2 0xcc25,0x0010,0x020a,0x0100
+#define wroteENCChannelConfigurationEncodeSurround2LhRh_2 0xcc25,0x0010,0x020a,0x0400
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRh_2 0xcc25,0x0010,0x020a,0x0500
+#define wroteENCChannelConfigurationEncodeSurround2LwRwStereo_2 0xcc25,0x0010,0x020a,0x0101
+#define wroteENCChannelConfigurationEncodeSurround2LhRhStereo_2 0xcc25,0x0010,0x020a,0x0401
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhStereo_2 0xcc25,0x0010,0x020a,0x0501
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLtRt_2 0xcc25,0x0010,0x020a,0x0102
+#define wroteENCChannelConfigurationEncodeSurround2LhRhLtRt_2 0xcc25,0x0010,0x020a,0x0402
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhLtRt_2 0xcc25,0x0010,0x020a,0x0502
+#define wroteENCChannelConfigurationEncodeSurround2LwRwMono_2 0xcc25,0x0010,0x020a,0x0103
+#define wroteENCChannelConfigurationEncodeSurround2LhRhMono_2 0xcc25,0x0010,0x020a,0x0403
+#define wroteENCChannelConfigurationEncodeSurround2LwRwLhRhMono_2 0xcc25,0x0010,0x020a,0x0503
+#define wroteENCChannelConfigurationEncodeSurround3LwRw_2 0xcc25,0x0010,0x020b,0x0100
+#define wroteENCChannelConfigurationEncodeSurround3LhRh_2 0xcc25,0x0010,0x020b,0x0400
+#define wroteENCChannelConfigurationEncodeSurround3LwRwLhRh_2 0xcc25,0x0010,0x020b,0x0500
+#define wroteENCChannelConfigurationEncodeSurround4LwRw_2 0xcc25,0x0010,0x020c,0x0100
+#define wroteENCChannelConfigurationEncodeSurround4LhRh_2 0xcc25,0x0010,0x020c,0x0400
+#define wroteENCChannelConfigurationEncodeSurround4LwRwLhRh_2 0xcc25,0x0010,0x020c,0x0500
+#define readENCChannelConfigurationEncodeExtChan 0xc225,0x1300
+#define wroteENCChannelConfigurationEncodeExtChanNone 0xca25,0x1300
+#define wroteENCChannelConfigurationEncodeExtChanLwRw 0xca25,0x1301
+#define wroteENCChannelConfigurationEncodeExtChanLhRh 0xca25,0x1304
+#define wroteENCChannelConfigurationEncodeExtChanLwRwLhRh 0xca25,0x1305
+#define wroteENCChannelConfigurationEncode 0xcc25,0x0010
+#define readENCProgramFormat 0xc425,0x0014
+#define wroteENCProgramFormat 0xcc25,0x0014
+#define readENCListeningFormat 0xc425,0x0018
+#define wroteENCListeningFormat 0xcc25,0x0018
+#define readENCFrameLength 0xc325,0x001c
+#define wroteENCFrameLength 0xcb25,0x001c
+#define readENCBypass 0xc225,0x1e00
+#define writeENCBypassEnable 0xca25,0x1e01
+#define writeENCBypassDisable 0xca25,0x1e00
+#define readENCSelect 0xc225,0x1f00
+#define writeENCSelectPCE 0xca25,0x1f08
+#define writeENCSelectMPE 0xca25,0x1f13
+#define writeENCSelectDDE 0xca25,0x1f0a
+#define writeENCSelectDTE 0xca25,0x1f06
+#define writeENCSelectACE 0xca25,0x1f0c
+#define readENCChannelMapFrom 0xc625,0x2010
+#define wroteENCChannelMapFrom 0xce25,0x2010
+#define readENCChannelMapTo 0xc625,0x3010
+#define wroteENCChannelMapTo 0xce25,0x3010
+#define readENCSampleProcess 0xc625,0x4004
+#define readENCSampleProcess0 0xc225,0x4000
+#define readENCSampleProcess1 0xc225,0x4100
+#define readENCSampleProcess2 0xc225,0x4200
+#define readENCSampleProcess3 0xc225,0x4300
+#define readENCStatus 0xc508,0x0025
+#define readENCControl 0xc225,0x0400,0xc425,0x0008,0xc625,0x2010,0xc625,0x3010
+#define readVOLMode 0xc226,0x0400
+#define writeVOLModeDisable 0xca26,0x0400
+#define writeVOLModeEnable 0xca26,0x0401
+#define readVOLChannelCount 0xc226,0x0500
+#define readVOLImplementation 0xc226,0x0600
+#define writeVOLImplementationInactive 0xca26,0x0600
+#define writeVOLImplementationInternal 0xca26,0x060f
+#define writeVOLImplementationInternalDirect 0xca26,0x060e
+#define writeVOLImplementationExternal 0xca26,0x060d
+#define writeVOLImplementationExternalDirect 0xca26,0x060c
+#define readVOLRampTime 0xc326,0x0008
+#define wroteVOLRampTime 0xcb26,0x0008
+#define readVOLControlMaster 0xc326,0x0010
+#define readVOLOffsetMaster 0xc326,0x0012
+#define readVOLInternalStatusMaster 0xc326,0x0014
+#define readVOLExternalStatusMaster 0xc326,0x0016
+#define readVOLTrimLeft 0xc326,0x0018
+#define readVOLTrimRght 0xc326,0x0020
+#define readVOLTrimCntr 0xc326,0x0028
+#define readVOLTrimWide 0xc326,0x0038
+#define readVOLTrimRWid 0xc326,0x0040
+#define readVOLTrimROvr 0xc326,0x0050
+#define readVOLTrimSurr 0xc326,0x0058
+#define readVOLTrimRSur 0xc326,0x0060
+#define readVOLTrimBack 0xc326,0x0068
+#define readVOLTrimRBak 0xc326,0x0070
+#define readVOLTrimSubw 0xc326,0x0078
+#define readVOLTrimRSub 0xc326,0x0080
+#define readVOLTrimLHed 0xc326,0x0088
+#define readVOLTrimRHed 0xc326,0x0090
+#define readVOLTrimCHed 0xc326,0x0098
+#define readVOLTrimTOverHd 0xc326,0x00a0
+#define readVOLTrimLHSi 0xc326,0x00a8
+#define readVOLTrimRHSi 0xc326,0x00b0
+#define readVOLTrimLHBk 0xc326,0x00b8
+#define readVOLTrimRHBk 0xc326,0x00c0
+#define readVOLTrimCHBk 0xc326,0x00c8
+#define readVOLTrimLCtrHd 0xc326,0x00e8
+#define readVOLTrimRCtrHd 0xc326,0x00f0
+#define readVOLOffsetLeft 0xc326,0x001a
+#define readVOLOffsetRght 0xc326,0x0022
+#define readVOLOffsetCntr 0xc326,0x002a
+#define readVOLOffsetWide 0xc326,0x003a
+#define readVOLOffsetRWid 0xc326,0x0042
+#define readVOLOffsetROvr 0xc326,0x0052
+#define readVOLOffsetSurr 0xc326,0x005a
+#define readVOLOffsetRSur 0xc326,0x0062
+#define readVOLOffsetBack 0xc326,0x006a
+#define readVOLOffsetRBak 0xc326,0x0072
+#define readVOLOffsetSubw 0xc326,0x007a
+#define readVOLOffsetRSub 0xc326,0x0082
+#define readVOLOffsetLHed 0xc326,0x008a
+#define readVOLOffsetRHed 0xc326,0x0092
+#define readVOLOffsetCHed 0xc326,0x009a
+#define readVOLOffsetTOverHd 0xc326,0x00a2
+#define readVOLOffsetLHSi 0xc326,0x00aa
+#define readVOLOffsetRHSi 0xc326,0x00b2
+#define readVOLOffsetLHBk 0xc326,0x00ba
+#define readVOLOffsetRHBk 0xc326,0x00c2
+#define readVOLOffsetCHBk 0xc326,0x00ca
+#define readVOLOffsetLCtrHd 0xc326,0x00ea
+#define readVOLOffsetRCtrHd 0xc326,0x00f2
+#define readVOLInternalStatusLeft 0xc326,0x001c
+#define readVOLInternalStatusRght 0xc326,0x0024
+#define readVOLInternalStatusCntr 0xc326,0x002c
+#define readVOLInternalStatusWide 0xc326,0x003c
+#define readVOLInternalStatusRWid 0xc326,0x0044
+#define readVOLInternalStatusROvr 0xc326,0x0054
+#define readVOLInternalStatusSurr 0xc326,0x005c
+#define readVOLInternalStatusRSur 0xc326,0x0064
+#define readVOLInternalStatusBack 0xc326,0x006c
+#define readVOLInternalStatusRBak 0xc326,0x0074
+#define readVOLInternalStatusSubw 0xc326,0x007c
+#define readVOLInternalStatusRSub 0xc326,0x0084
+#define readVOLInternalStatusLHed 0xc326,0x008c
+#define readVOLInternalStatusRHed 0xc326,0x0094
+#define readVOLInternalStatusCHed 0xc326,0x009c
+#define readVOLInternalStatusTOverHd 0xc326,0x00a4
+#define readVOLInternalStatusLHSi 0xc326,0x00ac
+#define readVOLInternalStatusRHSi 0xc326,0x00b4
+#define readVOLInternalStatusLHBk 0xc326,0x00bc
+#define readVOLInternalStatusRHBk 0xc326,0x00c4
+#define readVOLInternalStatusCHBk 0xc326,0x00cc
+#define readVOLInternalStatusLCtrHd 0xc326,0x00ec
+#define readVOLInternalStatusRCtrHd 0xc326,0x00f4
+#define readVOLExternalStatusLeft 0xc326,0x001e
+#define readVOLExternalStatusRght 0xc326,0x0026
+#define readVOLExternalStatusCntr 0xc326,0x002e
+#define readVOLExternalStatusWide 0xc326,0x003e
+#define readVOLExternalStatusRWid 0xc326,0x0046
+#define readVOLExternalStatusROvr 0xc326,0x0056
+#define readVOLExternalStatusSurr 0xc326,0x005e
+#define readVOLExternalStatusRSur 0xc326,0x0066
+#define readVOLExternalStatusBack 0xc326,0x006e
+#define readVOLExternalStatusRBak 0xc326,0x0076
+#define readVOLExternalStatusSubw 0xc326,0x007e
+#define readVOLExternalStatusRSub 0xc326,0x0086
+#define readVOLExternalStatusLHed 0xc326,0x008e
+#define readVOLExternalStatusRHed 0xc326,0x0096
+#define readVOLExternalStatusCHed 0xc326,0x009e
+#define readVOLExternalStatusTOverHd 0xc326,0x00a6
+#define readVOLExternalStatusLHSi 0xc326,0x00ae
+#define readVOLExternalStatusRHSi 0xc326,0x00b6
+#define readVOLExternalStatusLHBk 0xc326,0x00be
+#define readVOLExternalStatusRHBk 0xc326,0x00c6
+#define readVOLExternalStatusCHBk 0xc326,0x00ce
+#define readVOLExternalStatusLCtrHd 0xc326,0x00ee
+#define readVOLExternalStatusRCtrHd 0xc326,0x00f6
+#define wroteVOLTrimLeft 0xcb26,0x0018
+#define wroteVOLTrimRght 0xcb26,0x0020
+#define wroteVOLTrimCntr 0xcb26,0x0028
+#define wroteVOLTrimWide 0xcb26,0x0038
+#define wroteVOLTrimRWid 0xcb26,0x0040
+#define wroteVOLTrimROvr 0xcb26,0x0050
+#define wroteVOLTrimSurr 0xcb26,0x0058
+#define wroteVOLTrimRSur 0xcb26,0x0060
+#define wroteVOLTrimBack 0xcb26,0x0068
+#define wroteVOLTrimRBak 0xcb26,0x0070
+#define wroteVOLTrimSubw 0xcb26,0x0078
+#define wroteVOLTrimRSub 0xcb26,0x0080
+#define wroteVOLTrimLHed 0xcb26,0x0088
+#define wroteVOLTrimRHed 0xcb26,0x0090
+#define wroteVOLTrimCHed 0xcb26,0x0098
+#define wroteVOLTrimTOverHd 0xcb26,0x00a0
+#define wroteVOLTrimLHSi 0xcb26,0x00a8
+#define wroteVOLTrimRHSi 0xcb26,0x00b0
+#define wroteVOLTrimLHBk 0xcb26,0x00b8
+#define wroteVOLTrimRHBk 0xcb26,0x00c0
+#define wroteVOLTrimCHBk 0xcb26,0x00c8
+#define wroteVOLTrimRCtrHd 0xcb26,0x00f0
+#define wroteVOLOffsetLeft 0xcb26,0x001a
+#define wroteVOLOffsetRght 0xcb26,0x0022
+#define wroteVOLOffsetCntr 0xcb26,0x002a
+#define wroteVOLOffsetWide 0xcb26,0x003a
+#define wroteVOLOffsetRWid 0xcb26,0x0042
+#define wroteVOLOffsetROvr 0xcb26,0x0052
+#define wroteVOLOffsetSurr 0xcb26,0x005a
+#define wroteVOLOffsetRSur 0xcb26,0x0062
+#define wroteVOLOffsetBack 0xcb26,0x006a
+#define wroteVOLOffsetRBak 0xcb26,0x0072
+#define wroteVOLOffsetSubw 0xcb26,0x007a
+#define wroteVOLOffsetRSub 0xcb26,0x0082
+#define wroteVOLOffsetLHed 0xcb26,0x008a
+#define wroteVOLOffsetRHed 0xcb26,0x0092
+#define wroteVOLOffsetCHed 0xcb26,0x009a
+#define wroteVOLOffsetTOverHd 0xcb26,0x00a2
+#define wroteVOLOffsetLHSi 0xcb26,0x00aa
+#define wroteVOLOffsetRHSi 0xcb26,0x00b2
+#define wroteVOLOffsetLHBk 0xcb26,0x00ba
+#define wroteVOLOffsetRHBk 0xcb26,0x00c2
+#define wroteVOLOffsetCHBk 0xcb26,0x00ca
+#define wroteVOLOffsetRCtrHd 0xcb26,0x00f2
+#define wroteVOLExternalStatusLeft 0xcb26,0x001e
+#define wroteVOLExternalStatusRght 0xcb26,0x0026
+#define wroteVOLExternalStatusCntr 0xcb26,0x002e
+#define wroteVOLExternalStatusWide 0xcb26,0x003e
+#define wroteVOLExternalStatusRWid 0xcb26,0x0046
+#define wroteVOLExternalStatusROvr 0xcb26,0x0056
+#define wroteVOLExternalStatusSurr 0xcb26,0x005e
+#define wroteVOLExternalStatusRSur 0xcb26,0x0066
+#define wroteVOLExternalStatusBack 0xcb26,0x006e
+#define wroteVOLExternalStatusRBak 0xcb26,0x0076
+#define wroteVOLExternalStatusSubw 0xcb26,0x007e
+#define wroteVOLExternalStatusRSub 0xcb26,0x0086
+#define wroteVOLExternalStatusLHed 0xcb26,0x008e
+#define wroteVOLExternalStatusRHed 0xcb26,0x0096
+#define wroteVOLExternalStatusCHed 0xcb26,0x009e
+#define wroteVOLExternalStatusTOverHd 0xcb26,0x00a6
+#define wroteVOLExternalStatusLHSi 0xcb26,0x00ae
+#define wroteVOLExternalStatusRHSi 0xcb26,0x00b6
+#define wroteVOLExternalStatusLHBk 0xcb26,0x00be
+#define wroteVOLExternalStatusRHBk 0xcb26,0x00c6
+#define wroteVOLExternalStatusCHBk 0xcb26,0x00ce
+#define wroteVOLExternalStatusRCtrHd 0xcb26,0x00f6
+#define wroteVOLInternalStatusLeft 0xcb26,0x001c
+#define wroteVOLInternalStatusRght 0xcb26,0x0024
+#define wroteVOLInternalStatusCntr 0xcb26,0x002c
+#define wroteVOLInternalStatusWide 0xcb26,0x003c
+#define wroteVOLInternalStatusRWid 0xcb26,0x0044
+#define wroteVOLInternalStatusROvr 0xcb26,0x0054
+#define wroteVOLInternalStatusSurr 0xcb26,0x005c
+#define wroteVOLInternalStatusRSur 0xcb26,0x0064
+#define wroteVOLInternalStatusBack 0xcb26,0x006c
+#define wroteVOLInternalStatusRBak 0xcb26,0x0074
+#define wroteVOLInternalStatusSubw 0xcb26,0x007c
+#define wroteVOLInternalStatusRSub 0xcb26,0x0084
+#define wroteVOLInternalStatusLHed 0xcb26,0x008c
+#define wroteVOLInternalStatusRHed 0xcb26,0x0094
+#define wroteVOLInternalStatusCHed 0xcb26,0x009c
+#define wroteVOLInternalStatusTOverHd 0xcb26,0x00a4
+#define wroteVOLInternalStatusLHSi 0xcb26,0x00ac
+#define wroteVOLInternalStatusRHSi 0xcb26,0x00b4
+#define wroteVOLInternalStatusLHBk 0xcb26,0x00bc
+#define wroteVOLInternalStatusRHBk 0xcb26,0x00c4
+#define wroteVOLInternalStatusCHBk 0xcb26,0x00cc
+#define wroteVOLInternalStatusRCtrHd 0xcb26,0x00f4
+#define readVOLStatus 0xc508,0x0026
+#define readVOLControl 0xc226,0x0400,0xc226,0x0500,0xc226,0x0600,0xc326,0x0008,0xc326,0x0010,0xc326,0x0012,0xc326,0x0018,0xc326,0x001a,0xc326,0x0020,0xc326,0x0022,0xc326,0x0028,0xc326,0x002a,0xc326,0x0038,0xc326,0x003a,0xc326,0x0040,0xc326,0x0042,0xc326,0x0050,0xc326,0x0052,0xc326,0x0058,0xc326,0x005a,0xc326,0x0060,0xc326,0x0062,0xc326,0x0068,0xc326,0x006a,0xc326,0x0070,0xc326,0x0072,0xc326,0x0078,0xc326,0x007a,0xc326,0x0080,0xc326,0x0082,0xc326,0x0090,0xc326,0x0092
+#define writeVOLChannelCountN(16) 0xca26,0x0510
+#define readOBMode 0xc223,0x0400
+#define writeOBModeEnable 0xca23,0x0401
+#define writeOBModeIEC 0xca23,0x0402
+#define readOBSioSelect 0xc223,0x0500
+#define readOBSampleRate 0xc223,0x0600
+#define wroteOBSampleRateUnknown 0xca23,0x0600
+#define wroteOBSampleRateNone 0xca23,0x0601
+#define wroteOBSampleRate8000Hz 0xca23,0x060b
+#define wroteOBSampleRate11025Hz 0xca23,0x060c
+#define wroteOBSampleRate12000Hz 0xca23,0x060d
+#define wroteOBSampleRate16000Hz 0xca23,0x060e
+#define wroteOBSampleRate22050Hz 0xca23,0x060f
+#define wroteOBSampleRate24000Hz 0xca23,0x0610
+#define wroteOBSampleRate32000Hz 0xca23,0x0602
+#define wroteOBSampleRate44100Hz 0xca23,0x0603
+#define wroteOBSampleRate48000Hz 0xca23,0x0604
+#define wroteOBSampleRate64000Hz 0xca23,0x0608
+#define wroteOBSampleRate88200Hz 0xca23,0x0605
+#define wroteOBSampleRate96000Hz 0xca23,0x0606
+#define wroteOBSampleRate128000Hz 0xca23,0x0609
+#define wroteOBSampleRate176400Hz 0xca23,0x060a
+#define wroteOBSampleRate192000Hz 0xca23,0x0607
+#define readOBAudio 0xc223,0x0700
+#define wroteOBAudioQuiet 0xca23,0x0700
+#define wroteOBAudioSound 0xca23,0x0701
+#define wroteOBAudioFlush 0xca23,0x0702
+#define wroteOBAudioQuietMuted 0xca23,0x0710
+#define wroteOBAudioSoundMuted 0xca23,0x0711
+#define wroteOBAudioFlushMuted 0xca23,0x0712
+#define readOBClock 0xc223,0x0800
+#define writeOBClockExternal 0xca23,0x0800
+#define writeOBClockInternal 0xca23,0x0801
+#define readOBFlush 0xc223,0x0900
+#define writeOBFlushDisable 0xca23,0x0900
+#define writeOBFlushEnable 0xca23,0x0901
+#define readOBRateTrackMode 0xc223,0x0a00
+#define writeOBRateTrackDisable 0xca23,0x0a00
+#define writeOBRateTrackEnable 0xca23,0x0a01
+#define readOBMarkerInsertionMode 0xc223,0x0b00
+#define writeOBMarkerInsertionModeDisable 0xca23,0x0b00
+#define writeOBMarkerInsertionModeEnable 0xca23,0x0b01
+#define readOBMaxNumBufOverride 0xc223,0x0c00
+#define writeOBMaxNumBufOverrideNone 0xca23,0x0c00
+#define readOBUnknownNumBufOverride 0xc223,0x0d00
+#define writeOBUnknownNumBufOverrideNone 0xca23,0x0d00
+#define readOBNoneNumBufOverride 0xc223,0x0e00
+#define writeOBNoneNumBufOverrideNone 0xca23,0x0e00
+#define readOBPassNumBufOverride 0xc223,0x0f00
+#define writeOBPassNumBufOverrideNone 0xca23,0x0f00
+#define readOBSngNumBufOverride 0xc223,0x1000
+#define writeOBSngNumBufOverrideNone 0xca23,0x1000
+#define readOBAutoNumBufOverride 0xc223,0x1100
+#define writeOBAutoNumBufOverrideNone 0xca23,0x1100
+#define readOBBitstreamNumBufOverride 0xc223,0x1200
+#define writeOBBitstreamNumBufOverrideNone 0xca23,0x1200
+#define readOBDtsallNumBufOverride 0xc223,0x1300
+#define writeOBDtsallNumBufOverrideNone 0xca23,0x1300
+#define readOBPcmautoNumBufOverride 0xc223,0x1400
+#define writeOBPcmautoNumBufOverrideNone 0xca23,0x1400
+#define readOBPcmNumBufOverride 0xc223,0x1500
+#define writeOBPcmNumBufOverrideNone 0xca23,0x1500
+#define readOBPc8NumBufOverride 0xc223,0x1600
+#define writeOBPc8NumBufOverrideNone 0xca23,0x1600
+#define readOBAc3NumBufOverride 0xc223,0x1700
+#define writeOBAc3NumBufOverrideNone 0xca23,0x1700
+#define readOBDtsNumBufOverride 0xc223,0x1800
+#define writeOBDtsNumBufOverrideNone 0xca23,0x1800
+#define readOBAacNumBufOverride 0xc223,0x1900
+#define writeOBAacNumBufOverrideNone 0xca23,0x1900
+#define readOBMpegNumBufOverride 0xc223,0x1a00
+#define writeOBMpegNumBufOverrideNone 0xca23,0x1a00
+#define readOBDts12NumBufOverride 0xc223,0x1b00
+#define writeOBDts12NumBufOverrideNone 0xca23,0x1b00
+#define readOBDts13NumBufOverride 0xc223,0x1c00
+#define writeOBDts13NumBufOverrideNone 0xca23,0x1c00
+#define readOBDts14NumBufOverride 0xc223,0x1d00
+#define writeOBDts14NumBufOverrideNone 0xca23,0x1d00
+#define readOBDts16NumBufOverride 0xc223,0x1e00
+#define writeOBDts16NumBufOverrideNone 0xca23,0x1e00
+#define readOBWma9proNumBufOverride 0xc223,0x1f00
+#define writeOBWma9proNumBufOverrideNone 0xca23,0x1f00
+#define readOBMp3NumBufOverride 0xc223,0x2000
+#define writeOBMp3NumBufOverrideNone 0xca23,0x2000
+#define readOBDsd1NumBufOverride 0xc223,0x2100
+#define writeOBDsd1NumBufOverrideNone 0xca23,0x2100
+#define readOBDsd2NumBufOverride 0xc223,0x2200
+#define writeOBDsd2NumBufOverrideNone 0xca23,0x2200
+#define readOBDsd3NumBufOverride 0xc223,0x2300
+#define writeOBDsd3NumBufOverrideNone 0xca23,0x2300
+#define readOBDdpNumBufOverride 0xc223,0x2400
+#define writeOBDdpNumBufOverrideNone 0xca23,0x2400
+#define readOBDtshdNumBufOverride 0xc223,0x2500
+#define writeOBDtshdNumBufOverrideNone 0xca23,0x2500
+#define readOBThdNumBufOverride 0xc223,0x2600
+#define writeOBThdNumBufOverrideNone 0xca23,0x2600
+#define readOBDxpNumBufOverride 0xc223,0x2700
+#define writeOBDxpNumBufOverrideNone 0xca23,0x2700
+#define readOBStatus 0xc508,0x0023
+#define readOBControl 0xc223,0x0400,0xc223,0x0500,0xc223,0x0800,0xc223,0x0900
+#define readOBDitCsrA0 0xf704,0x0004,0x0100,0x4600
+#define readOBDitCsrA1 0xf704,0x0004,0x0104,0x4600
+#define readOBDitCsrA2 0xf704,0x0004,0x0108,0x4600
+#define readOBDitCsrA3 0xf704,0x0004,0x010c,0x4600
+#define readOBDitCsrA4 0xf704,0x0004,0x0110,0x4600
+#define readOBDitCsrA5 0xf704,0x0004,0x0114,0x4600
+#define readOBDitCsrB0 0xf704,0x0004,0x0118,0x4600
+#define readOBDitCsrB1 0xf704,0x0004,0x011c,0x4600
+#define readOBDitCsrB2 0xf704,0x0004,0x0120,0x4600
+#define readOBDitCsrB3 0xf704,0x0004,0x0124,0x4600
+#define readOBDitCsrB4 0xf704,0x0004,0x0128,0x4600
+#define readOBDitCsrB5 0xf704,0x0004,0x012c,0x4600
+#define readASPProcessingResetError 0xc25c,0x0800
+#define readAFPProcessingResetError 0xc25c,0x0a00
+#define readAIPProcessingResetError 0xc25c,0x0c00
+#define writeASPProcessingResetError 0xca5c,0x0801
+#define writeAFPProcessingResetError 0xca5c,0x0a01
+#define writeAIPProcessingResetError 0xca5c,0x0c01
+#define readASPProcessingFirstError 0xc45c,0x001c
+#define readAFPProcessingFirstError 0xc45c,0x0024
+#define readAIPProcessingFirstError 0xc45c,0x002c
+#define readASPProcessingCurrentError 0xc45c,0x0044
+#define readAFPProcessingCurrentError 0xc45c,0x004c
+#define readAIPProcessingCurrentError 0xc45c,0x0054
+#define readIDIdentification 0xc404,0x0004
+#define execSTDReady 0xc100
+#define execCUSDefault 0xf101
+#define execCUSAtBoot 0xf102
+#define execCUSAtTime 0xf104
+#define execSTDListeningModeStandard 0xc111
+#define execSTDListeningModePure 0xc112
+#define readSTDError 0xc1ff
+#define writestream1 0xcd09,0x0400
+#define writestream2 0xcd09,0x0401
+#define writestream3 0xcd09,0x0402
+#define readstream 0xc509,0x0400
+#define readNICMode 0xc227,0x0400
+#define writeNICModeDisable 0xca27,0x0400
+#define writeNICModeEnable 0xca27,0x0401
+#define readNICState 0xc227,0x0500
+#define wroteNICStateDeasserted 0xca27,0x0500
+#define wroteNICStateAsserted 0xca27,0x0501
+#define writeNICDeassert 0xca27,0x0601
+#define readPCMMode 0xc234,0x0400
+#define writePCMModeEnable 0xca34,0x0401
+#define readPCMRamp 0xc234,0x0500
+#define writePCMRampDisable 0xca34,0x0500
+#define writePCMRampEnable 0xca34,0x0501
+#define readPCMScaleVolume 0xc234,0x0600
+#define wrotePCMScaleVolume 0xca34,0x0600
+#define readPCMLFEDownmixVolume 0xc234,0x0700
+#define writePCMLFEDownmixVolumeN(20) 0xca34,0x0714
+#define readPCMChannelConfigurationProgram 0xc434,0x0008
+#define writePCMChannelConfigurationProgramUnknown 0xcc34,0x0008,0x0000,0x0000
+#define writePCMChannelConfigurationProgramNone 0xcc34,0x0008,0x0001,0x0000
+#define writePCMChannelConfigurationProgramMono 0xcc34,0x0008,0x0002,0x0000
+#define writePCMChannelConfigurationProgramStereo 0xcc34,0x0008,0x0003,0x0000
+#define writePCMChannelConfigurationProgramStereoLtRt 0xcc34,0x0008,0x0003,0x0002
+#define writePCMChannelConfigurationProgramStereoMono 0xcc34,0x0008,0x0003,0x0003
+#define writePCMChannelConfigurationProgram3Stereo 0xcc34,0x0008,0x0108,0x0000
+#define writePCMChannelConfigurationProgramPhantom 0xcc34,0x0008,0x0105,0x0000
+#define writePCMChannelConfigurationProgramSurround 0xcc34,0x0008,0x010a,0x0000
+#define writePCMChannelConfigurationProgramPhantom0Stereo_0 0xcc34,0x0008,0x0003,0x0001
+#define writePCMChannelConfigurationProgramPhantom0Dual_0 0xcc34,0x0008,0x0003,0x0004
+#define writePCMChannelConfigurationProgramPhantom1_0 0xcc34,0x0008,0x0004,0x0000
+#define writePCMChannelConfigurationProgramPhantom2_0 0xcc34,0x0008,0x0005,0x0000
+#define writePCMChannelConfigurationProgramPhantom2Stereo_0 0xcc34,0x0008,0x0005,0x0001
+#define writePCMChannelConfigurationProgramPhantom2LtRt_0 0xcc34,0x0008,0x0005,0x0002
+#define writePCMChannelConfigurationProgramPhantom2Mono_0 0xcc34,0x0008,0x0005,0x0003
+#define writePCMChannelConfigurationProgramPhantom3_0 0xcc34,0x0008,0x0006,0x0000
+#define writePCMChannelConfigurationProgramPhantom4_0 0xcc34,0x0008,0x0007,0x0000
+#define writePCMChannelConfigurationProgramSurround0_0 0xcc34,0x0008,0x0008,0x0000
+#define writePCMChannelConfigurationProgramSurround1_0 0xcc34,0x0008,0x0009,0x0000
+#define writePCMChannelConfigurationProgramSurround2_0 0xcc34,0x0008,0x000a,0x0000
+#define writePCMChannelConfigurationProgramSurround2Stereo_0 0xcc34,0x0008,0x000a,0x0001
+#define writePCMChannelConfigurationProgramSurround2LtRt_0 0xcc34,0x0008,0x000a,0x0002
+#define writePCMChannelConfigurationProgramSurround2Mono_0 0xcc34,0x0008,0x000a,0x0003
+#define writePCMChannelConfigurationProgramSurround3_0 0xcc34,0x0008,0x000b,0x0000
+#define writePCMChannelConfigurationProgramSurround4_0 0xcc34,0x0008,0x000c,0x0000
+#define writePCMChannelConfigurationProgramNone_1 0xcc34,0x0008,0x0101,0x0000
+#define writePCMChannelConfigurationProgramMono_1 0xcc34,0x0008,0x0102,0x0000
+#define writePCMChannelConfigurationProgramPhantom0_1 0xcc34,0x0008,0x0103,0x0000
+#define writePCMChannelConfigurationProgramPhantom0Stereo_1 0xcc34,0x0008,0x0103,0x0001
+#define writePCMChannelConfigurationProgramPhantom0LtRt_1 0xcc34,0x0008,0x0103,0x0002
+#define writePCMChannelConfigurationProgramPhantom0Mono_1 0xcc34,0x0008,0x0103,0x0003
+#define writePCMChannelConfigurationProgramPhantom0Dual_1 0xcc34,0x0008,0x0103,0x0004
+#define writePCMChannelConfigurationProgramPhantom1_1 0xcc34,0x0008,0x0104,0x0000
+#define writePCMChannelConfigurationProgramPhantom2Stereo_1 0xcc34,0x0008,0x0105,0x0001
+#define writePCMChannelConfigurationProgramPhantom2LtRt_1 0xcc34,0x0008,0x0105,0x0002
+#define writePCMChannelConfigurationProgramPhantom2Mono_1 0xcc34,0x0008,0x0105,0x0003
+#define writePCMChannelConfigurationProgramPhantom3_1 0xcc34,0x0008,0x0106,0x0000
+#define writePCMChannelConfigurationProgramPhantom4_1 0xcc34,0x0008,0x0107,0x0000
+#define writePCMChannelConfigurationProgramSurround1_1 0xcc34,0x0008,0x0109,0x0000
+#define writePCMChannelConfigurationProgramSurround2Stereo_1 0xcc34,0x0008,0x010a,0x0001
+#define writePCMChannelConfigurationProgramSurround2LtRt_1 0xcc34,0x0008,0x010a,0x0002
+#define writePCMChannelConfigurationProgramSurround2Mono_1 0xcc34,0x0008,0x010a,0x0003
+#define writePCMChannelConfigurationProgramSurround3_1 0xcc34,0x0008,0x010b,0x0000
+#define writePCMChannelConfigurationProgramSurround4_1 0xcc34,0x0008,0x010c,0x0000
+#define writePCMChannelConfigurationProgramNone_2 0xcc34,0x0008,0x0201,0x0000
+#define writePCMChannelConfigurationProgramMono_2 0xcc34,0x0008,0x0202,0x0000
+#define writePCMChannelConfigurationProgramPhantom0_2 0xcc34,0x0008,0x0203,0x0000
+#define writePCMChannelConfigurationProgramPhantom0Stereo_2 0xcc34,0x0008,0x0203,0x0001
+#define writePCMChannelConfigurationProgramPhantom0LtRt_2 0xcc34,0x0008,0x0203,0x0002
+#define writePCMChannelConfigurationProgramPhantom0Mono_2 0xcc34,0x0008,0x0203,0x0003
+#define writePCMChannelConfigurationProgramPhantom0Dual_2 0xcc34,0x0008,0x0203,0x0004
+#define writePCMChannelConfigurationProgramPhantom1_2 0xcc34,0x0008,0x0204,0x0000
+#define writePCMChannelConfigurationProgramPhantom2_2 0xcc34,0x0008,0x0205,0x0000
+#define writePCMChannelConfigurationProgramPhantom2Stereo_2 0xcc34,0x0008,0x0205,0x0001
+#define writePCMChannelConfigurationProgramPhantom2LtRt_2 0xcc34,0x0008,0x0205,0x0002
+#define writePCMChannelConfigurationProgramPhantom2Mono_2 0xcc34,0x0008,0x0205,0x0003
+#define writePCMChannelConfigurationProgramPhantom3_2 0xcc34,0x0008,0x0206,0x0000
+#define writePCMChannelConfigurationProgramPhantom4_2 0xcc34,0x0008,0x0207,0x0000
+#define writePCMChannelConfigurationProgramSurround0_2 0xcc34,0x0008,0x0208,0x0000
+#define writePCMChannelConfigurationProgramSurround1_2 0xcc34,0x0008,0x0209,0x0000
+#define writePCMChannelConfigurationProgramSurround2_2 0xcc34,0x0008,0x020a,0x0000
+#define writePCMChannelConfigurationProgramSurround2Stereo_2 0xcc34,0x0008,0x020a,0x0001
+#define writePCMChannelConfigurationProgramSurround2LtRt_2 0xcc34,0x0008,0x020a,0x0002
+#define writePCMChannelConfigurationProgramSurround2Mono_2 0xcc34,0x0008,0x020a,0x0003
+#define writePCMChannelConfigurationProgramSurround3_2 0xcc34,0x0008,0x020b,0x0000
+#define writePCMChannelConfigurationProgramSurround4_2 0xcc34,0x0008,0x020c,0x0000
+#define writePCMChannelConfigurationProgramNoneLwRw 0xcc34,0x0008,0x0001,0x0100
+#define writePCMChannelConfigurationProgramNoneLhRh 0xcc34,0x0008,0x0001,0x0400
+#define writePCMChannelConfigurationProgramNoneLwRwLhRh 0xcc34,0x0008,0x0001,0x0500
+#define writePCMChannelConfigurationProgramMonoLwRw 0xcc34,0x0008,0x0002,0x0100
+#define writePCMChannelConfigurationProgramMonoLhRh 0xcc34,0x0008,0x0002,0x0400
+#define writePCMChannelConfigurationProgramMonoLwRwLhRh 0xcc34,0x0008,0x0002,0x0500
+#define writePCMChannelConfigurationProgramStereoLwRw 0xcc34,0x0008,0x0003,0x0100
+#define writePCMChannelConfigurationProgramStereoLhRh 0xcc34,0x0008,0x0003,0x0400
+#define writePCMChannelConfigurationProgramStereoLwRwLhRh 0xcc34,0x0008,0x0003,0x0500
+#define writePCMChannelConfigurationProgramStereoLwRwLtRt 0xcc34,0x0008,0x0003,0x0102
+#define writePCMChannelConfigurationProgramStereoLhRhLtRt 0xcc34,0x0008,0x0003,0x0402
+#define writePCMChannelConfigurationProgramStereoLwRwLhRhLtRt 0xcc34,0x0008,0x0003,0x0502
+#define writePCMChannelConfigurationProgramStereoLwRwMono 0xcc34,0x0008,0x0003,0x0103
+#define writePCMChannelConfigurationProgramStereoLhRhMono 0xcc34,0x0008,0x0003,0x0403
+#define writePCMChannelConfigurationProgramStereoLwRwLhRhMono 0xcc34,0x0008,0x0003,0x0503
+#define writePCMChannelConfigurationProgram3StereoLwRw 0xcc34,0x0008,0x0108,0x0100
+#define writePCMChannelConfigurationProgram3StereoLhRh 0xcc34,0x0008,0x0108,0x0400
+#define writePCMChannelConfigurationProgram3StereoLwRwLhRh 0xcc34,0x0008,0x0108,0x0500
+#define writePCMChannelConfigurationProgramPhantomLwRw 0xcc34,0x0008,0x0105,0x0100
+#define writePCMChannelConfigurationProgramPhantomLhRh 0xcc34,0x0008,0x0105,0x0400
+#define writePCMChannelConfigurationProgramPhantomLwRwLhRh 0xcc34,0x0008,0x0105,0x0500
+#define writePCMChannelConfigurationProgramSurroundLwRw 0xcc34,0x0008,0x010a,0x0100
+#define writePCMChannelConfigurationProgramSurroundLhRh 0xcc34,0x0008,0x010a,0x0400
+#define writePCMChannelConfigurationProgramSurroundLwRwLhRh 0xcc34,0x0008,0x010a,0x0500
+#define writePCMChannelConfigurationProgramPhantom0LwRwStereo_0 0xcc34,0x0008,0x0003,0x0101
+#define writePCMChannelConfigurationProgramPhantom0LhRhStereo_0 0xcc34,0x0008,0x0003,0x0401
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhStereo_0 0xcc34,0x0008,0x0003,0x0501
+#define writePCMChannelConfigurationProgramPhantom0LwRwDual_0 0xcc34,0x0008,0x0003,0x0104
+#define writePCMChannelConfigurationProgramPhantom0LhRhDual_0 0xcc34,0x0008,0x0003,0x0404
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhDual_0 0xcc34,0x0008,0x0003,0x0504
+#define writePCMChannelConfigurationProgramPhantom1LwRw_0 0xcc34,0x0008,0x0004,0x0100
+#define writePCMChannelConfigurationProgramPhantom1LhRh_0 0xcc34,0x0008,0x0004,0x0400
+#define writePCMChannelConfigurationProgramPhantom1LwRwLhRh_0 0xcc34,0x0008,0x0004,0x0500
+#define writePCMChannelConfigurationProgramPhantom2LwRw_0 0xcc34,0x0008,0x0005,0x0100
+#define writePCMChannelConfigurationProgramPhantom2LhRh_0 0xcc34,0x0008,0x0005,0x0400
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRh_0 0xcc34,0x0008,0x0005,0x0500
+#define writePCMChannelConfigurationProgramPhantom2LwRwStereo_0 0xcc34,0x0008,0x0005,0x0101
+#define writePCMChannelConfigurationProgramPhantom2LhRhStereo_0 0xcc34,0x0008,0x0005,0x0401
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhStereo_0 0xcc34,0x0008,0x0005,0x0501
+#define writePCMChannelConfigurationProgramPhantom2LwRwLtRt_0 0xcc34,0x0008,0x0005,0x0102
+#define writePCMChannelConfigurationProgramPhantom2LhRhLtRt_0 0xcc34,0x0008,0x0005,0x0402
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhLtRt_0 0xcc34,0x0008,0x0005,0x0502
+#define writePCMChannelConfigurationProgramPhantom2LwRwMono_0 0xcc34,0x0008,0x0005,0x0103
+#define writePCMChannelConfigurationProgramPhantom2LhRhMono_0 0xcc34,0x0008,0x0005,0x0403
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhMono_0 0xcc34,0x0008,0x0005,0x0503
+#define writePCMChannelConfigurationProgramPhantom3LwRw_0 0xcc34,0x0008,0x0006,0x0100
+#define writePCMChannelConfigurationProgramPhantom3LhRh_0 0xcc34,0x0008,0x0006,0x0400
+#define writePCMChannelConfigurationProgramPhantom3LwRwLhRh_0 0xcc34,0x0008,0x0006,0x0500
+#define writePCMChannelConfigurationProgramPhantom4LwRw_0 0xcc34,0x0008,0x0007,0x0100
+#define writePCMChannelConfigurationProgramPhantom4LhRh_0 0xcc34,0x0008,0x0007,0x0400
+#define writePCMChannelConfigurationProgramPhantom4LwRwLhRh_0 0xcc34,0x0008,0x0007,0x0500
+#define writePCMChannelConfigurationProgramSurround0LwRw_0 0xcc34,0x0008,0x0008,0x0100
+#define writePCMChannelConfigurationProgramSurround0LhRh_0 0xcc34,0x0008,0x0008,0x0400
+#define writePCMChannelConfigurationProgramSurround0LwRwLhRh_0 0xcc34,0x0008,0x0008,0x0500
+#define writePCMChannelConfigurationProgramSurround1LwRw_0 0xcc34,0x0008,0x0009,0x0100
+#define writePCMChannelConfigurationProgramSurround1LhRh_0 0xcc34,0x0008,0x0009,0x0400
+#define writePCMChannelConfigurationProgramSurround1LwRwLhRh_0 0xcc34,0x0008,0x0009,0x0500
+#define writePCMChannelConfigurationProgramSurround2LwRw_0 0xcc34,0x0008,0x000a,0x0100
+#define writePCMChannelConfigurationProgramSurround2LhRh_0 0xcc34,0x0008,0x000a,0x0400
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRh_0 0xcc34,0x0008,0x000a,0x0500
+#define writePCMChannelConfigurationProgramSurround2LwRwStereo_0 0xcc34,0x0008,0x000a,0x0101
+#define writePCMChannelConfigurationProgramSurround2LhRhStereo_0 0xcc34,0x0008,0x000a,0x0401
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhStereo_0 0xcc34,0x0008,0x000a,0x0501
+#define writePCMChannelConfigurationProgramSurround2LwRwLtRt_0 0xcc34,0x0008,0x000a,0x0102
+#define writePCMChannelConfigurationProgramSurround2LhRhLtRt_0 0xcc34,0x0008,0x000a,0x0402
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhLtRt_0 0xcc34,0x0008,0x000a,0x0502
+#define writePCMChannelConfigurationProgramSurround2LwRwMono_0 0xcc34,0x0008,0x000a,0x0103
+#define writePCMChannelConfigurationProgramSurround2LhRhMono_0 0xcc34,0x0008,0x000a,0x0403
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhMono_0 0xcc34,0x0008,0x000a,0x0503
+#define writePCMChannelConfigurationProgramSurround3LwRw_0 0xcc34,0x0008,0x000b,0x0100
+#define writePCMChannelConfigurationProgramSurround3LhRh_0 0xcc34,0x0008,0x000b,0x0400
+#define writePCMChannelConfigurationProgramSurround3LwRwLhRh_0 0xcc34,0x0008,0x000b,0x0500
+#define writePCMChannelConfigurationProgramSurround4LwRw_0 0xcc34,0x0008,0x000c,0x0100
+#define writePCMChannelConfigurationProgramSurround4LhRh_0 0xcc34,0x0008,0x000c,0x0400
+#define writePCMChannelConfigurationProgramSurround4LwRwLhRh_0 0xcc34,0x0008,0x000c,0x0500
+#define writePCMChannelConfigurationProgramNoneLwRw_1 0xcc34,0x0008,0x0101,0x0100
+#define writePCMChannelConfigurationProgramNoneLhRh_1 0xcc34,0x0008,0x0101,0x0400
+#define writePCMChannelConfigurationProgramNoneLwRwLhRh_1 0xcc34,0x0008,0x0101,0x0500
+#define writePCMChannelConfigurationProgramMonoLwRw_1 0xcc34,0x0008,0x0102,0x0100
+#define writePCMChannelConfigurationProgramMonoLhRh_1 0xcc34,0x0008,0x0102,0x0400
+#define writePCMChannelConfigurationProgramMonoLwRwLhRh_1 0xcc34,0x0008,0x0102,0x0500
+#define writePCMChannelConfigurationProgramPhantom0LwRw_1 0xcc34,0x0008,0x0103,0x0100
+#define writePCMChannelConfigurationProgramPhantom0LhRh_1 0xcc34,0x0008,0x0103,0x0400
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRh_1 0xcc34,0x0008,0x0103,0x0500
+#define writePCMChannelConfigurationProgramPhantom0LwRwStereo_1 0xcc34,0x0008,0x0103,0x0101
+#define writePCMChannelConfigurationProgramPhantom0LhRhStereo_1 0xcc34,0x0008,0x0103,0x0401
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhStereo_1 0xcc34,0x0008,0x0103,0x0501
+#define writePCMChannelConfigurationProgramPhantom0LwRwLtRt_1 0xcc34,0x0008,0x0103,0x0102
+#define writePCMChannelConfigurationProgramPhantom0LhRhLtRt_1 0xcc34,0x0008,0x0103,0x0402
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhLtRt_1 0xcc34,0x0008,0x0103,0x0502
+#define writePCMChannelConfigurationProgramPhantom0LwRwMono_1 0xcc34,0x0008,0x0103,0x0103
+#define writePCMChannelConfigurationProgramPhantom0LhRhMono_1 0xcc34,0x0008,0x0103,0x0403
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhMono_1 0xcc34,0x0008,0x0103,0x0503
+#define writePCMChannelConfigurationProgramPhantom0LwRwDual_1 0xcc34,0x0008,0x0103,0x0104
+#define writePCMChannelConfigurationProgramPhantom0LhRhDual_1 0xcc34,0x0008,0x0103,0x0404
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhDual_1 0xcc34,0x0008,0x0103,0x0504
+#define writePCMChannelConfigurationProgramPhantom1LwRw_1 0xcc34,0x0008,0x0104,0x0100
+#define writePCMChannelConfigurationProgramPhantom1LhRh_1 0xcc34,0x0008,0x0104,0x0400
+#define writePCMChannelConfigurationProgramPhantom1LwRwLhRh_1 0xcc34,0x0008,0x0104,0x0500
+#define writePCMChannelConfigurationProgramPhantom2LwRwStereo_1 0xcc34,0x0008,0x0105,0x0101
+#define writePCMChannelConfigurationProgramPhantom2LhRhStereo_1 0xcc34,0x0008,0x0105,0x0401
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhStereo_1 0xcc34,0x0008,0x0105,0x0501
+#define writePCMChannelConfigurationProgramPhantom2LwRwLtRt_1 0xcc34,0x0008,0x0105,0x0102
+#define writePCMChannelConfigurationProgramPhantom2LhRhLtRt_1 0xcc34,0x0008,0x0105,0x0402
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhLtRt_1 0xcc34,0x0008,0x0105,0x0502
+#define writePCMChannelConfigurationProgramPhantom2LwRwMono_1 0xcc34,0x0008,0x0105,0x0103
+#define writePCMChannelConfigurationProgramPhantom2LhRhMono_1 0xcc34,0x0008,0x0105,0x0403
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhMono_1 0xcc34,0x0008,0x0105,0x0503
+#define writePCMChannelConfigurationProgramPhantom3LwRw_1 0xcc34,0x0008,0x0106,0x0100
+#define writePCMChannelConfigurationProgramPhantom3LhRh_1 0xcc34,0x0008,0x0106,0x0400
+#define writePCMChannelConfigurationProgramPhantom3LwRwLhRh_1 0xcc34,0x0008,0x0106,0x0500
+#define writePCMChannelConfigurationProgramPhantom4LwRw_1 0xcc34,0x0008,0x0107,0x0100
+#define writePCMChannelConfigurationProgramPhantom4LhRh_1 0xcc34,0x0008,0x0107,0x0400
+#define writePCMChannelConfigurationProgramPhantom4LwRwLhRh_1 0xcc34,0x0008,0x0107,0x0500
+#define writePCMChannelConfigurationProgramSurround1LwRw_1 0xcc34,0x0008,0x0109,0x0100
+#define writePCMChannelConfigurationProgramSurround1LhRh_1 0xcc34,0x0008,0x0109,0x0400
+#define writePCMChannelConfigurationProgramSurround1LwRwLhRh_1 0xcc34,0x0008,0x0109,0x0500
+#define writePCMChannelConfigurationProgramSurround2LwRwStereo_1 0xcc34,0x0008,0x010a,0x0101
+#define writePCMChannelConfigurationProgramSurround2LhRhStereo_1 0xcc34,0x0008,0x010a,0x0401
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhStereo_1 0xcc34,0x0008,0x010a,0x0501
+#define writePCMChannelConfigurationProgramSurround2LwRwLtRt_1 0xcc34,0x0008,0x010a,0x0102
+#define writePCMChannelConfigurationProgramSurround2LhRhLtRt_1 0xcc34,0x0008,0x010a,0x0402
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhLtRt_1 0xcc34,0x0008,0x010a,0x0502
+#define writePCMChannelConfigurationProgramSurround2LwRwMono_1 0xcc34,0x0008,0x010a,0x0103
+#define writePCMChannelConfigurationProgramSurround2LhRhMono_1 0xcc34,0x0008,0x010a,0x0403
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhMono_1 0xcc34,0x0008,0x010a,0x0503
+#define writePCMChannelConfigurationProgramSurround3LwRw_1 0xcc34,0x0008,0x010b,0x0100
+#define writePCMChannelConfigurationProgramSurround3LhRh_1 0xcc34,0x0008,0x010b,0x0400
+#define writePCMChannelConfigurationProgramSurround3LwRwLhRh_1 0xcc34,0x0008,0x010b,0x0500
+#define writePCMChannelConfigurationProgramSurround4LwRw_1 0xcc34,0x0008,0x010c,0x0100
+#define writePCMChannelConfigurationProgramSurround4LhRh_1 0xcc34,0x0008,0x010c,0x0400
+#define writePCMChannelConfigurationProgramSurround4LwRwLhRh_1 0xcc34,0x0008,0x010c,0x0500
+#define writePCMChannelConfigurationProgramNoneLwRw_2 0xcc34,0x0008,0x0201,0x0100
+#define writePCMChannelConfigurationProgramNoneLhRh_2 0xcc34,0x0008,0x0201,0x0400
+#define writePCMChannelConfigurationProgramNoneLwRwLhRh_2 0xcc34,0x0008,0x0201,0x0500
+#define writePCMChannelConfigurationProgramMonoLwRw_2 0xcc34,0x0008,0x0202,0x0100
+#define writePCMChannelConfigurationProgramMonoLhRh_2 0xcc34,0x0008,0x0202,0x0400
+#define writePCMChannelConfigurationProgramMonoLwRwLhRh_2 0xcc34,0x0008,0x0202,0x0500
+#define writePCMChannelConfigurationProgramPhantom0LwRw_2 0xcc34,0x0008,0x0203,0x0100
+#define writePCMChannelConfigurationProgramPhantom0LhRh_2 0xcc34,0x0008,0x0203,0x0400
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRh_2 0xcc34,0x0008,0x0203,0x0500
+#define writePCMChannelConfigurationProgramPhantom0LwRwStereo_2 0xcc34,0x0008,0x0203,0x0101
+#define writePCMChannelConfigurationProgramPhantom0LhRhStereo_2 0xcc34,0x0008,0x0203,0x0401
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhStereo_2 0xcc34,0x0008,0x0203,0x0501
+#define writePCMChannelConfigurationProgramPhantom0LwRwLtRt_2 0xcc34,0x0008,0x0203,0x0102
+#define writePCMChannelConfigurationProgramPhantom0LhRhLtRt_2 0xcc34,0x0008,0x0203,0x0402
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhLtRt_2 0xcc34,0x0008,0x0203,0x0502
+#define writePCMChannelConfigurationProgramPhantom0LwRwMono_2 0xcc34,0x0008,0x0203,0x0103
+#define writePCMChannelConfigurationProgramPhantom0LhRhMono_2 0xcc34,0x0008,0x0203,0x0403
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhMono_2 0xcc34,0x0008,0x0203,0x0503
+#define writePCMChannelConfigurationProgramPhantom0LwRwDual_2 0xcc34,0x0008,0x0203,0x0104
+#define writePCMChannelConfigurationProgramPhantom0LhRhDual_2 0xcc34,0x0008,0x0203,0x0404
+#define writePCMChannelConfigurationProgramPhantom0LwRwLhRhDual_2 0xcc34,0x0008,0x0203,0x0504
+#define writePCMChannelConfigurationProgramPhantom1LwRw_2 0xcc34,0x0008,0x0204,0x0100
+#define writePCMChannelConfigurationProgramPhantom1LhRh_2 0xcc34,0x0008,0x0204,0x0400
+#define writePCMChannelConfigurationProgramPhantom1LwRwLhRh_2 0xcc34,0x0008,0x0204,0x0500
+#define writePCMChannelConfigurationProgramPhantom2LwRw_2 0xcc34,0x0008,0x0205,0x0100
+#define writePCMChannelConfigurationProgramPhantom2LhRh_2 0xcc34,0x0008,0x0205,0x0400
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRh_2 0xcc34,0x0008,0x0205,0x0500
+#define writePCMChannelConfigurationProgramPhantom2LwRwStereo_2 0xcc34,0x0008,0x0205,0x0101
+#define writePCMChannelConfigurationProgramPhantom2LhRhStereo_2 0xcc34,0x0008,0x0205,0x0401
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhStereo_2 0xcc34,0x0008,0x0205,0x0501
+#define writePCMChannelConfigurationProgramPhantom2LwRwLtRt_2 0xcc34,0x0008,0x0205,0x0102
+#define writePCMChannelConfigurationProgramPhantom2LhRhLtRt_2 0xcc34,0x0008,0x0205,0x0402
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhLtRt_2 0xcc34,0x0008,0x0205,0x0502
+#define writePCMChannelConfigurationProgramPhantom2LwRwMono_2 0xcc34,0x0008,0x0205,0x0103
+#define writePCMChannelConfigurationProgramPhantom2LhRhMono_2 0xcc34,0x0008,0x0205,0x0403
+#define writePCMChannelConfigurationProgramPhantom2LwRwLhRhMono_2 0xcc34,0x0008,0x0205,0x0503
+#define writePCMChannelConfigurationProgramPhantom3LwRw_2 0xcc34,0x0008,0x0206,0x0100
+#define writePCMChannelConfigurationProgramPhantom3LhRh_2 0xcc34,0x0008,0x0206,0x0400
+#define writePCMChannelConfigurationProgramPhantom3LwRwLhRh_2 0xcc34,0x0008,0x0206,0x0500
+#define writePCMChannelConfigurationProgramPhantom4LwRw_2 0xcc34,0x0008,0x0207,0x0100
+#define writePCMChannelConfigurationProgramPhantom4LhRh_2 0xcc34,0x0008,0x0207,0x0400
+#define writePCMChannelConfigurationProgramPhantom4LwRwLhRh_2 0xcc34,0x0008,0x0207,0x0500
+#define writePCMChannelConfigurationProgramSurround0LwRw_2 0xcc34,0x0008,0x0208,0x0100
+#define writePCMChannelConfigurationProgramSurround0LhRh_2 0xcc34,0x0008,0x0208,0x0400
+#define writePCMChannelConfigurationProgramSurround0LwRwLhRh_2 0xcc34,0x0008,0x0208,0x0500
+#define writePCMChannelConfigurationProgramSurround1LwRw_2 0xcc34,0x0008,0x0209,0x0100
+#define writePCMChannelConfigurationProgramSurround1LhRh_2 0xcc34,0x0008,0x0209,0x0400
+#define writePCMChannelConfigurationProgramSurround1LwRwLhRh_2 0xcc34,0x0008,0x0209,0x0500
+#define writePCMChannelConfigurationProgramSurround2LwRw_2 0xcc34,0x0008,0x020a,0x0100
+#define writePCMChannelConfigurationProgramSurround2LhRh_2 0xcc34,0x0008,0x020a,0x0400
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRh_2 0xcc34,0x0008,0x020a,0x0500
+#define writePCMChannelConfigurationProgramSurround2LwRwStereo_2 0xcc34,0x0008,0x020a,0x0101
+#define writePCMChannelConfigurationProgramSurround2LhRhStereo_2 0xcc34,0x0008,0x020a,0x0401
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhStereo_2 0xcc34,0x0008,0x020a,0x0501
+#define writePCMChannelConfigurationProgramSurround2LwRwLtRt_2 0xcc34,0x0008,0x020a,0x0102
+#define writePCMChannelConfigurationProgramSurround2LhRhLtRt_2 0xcc34,0x0008,0x020a,0x0402
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhLtRt_2 0xcc34,0x0008,0x020a,0x0502
+#define writePCMChannelConfigurationProgramSurround2LwRwMono_2 0xcc34,0x0008,0x020a,0x0103
+#define writePCMChannelConfigurationProgramSurround2LhRhMono_2 0xcc34,0x0008,0x020a,0x0403
+#define writePCMChannelConfigurationProgramSurround2LwRwLhRhMono_2 0xcc34,0x0008,0x020a,0x0503
+#define writePCMChannelConfigurationProgramSurround3LwRw_2 0xcc34,0x0008,0x020b,0x0100
+#define writePCMChannelConfigurationProgramSurround3LhRh_2 0xcc34,0x0008,0x020b,0x0400
+#define writePCMChannelConfigurationProgramSurround3LwRwLhRh_2 0xcc34,0x0008,0x020b,0x0500
+#define writePCMChannelConfigurationProgramSurround4LwRw_2 0xcc34,0x0008,0x020c,0x0100
+#define writePCMChannelConfigurationProgramSurround4LhRh_2 0xcc34,0x0008,0x020c,0x0400
+#define writePCMChannelConfigurationProgramSurround4LwRwLhRh_2 0xcc34,0x0008,0x020c,0x0500
+#define readPCMChannelConfigurationProgramExtChan 0xc234,0x0b00
+#define writePCMChannelConfigurationProgramExtChanNone 0xca34,0x0b00
+#define writePCMChannelConfigurationProgramExtChanLhRh 0xca34,0x0b04
+#define writePCMChannelConfigurationProgramExtChanLwRw 0xca34,0x0b01
+#define writePCMChannelConfigurationProgramExtChanLhRhLwRw 0xca34,0x0b05
+#define writePCMChannelConfigurationProgramAuxUnknown 0xca34,0x0a00
+#define writePCMChannelConfigurationProgramAuxStereo 0xca34,0x0a01
+#define writePCMChannelConfigurationProgramAuxLtRt 0xca34,0x0a02
+#define writePCMChannelConfigurationProgramAuxMono 0xca34,0x0a03
+#define writePCMChannelConfigurationProgramAuxDual 0xca34,0x0a04
+#define readPCMCenterMixLevel 0xc334,0x000c
+#define wrotePCMCenterMixLevel 0xcb34,0x000c
+#define readPCMSurroundMixLevel 0xc334,0x000e
+#define wrotePCMSurroundMixLevel 0xcb34,0x000e
+#define readPCMLFEDownmixInclude 0xc234,0x1000
+#define writePCMLFEDownmixIncludeNo 0xca34,0x1000
+#define writePCMLFEDownmixIncludeYes 0xca34,0x1001
+#define readPCMStatus 0xc508,0x0034
+#define readPCMControl 0xc234,0x0400,0xc234,0x0500,0xc234,0x0600,0xc234,0x0700,0xc434,0x0008,0xc334,0x000c,0xc334,0x000e,0xc234,0x1000
+#define readDDPMode 0xc27a,0x0400
+#define readDDPOperationalMode 0xc27a,0x0600
+#define readDDPDynrngScaleHiQ6 0xc27a,0x0b00
+#define readDDPDynrngScaleLoQ6 0xc27a,0x0c00
+#define readDDPSpeakerRemapping 0xc27a,0x0e00
+#define writeDDPOperationalModeCustom0 0xca7a,0x0600
+#define writeDDPOperationalModeCustom1 0xca7a,0x0601
+#define writeDDPOperationalModeLine 0xca7a,0x0602
+#define writeDDPOperationalModeRF 0xca7a,0x0603
+#define writeDDPOperationalModePortableL8 0xca7a,0x0604
+#define writeDDPOperationalModePortableL11 0xca7a,0x0605
+#define writeDDPOperationalModePortableL14 0xca7a,0x0606
+#define writeDDPOperationalModePortableTest 0xca7a,0x0607
+#define readDDPLfe 0xc27a,0x0700
+#define writeDDPLfeDwnmixInclude 0xca7a,0x0700
+#define writeDDPLfeOnDefault 0xca7a,0x0701
+#define writeDDPLfe2 0xca7a,0x0702
+#define writeDDPDynrngScaleHiQ6N(100) 0xca7a,0x0b64
+#define writeDDPDynrngScaleLoQ6N(100) 0xca7a,0x0c64
+#define writeDDPSpeakerRemappingOff 0xca7a,0x0e00
+#define writeDDPSpeakerRemappingOn 0xca7a,0x0e01
+#define readDDPRemappingScaleFactor 0xc37a,0x0010
+#define readDDPExtDownmixMode 0xc27a,0x0800
+#define writeDDPExtDownmixRaw 0xca7a,0x08ff
+#define writeDDPExtDownmixMode1 0xca7a,0x0801
+#define writeDDPExtDownmixMode2 0xca7a,0x0802
+#define writeDDPExtDownmixMode3 0xca7a,0x0803
+#define writeDDPExtDownmixMode4 0xca7a,0x0804
+#define writeDDPExtDownmixMode5 0xca7a,0x0805
+#define writeDDPExtDownmixMode6 0xca7a,0x0806
+#define writeDDPExtDownmixMode7 0xca7a,0x0807
+#define writeDDPExtDownmixMode9 0xca7a,0x0809
+#define writeDDPExtDownmixMode10 0xca7a,0x080a
+#define writeDDPExtDownmixMode11 0xca7a,0x080b
+#define writeDDPExtDownmixMode12 0xca7a,0x080c
+#define writeDDPExtDownmixMode13 0xca7a,0x080d
+#define writeDDPExtDownmixMode14 0xca7a,0x080e
+#define writeDDPExtDownmixMode15 0xca7a,0x080f
+#define writeDDPExtDownmixMode16 0xca7a,0x0810
+#define writeDDPExtDownmixMode17 0xca7a,0x0811
+#define writeDDPExtDownmixMode18 0xca7a,0x0812
+#define writeDDPExtDownmixMode19 0xca7a,0x0813
+#define writeDDPExtDownmixMode20 0xca7a,0x0814
+#define writeDDPExtDownmixMode21 0xca7a,0x0815
+#define writeDDPExtDownmixMode22 0xca7a,0x0816
+#define writeDDPExtDownmixMode28 0xca7a,0x081c
+#define readDDPStereoMode 0xc27a,0x0900
+#define writeDDPStereoModeAuto 0xca7a,0x0900
+#define writeDDPStereoModeLtRt 0xca7a,0x0901
+#define writeDDPStereoModeLoRo 0xca7a,0x0902
+#define readDDPChanInfo 0xc37a,0x0012
+#define readDDPDlgNorm 0xc27a,0x0f00
+#define writeDDPDlgNormAuto 0xca7a,0x0f00
+#define writeDDPDlgNormEnable 0xca7a,0x0f01
+#define writeDDPDlgNormDisable 0xca7a,0x0f02
+#define readDDPRFModeGain 0xc27a,0x0500
+#define writeDDPRFModeGainAuto 0xca7a,0x0500
+#define writeDDPRFModeGainEnable 0xca7a,0x0501
+#define writeDDPRFModeGainDisable 0xca7a,0x0502
+#define readDDPPCMWordSize 0xc27a,0x1500
+#define writeDDPPCMWordSize16bitInt 0xca7a,0x1500
+#define writeDDPPCMWordSize24bitInt 0xca7a,0x1501
+#define writeDDPPCMWordSize32bitInt 0xca7a,0x1502
+#define writeDDPPCMWordSize32bitFloat 0xca7a,0x1503
+#define readDDPAssociatedAudioSubstreamSelect 0xc27a,0x1600
+#define writeDDPAssociatedAudioSubstreamSelect1 0xca7a,0x1601
+#define writeDDPAssociatedAudioSubstreamSelect2 0xca7a,0x1602
+#define writeDDPAssociatedAudioSubstreamSelect3 0xca7a,0x1603
+#define readDDPPCMOutErrorConcealment 0xc27a,0x1700
+#define writeDDPPCMOutErrorConcealmentDisable 0xca7a,0x1700
+#define writeDDPPCMOutErrorConcealmentRepeat 0xca7a,0x1701
+#define writeDDPPCMOutErrorConcealmentMute 0xca7a,0x1702
+#define writeDDPPCMOutErrorConcealmentRepeatMute 0xca7a,0x1703
+#define readDDPMetadataOut 0xc27a,0x1800
+#define writeDDPMetadataOutNo 0xca7a,0x1800
+#define writeDDPMetadataOutTimeSlice 0xca7a,0x1801
+#define writeDDPMetadataOutBitstreamInfo 0xca7a,0x1802
+#define writeDDPMetadataOutAudioBlock 0xca7a,0x1804
+#define writeDDPMetadataOutAuxData 0xca7a,0x1808
+#define writeDDPMetadataOutMixing 0xca7a,0x1810
+#define writeDDPMetadataOutRencoding 0xca7a,0x1820
+#define writeDDPMetadataOutChannelCfg 0xca7a,0x1840
+#define writeDDPMetadataOutIntelligentLoudness 0xca7a,0x1880
+#define readDDPDecorrelationMode 0xc27a,0x1900
+#define writeDDPDecorrelationModeNo 0xca7a,0x1900
+#define writeDDPDecorrelationModeGuided 0xca7a,0x1901
+#define writeDDPDecorrelationModeNonguided 0xca7a,0x1902
+#define readDDPMDCTBandLimitingMode 0xc27a,0x1a00
+#define writeDDPMDCTBandLimitingModeDisable 0xca7a,0x1a00
+#define writeDDPMDCTBandLimitingModeEnable 0xca7a,0x1a01
+#define readDDPDLBBufferDataType 0xc27a,0x1b00
+#define writeDDPDLBBufferDataTypeShort16 0xca7a,0x1b00
+#define writeDDPDLBBufferDataTypeIntLeft 0xca7a,0x1b01
+#define writeDDPDLBBufferDataTypeLong32 0xca7a,0x1b02
+#define writeDDPDLBBufferDataTypeFloat 0xca7a,0x1b03
+#define readDDPDLBBufferInterleaveFormat 0xc27a,0x1c00
+#define writeDDPDLBBufferInterleaveFormatNonInterleave 0xca7a,0x1c00
+#define writeDDPDLBBufferInterleaveFormatInterleave 0xca7a,0x1c01
+#define readDDPJOCDecodeMode 0xc27a,0x1d00
+#define writeDDPJOCDecodeModeDisable 0xca7a,0x1d00
+#define writeDDPJOCDecodeModePCM 0xca7a,0x1d01
+#define readDDPBitStreamInformation 0xc67b,0x0426
+#define readDDPBitStreamInformation0 0xc37b,0x0004
+#define readDDPBitStreamInformationAcmodBsid 0xc37b,0x0006
+#define readDDPBitStreamInformationBsmodCmixLev 0xc37b,0x0008
+#define readDDPBitStreamInformationComprCopyrightB 0xc37b,0x000a
+#define readDDPBitStreamInformationDHeadPhonmodDialNorm 0xc37b,0x000c
+#define readDDPBitStreamInformationDmixModDSurExMod 0xc37b,0x000e
+#define readDDPBitStreamInformationDSurModFrmSizCod 0xc37b,0x0010
+#define readDDPBitStreamInformationFrmSize 0xc37b,0x0012
+#define readDDPBitStreamInformationLfeOnLfeMixLevCod 0xc37b,0x0014
+#define readDDPBitStreamInformationLoRoCMixLevLoRoSurMixLev 0xc37b,0x0016
+#define readDDPBitStreamInformationLtRtCmixLevLtRtSurMixLev 0xc37b,0x0018
+#define readDDPBitStreamInformationMixLevOrigBs 0xc37b,0x001a
+#define readDDPBitStreamInformationRoomTypSourceFsCod 0xc37b,0x001c
+#define readDDPBitStreamInformationStrmTypeSubstreamId 0xc37b,0x001e
+#define readDDPBitStreamInformationSurMixLevFsCod 0xc37b,0x0020
+#define readDDPBitStreamInformationMixExtProgProgAdjust 0xc37b,0x0022
+#define readDDPBitStreamInformationAtoDConverterType 0xc37b,0x0024
+#define readDDPBitStreamInformationChanMap 0xc37b,0x0026
+#define readDDPBitStreamInformationJOCDecodeOutMode 0xc37b,0x0028
+#define readDDPStatus 0xc508,0x007a
+#define readDDPCommon 0xc508,0x007b
+#define readDDPLegacyDecodeMode 0xc27a,0x1400
+#define writeDDPLegacyDecodeModeDisable 0xca7a,0x1400
+#define writeDDPLegacyDecodeModeEnable 0xca7a,0x1401
+#define readDDPControl 0xc27a,0x0600,0xc27a,0x0b00,0xc27a,0x0c00,0xc27a,0x0900,0xc27a,0x0e00,0xc27a,0x0700,0xc27a,0x0800,0xc27a,0x1400,0xc27a,0x0f00,0xc27a,0x0500
+#define writeAC3DynrngScaleHiQ6N(64) 0xca7a,0x0b40
+#define writeAC3DynrngScaleLoQ6N(64) 0xca7a,0x0c40
+#define readTHDDecodeMode 0xc27c,0x0400
+#define writeTHDDecode2Channel 0xca7c,0x0401
+#define writeTHDDecode6Channel 0xca7c,0x0402
+#define writeTHDDecode8Channel 0xca7c,0x0404
+#define writeTHDDecodeAuto6Channel 0xca7c,0x0412
+#define writeTHDDecodeAuto8Channel 0xca7c,0x0414
+#define writeTHDDecodeAuto62Channel 0xca7c,0x0413
+#define writeTHDDecodeAuto82Channel 0xca7c,0x0415
+#define writeTHDDecodeAuto86Channel 0xca7c,0x0416
+#define readTHDDecodeChannelSet 0xc27c,0x0a00
+#define wroteTHDDecodeNoChannelSet 0xca7c,0x0a00
+#define wroteTHDDecode2ChannelSet 0xca7c,0x0a01
+#define wroteTHDDecode6ChannelSet 0xca7c,0x0a02
+#define wroteTHDDecode8ChannelSet 0xca7c,0x0a06
+#define readTHDDRCMode 0xc27c,0x0500
+#define writeTHDDRCDisable 0xca7c,0x0500
+#define writeTHDDRCFollow 0xca7c,0x0501
+#define writeTHDDRCOn 0xca7c,0x0502
+#define readTHDDRCBoost 0xc27c,0x0600
+#define writeTHDDRCBoostN(100) 0xca7c,0x0664
+#define readTHDDRCCut 0xc27c,0x0700
+#define writeTHDDRCCutN(100) 0xca7c,0x0764
+#define readTHDLosslessMode 0xc27c,0x0900
+#define writeTHDPostProcessingEnable 0xca7c,0x0900
+#define writeTHDPostProcessingDisable 0xca7c,0x0910
+#define readTHDCenterMixLevel 0xc37c,0x000c
+#define wroteTHDCenterMixLevel 0xcb7c,0x000c
+#define readTHDSurroundMixLevel 0xc37c,0x000e
+#define wroteTHDSurroundMixLevel 0xcb7c,0x000e
+#define readTHDLFEDownmixInclude 0xc27c,0x1000
+#define writeTHDLFEDownmixIncludeNo 0xca7c,0x1000
+#define writeTHDLFEDownmixIncludeYes 0xca7c,0x1001
+#define readTHDLFEDownmixVolume 0xc27c,0x1100
+#define writeTHDLFEDownmixVolumeN(20) 0xca7c,0x1114
+#define readTHDCRCCheckMode 0xc27c,0x1200
+#define writeTHDCRCCheckEnable 0xca7c,0x1201
+#define writeTHDCRCCheckDisable 0xca7c,0x1200
+#define readTHDMinorErrorMute 0xc27c,0x1400
+#define writeTHDMinorErrorMuteEnable 0xca7c,0x1401
+#define writeTHDMinorErrorMuteDisable 0xca7c,0x1400
+#define readTHDGainRequired 0xc27c,0x1500
+#define readTHDSpeakerRemap 0xc27c,0x1600
+#define writeTHDSpeakerRemapEnable 0xca7c,0x1601
+#define writeTHDSpeakerRemapDisable 0xca7c,0x1600
+#define readTHDSamSizIgnore 0xc27c,0x1700
+#define writeTHDSamSizIgnore 0xca7c,0x1701
+#define writeTHDSamSizNoIgnore 0xca7c,0x1700
+#define readTHDChannelIdentifier 0xc47c,0x0018
+#define readTHDRemappingScalefactor 0xc37c,0x001c
+#define readTHDDialNormMode 0xc27c,0x1e00
+#define writeTHDDialNormModeEnable 0xca7c,0x1e01
+#define writeTHDDialNormModeDisable 0xca7c,0x1e00
+#define readTHD192kHzDecode 0xc27c,0x1f00
+#define writeTHD192kHzDecodeEnable 0xca7c,0x1f01
+#define writeTHD192kHzDecodeDisable 0xca7c,0x1f00
+#define readTHDSelectMinorError 0xc27c,0x2000
+#define readTHDBitStreamInformation 0xc67d,0x0470
+#define readTHDBitStreamInformation0 0xc37d,0x0004
+#define readTHDBSIFBBChannelAssignment 0xc37d,0x0006
+#define readTHDBSIFBBSampleRate 0xc37d,0x0008
+#define readTHDBSIFBBMultiChannelType 0xc37d,0x000a
+#define readTHDBSIFBBQuantWordLength1 0xc37d,0x000c
+#define readTHDBSIFBBSummaryInfo 0xc37d,0x000e
+#define readTHDBSIFBBSourceFormat 0xc37d,0x0010
+#define readTHDBSIFBBVariableRate 0xc37d,0x0012
+#define readTHDBSIFBBPeakDataRate 0xc37d,0x0014
+#define readTHDBSIFBBSubstreams 0xc37d,0x0016
+#define readTHDBSIFBBSubstreamInfo 0xc37d,0x0018
+#define readTHDBSIFBBLevelControl 0xc37d,0x001a
+#define readTHDBSIFBBCopyRightProtection 0xc37d,0x001c
+#define readTHDBSIFBBSpeakerLayout 0xc37d,0x001e
+#define readTHDBSIFBBMultiChannelOccupancy 0xc37d,0x0020
+#define readTHDBSIFBBMultiChannelType2 0xc37d,0x0022
+#define readTHDBSIFBBWordWidth 0xc37d,0x0024
+#define readTHDBSIFBBFlags 0xc37d,0x0026
+#define readTHDBSIFBBQuantWordLength2 0xc37d,0x0028
+#define readTHDBSIFBBSampleRate2 0xc37d,0x002a
+#define readTHDBSIFBBfs 0xc37d,0x002c
+#define readTHDBSIFBAChannelAssignment8Ch 0xc37d,0x0034
+#define readTHDBSIFBAChannelModifier8Ch 0xc37d,0x0036
+#define readTHDBSIFBAChannelAssignment6Ch 0xc37d,0x0038
+#define readTHDBSIFBAChannelModifier6Ch 0xc37d,0x003a
+#define readTHDBSIFBAChannelModifier2Ch 0xc37d,0x003c
+#define readTHDBSIFBAMultiChannelType8Ch 0xc37d,0x003e
+#define readTHDBSIFBAMultiChannelType6Ch 0xc37d,0x0040
+#define readTHDBSIFBASampleRate 0xc37d,0x0042
+#define readTHDBSIFBAVariableRate 0xc37d,0x0044
+#define readTHDBSIFBAPeakDataRate 0xc37d,0x0046
+#define readTHDBSIFBASubstreams 0xc37d,0x0048
+#define readTHDBSIFBASubstreamInfo 0xc37d,0x004a
+#define readTHDBSIFBAControlEnabled2Ch 0xc37d,0x004c
+#define readTHDBSIFBAControlEnabled6Ch 0xc37d,0x004e
+#define readTHDBSIFBAControlEnabled8Ch 0xc37d,0x0050
+#define readTHDBSIFBAStartUpGain 0xc37d,0x0052
+#define readTHDBSIFBADialNorm2Ch 0xc37d,0x0054
+#define readTHDBSIFBAMixLevel2Ch 0xc37d,0x0056
+#define readTHDBSIFBADialNorm6Ch 0xc37d,0x0058
+#define readTHDBSIFBAMixLevel6Ch 0xc37d,0x005a
+#define readTHDBSIFBASourceFormat6Ch 0xc37d,0x005c
+#define readTHDBSIFBADialNorm8Ch 0xc37d,0x005e
+#define readTHDBSIFBAMixLevel8Ch 0xc37d,0x0060
+#define readTHDBSIFBASourceFormat8Ch 0xc37d,0x0062
+#define readTHDBSIFBAExtraChMeaningPresent 0xc37d,0x0064
+#define readTHDBSIFBAFlags 0xc37d,0x0066
+#define readTHDBSISyncWord 0xc47d,0x0070
+#define readTHDStatus 0xc508,0x007c
+#define readTHDCommon 0xc508,0x007d
+#define readTHDControl 0xc27c,0x0400,0xc27c,0x0500,0xc27c,0x0600,0xc27c,0x0700,0xc27c,0x0900,0xc37c,0x000c,0xc37c,0x000e,0xc27c,0x1000,0xc27c,0x1100,0xc27c,0x1200,0xc27c,0x1400,0xc27c,0x1600,0xc27c,0x1700,0xc27c,0x1e00,0xc27c,0x1f00,0xc27c,0x2000
+#define readDMMode 0xc25a,0x0400
+#define writeDMModeDisable 0xca5a,0x0400
+#define writeDMModeEnable 0xca5a,0x0401
+#define readDMLFEDownmixVolume 0xc25a,0x0500
+#define writeDMLFEDownmixVolumeN(20) 0xca5a,0x0514
+#define readDMLFEDownmixInclude 0xc25a,0x0600
+#define writeDMLFEDownmixIncludeNo 0xca5a,0x0600
+#define writeDMLFEDownmixIncludeYes 0xca5a,0x0601
+#define readDMCenterMixLevel 0xc35a,0x0008
+#define wroteDMCenterMixLevel 0xcb5a,0x0008
+#define readDMSurroundMixLevel 0xc35a,0x000a
+#define wroteDMSurroundMixLevel 0xcb5a,0x000a
+#define readDMChannelConfigurationRequest 0xc45a,0x000c
+#define writeDMChannelConfigurationRequestUnknown 0xcc5a,0x000c,0x0000,0x0000
+#define writeDMChannelConfigurationRequestNone 0xcc5a,0x000c,0x0001,0x0000
+#define writeDMChannelConfigurationRequestMono 0xcc5a,0x000c,0x0002,0x0000
+#define writeDMChannelConfigurationRequestStereo 0xcc5a,0x000c,0x0003,0x0000
+#define writeDMChannelConfigurationRequestStereoLtRt 0xcc5a,0x000c,0x0003,0x0002
+#define writeDMChannelConfigurationRequestStereoMono 0xcc5a,0x000c,0x0003,0x0003
+#define writeDMChannelConfigurationRequest3Stereo 0xcc5a,0x000c,0x0108,0x0000
+#define writeDMChannelConfigurationRequestPhantom 0xcc5a,0x000c,0x0105,0x0000
+#define writeDMChannelConfigurationRequestSurround 0xcc5a,0x000c,0x010a,0x0000
+#define writeDMChannelConfigurationRequestPhantom0Stereo_0 0xcc5a,0x000c,0x0003,0x0001
+#define wroteDMChannelConfigurationRequestPhantom0Dual_0 0xcc5a,0x000c,0x0003,0x0004
+#define writeDMChannelConfigurationRequestPhantom1_0 0xcc5a,0x000c,0x0004,0x0000
+#define writeDMChannelConfigurationRequestPhantom2_0 0xcc5a,0x000c,0x0005,0x0000
+#define wroteDMChannelConfigurationRequestPhantom2Stereo_0 0xcc5a,0x000c,0x0005,0x0001
+#define writeDMChannelConfigurationRequestPhantom2LtRt_0 0xcc5a,0x000c,0x0005,0x0002
+#define wroteDMChannelConfigurationRequestPhantom2Mono_0 0xcc5a,0x000c,0x0005,0x0003
+#define writeDMChannelConfigurationRequestPhantom3_0 0xcc5a,0x000c,0x0006,0x0000
+#define writeDMChannelConfigurationRequestPhantom4_0 0xcc5a,0x000c,0x0007,0x0000
+#define writeDMChannelConfigurationRequestSurround0_0 0xcc5a,0x000c,0x0008,0x0000
+#define writeDMChannelConfigurationRequestSurround1_0 0xcc5a,0x000c,0x0009,0x0000
+#define writeDMChannelConfigurationRequestSurround2_0 0xcc5a,0x000c,0x000a,0x0000
+#define wroteDMChannelConfigurationRequestSurround2Stereo_0 0xcc5a,0x000c,0x000a,0x0001
+#define writeDMChannelConfigurationRequestSurround2LtRt_0 0xcc5a,0x000c,0x000a,0x0002
+#define wroteDMChannelConfigurationRequestSurround2Mono_0 0xcc5a,0x000c,0x000a,0x0003
+#define writeDMChannelConfigurationRequestSurround3_0 0xcc5a,0x000c,0x000b,0x0000
+#define writeDMChannelConfigurationRequestSurround4_0 0xcc5a,0x000c,0x000c,0x0000
+#define writeDMChannelConfigurationRequestNone_1 0xcc5a,0x000c,0x0101,0x0000
+#define writeDMChannelConfigurationRequestMono_1 0xcc5a,0x000c,0x0102,0x0000
+#define writeDMChannelConfigurationRequestPhantom0_1 0xcc5a,0x000c,0x0103,0x0000
+#define writeDMChannelConfigurationRequestPhantom0Stereo_1 0xcc5a,0x000c,0x0103,0x0001
+#define writeDMChannelConfigurationRequestPhantom0LtRt_1 0xcc5a,0x000c,0x0103,0x0002
+#define writeDMChannelConfigurationRequestPhantom0Mono_1 0xcc5a,0x000c,0x0103,0x0003
+#define wroteDMChannelConfigurationRequestPhantom0Dual_1 0xcc5a,0x000c,0x0103,0x0004
+#define writeDMChannelConfigurationRequestPhantom1_1 0xcc5a,0x000c,0x0104,0x0000
+#define wroteDMChannelConfigurationRequestPhantom2Stereo_1 0xcc5a,0x000c,0x0105,0x0001
+#define writeDMChannelConfigurationRequestPhantom2LtRt_1 0xcc5a,0x000c,0x0105,0x0002
+#define wroteDMChannelConfigurationRequestPhantom2Mono_1 0xcc5a,0x000c,0x0105,0x0003
+#define writeDMChannelConfigurationRequestPhantom3_1 0xcc5a,0x000c,0x0106,0x0000
+#define writeDMChannelConfigurationRequestPhantom4_1 0xcc5a,0x000c,0x0107,0x0000
+#define writeDMChannelConfigurationRequestSurround1_1 0xcc5a,0x000c,0x0109,0x0000
+#define wroteDMChannelConfigurationRequestSurround2Stereo_1 0xcc5a,0x000c,0x010a,0x0001
+#define writeDMChannelConfigurationRequestSurround2LtRt_1 0xcc5a,0x000c,0x010a,0x0002
+#define wroteDMChannelConfigurationRequestSurround2Mono_1 0xcc5a,0x000c,0x010a,0x0003
+#define writeDMChannelConfigurationRequestSurround3_1 0xcc5a,0x000c,0x010b,0x0000
+#define writeDMChannelConfigurationRequestSurround4_1 0xcc5a,0x000c,0x010c,0x0000
+#define readDMStatus 0xc508,0x005a
+#define readDMControl 0xc25a,0x0400,0xc25a,0x0500,0xc25a,0x0600,0xc35a,0x0008,0xc35a,0x000a,0xc45a,0x000c
+#define readPCEMode 0xc22e,0x0400
+#define writePCEModeEnable 0xca2e,0x0401
+#define readPCEModePhase0Mode 0xc22e,0x0600
+#define writePCEModePhase0ModeDisable 0xca2e,0x0600
+#define writePCEModePhase0ModeEnable 0xca2e,0x0601
+#define readPCEModePhase0Type 0xc22e,0x0700
+#define writePCEModePhase0TypeUnused 0xca2e,0x0700
+#define readPCEModePhase1Mode 0xc22e,0x0800
+#define writePCEModePhase1ModeDisable 0xca2e,0x0800
+#define writePCEModePhase1ModeEnable 0xca2e,0x0801
+#define readPCEModePhase1Type 0xc22e,0x0900
+#define writePCEModePhase1TypeUnused 0xca2e,0x0900
+#define readPCEModePhase2Mode 0xc22e,0x0a00
+#define writePCEModePhase2ModeDisable 0xca2e,0x0a00
+#define writePCEModePhase2ModeEnable 0xca2e,0x0a01
+#define readPCEModePhase2Type 0xc22e,0x0b00
+#define writePCEModePhase2TypeUnused 0xca2e,0x0b00
+#define readPCEModePhase3Mode 0xc22e,0x0c00
+#define writePCEModePhase3ModeDisable 0xca2e,0x0c00
+#define writePCEModePhase3ModeEnable 0xca2e,0x0c01
+#define readPCEModePhase3Type 0xc22e,0x0d00
+#define writePCEModePhase3TypeUnused 0xca2e,0x0d00
+#define readPCEModePhase4Mode 0xc22e,0x0e00
+#define writePCEModePhase4ModeDisable 0xca2e,0x0e00
+#define writePCEModePhase4ModeEnable 0xca2e,0x0e01
+#define readPCEModePhase4Type 0xc22e,0x0f00
+#define writePCEModePhase4TypeUnused 0xca2e,0x0f00
+#define readPCEModePhase5Mode 0xc22e,0x1000
+#define writePCEModePhase5ModeDisable 0xca2e,0x1000
+#define writePCEModePhase5ModeEnable 0xca2e,0x1001
+#define readPCEModePhase5Type 0xc22e,0x1100
+#define writePCEModePhase5TypeUnused 0xca2e,0x1100
+#define readPCEDELUnit 0xc22e,0x1300
+#define writePCEDELUnitTimeSamples 0xca2e,0x1300
+#define writePCEDELUnitTimeMillisecondsQ0 0xca2e,0x1301
+#define writePCEDELUnitTimeMillisecondsQ1 0xca2e,0x1302
+#define writePCEDELUnitTimeCentimeters 0xca2e,0x1303
+#define writePCEDELUnitTimeFeet 0xca2e,0x1304
+#define writePCEDELUnitTimeYards 0xca2e,0x1305
+#define writePCEDELUnitTimeMeters 0xca2e,0x1306
+#define writePCEDELUnitTimeDecimilliseconds 0xca2e,0x1307
+#define writePCEDELUnitLocationSamples 0xca2e,0x1380
+#define writePCEDELUnitLocationMillisecondsQ0 0xca2e,0x1381
+#define writePCEDELUnitLocationMillisecondsQ1 0xca2e,0x1382
+#define writePCEDELUnitLocationCentimeters 0xca2e,0x1383
+#define writePCEDELUnitLocationFeet 0xca2e,0x1384
+#define writePCEDELUnitLocationYards 0xca2e,0x1385
+#define writePCEDELUnitLocationMeters 0xca2e,0x1386
+#define writePCEDELUnitLocationDecimilliseconds 0xca2e,0x1387
+#define readPCEDELNumb 0xc22e,0x1400
+#define readPCEDELUnused 0xc22e,0x1500
+#define readPCEDELDelayLeft 0xc32e,0x0016
+#define readPCEDELDelayRght 0xc32e,0x0018
+#define readPCEDELDelayCntr 0xc32e,0x001a
+#define readPCEDELDelayRCtr 0xc32e,0x001c
+#define readPCEDELDelayWide 0xc32e,0x001e
+#define readPCEDELDelayRWid 0xc32e,0x0020
+#define readPCEDELDelayOver 0xc32e,0x0022
+#define readPCEDELDelayROvr 0xc32e,0x0024
+#define readPCEDELDelaySurr 0xc32e,0x0026
+#define readPCEDELDelayRSur 0xc32e,0x0028
+#define readPCEDELDelayBack 0xc32e,0x002a
+#define readPCEDELDelayRBak 0xc32e,0x002c
+#define readPCEDELDelaySubw 0xc32e,0x002e
+#define readPCEDELDelayRSub 0xc32e,0x0030
+#define readPCEDELDelayLHed 0xc32e,0x0032
+#define readPCEDELDelayRHed 0xc32e,0x0034
+#define readPCEDELDelayCHed 0xc32e,0x0036
+#define readPCEDELDelayTOvr 0xc32e,0x0038
+#define readPCEDELDelayLHSide 0xc32e,0x003a
+#define readPCEDELDelayRHSide 0xc32e,0x003c
+#define readPCEDELDelayLHRear 0xc32e,0x003e
+#define readPCEDELDelayRHRear 0xc32e,0x0040
+#define readPCEDELDelayCHRear 0xc32e,0x0042
+#define readPCEDELDelayLCtrInr 0xc32e,0x004a
+#define readPCEDELDelayRCtrInr 0xc32e,0x004c
+#define readPCEDELDelayMaster 0xc32e,0x0056
+#define readPCEExceptionDetectMode 0xc22e,0x5800
+#define writePCEExceptionDetectDisable 0xca2e,0x5800
+#define writePCEExceptionDetectEnable 0xca2e,0x5801
+#define readPCEExceptionDetectFlag 0xc22e,0x5900
+#define writePCEExceptionDetectFlagOff 0xca2e,0x5900
+#define writePCEExceptionDetectFlagOn 0xca2e,0x5901
+#define readPCEExceptionDetectMute 0xc22e,0x5a00
+#define writePCEExceptionDetectUnmute 0xca2e,0x5a00
+#define writePCEExceptionDetectMute 0xca2e,0x5a01
+#define readPCEClipDetectFlag 0xc22e,0x5b00
+#define writePCEClipDetectFlagOff 0xca2e,0x5b00
+#define writePCEClipDetectFlagOn 0xca2e,0x5b01
+#define readPCEStatus 0xc508,0x002e
+#define readPCEControl 0xc22e,0x0400,0xc22e,0x0600,0xc22e,0x0700,0xc22e,0x0800,0xc22e,0x0900,0xc22e,0x0a00,0xc22e,0x0b00,0xc22e,0x0c00,0xc22e,0x0d00,0xc22e,0x0e00,0xc22e,0x0f00,0xc22e,0x1000,0xc22e,0x1100,0xc22e,0x1300,0xc22e,0x1400,0xc32e,0x0016,0xc32e,0x0018,0xc32e,0x001a,0xc32e,0x001a,0xc32e,0x001c,0xc32e,0x001e,0xc32e,0x001e,0xc32e,0x0020,0xc32e,0x0022,0xc32e,0x0022,0xc32e,0x0024,0xc32e,0x0026,0xc32e,0x0026,0xc32e,0x0028,0xc32e,0x002a,0xc32e,0x002a,0xc32e,0x002c,0xc32e,0x002e,0xc32e,0x002e,0xc32e,0x0030,0xc32e,0x0032,0xc32e,0x0034
+#define writePCEDELNumbXX(10) 0xca2e,0x1410
+#define wrotePCEDELDelayLeft 0xcb2e,0x0016
+#define wrotePCEDELDelayRght 0xcb2e,0x0018
+#define wrotePCEDELDelayCtr 0xcb2e,0x001a
+#define wrotePCEDELDelayRCtr 0xcb2e,0x001c
+#define wrotePCEDELDelayWide 0xcb2e,0x001e
+#define wrotePCEDELDelayRWid 0xcb2e,0x0020
+#define wrotePCEDELDelayOver 0xcb2e,0x0022
+#define wrotePCEDELDelayROvr 0xcb2e,0x0024
+#define wrotePCEDELDelaySurr 0xcb2e,0x0026
+#define wrotePCEDELDelayRSur 0xcb2e,0x0028
+#define wrotePCEDELDelayBack 0xcb2e,0x002a
+#define wrotePCEDELDelayRBak 0xcb2e,0x002c
+#define wrotePCEDELDelaySubw 0xcb2e,0x002e
+#define wrotePCEDELDelayRSub 0xcb2e,0x0030
+#define wrotePCEDELDelayLHed 0xcb2e,0x0032
+#define wrotePCEDELDelayRHed 0xcb2e,0x0034
+#define execPAIInOutError 0xf1ff
+#define execPAIInNone 0xf120
+#define execPAIInDigital 0xf121
+#define execPAIInAnalog 0xf122
+#define execPAIInAnalogStereo 0xf123
+#define execPAIInSing 0xf126
+#define execPAIInHDMI 0xf128
+#define execPAIInHDMIStereo 0xf129
+#define execPAIIn1394Stereo 0xf12d
+#define execPAIIn1394 0xf12e
+#define execPAIInRingIO 0xf12f
+#define wroteIBSioCommandNone 0xca22,0x0500
+#define wroteIBSioCommandDigital 0xca22,0x0501
+#define wroteIBSioCommandAnalog 0xca22,0x0502
+#define wroteIBSioCommandAnalogStereo 0xca22,0x0503
+#define wroteIBSioCommand1394Stereo 0xca22,0x0504
+#define wroteIBSioCommand1394 0xca22,0x0505
+#define wroteIBSioCommandRingIO 0xca22,0x0506
+#define wroteIBSioCommandHDMI 0xca22,0x0507
+#define wroteIBSioCommandHDMIStereo 0xca22,0x0508
+#define wroteIBSioSelectNone 0xca22,0x0580
+#define wroteIBSioSelectDigital 0xca22,0x0581
+#define wroteIBSioSelectAnalog 0xca22,0x0582
+#define wroteIBSioSelectAnalogStereo 0xca22,0x0583
+#define wroteIBSioSelect1394Stereo 0xca22,0x0584
+#define wroteIBSioSelect1394 0xca22,0x0585
+#define wroteIBSioSelectRingIO 0xca22,0x0586
+#define wroteIBSioSelectHDMI 0xca22,0x0587
+#define wroteIBSioSelectHDMIStereo 0xca22,0x0588
+#define execPAIOutNone 0xf130
+#define execPAIOutAnalog 0xf131
+#define execPAIOutDigital 0xf132
+#define execPAIOutAnalogSlave 0xf138
+#define execPAIOutRingIO16bit 0xf139
+#define execPAIOutAnalogSlaveStereo 0xf13a
+#define execPAIOutAnalogSlave2Stereo 0xf13b
+#define execPAIOutTdm4 0xf13c
+#define execPAIOutTdm8 0xf13d
+#define execPAIOutRingIO24bit 0xf13f
+#define wroteOBSioCommandNone 0xca23,0x0500
+#define wroteOBSioCommandAnalog 0xca23,0x0501
+#define wroteOBSioCommandDigital 0xca23,0x0502
+#define wroteOBSioCommandAnalogSlave 0xca23,0x0503
+#define wroteOBSioCommandAnalogSlaveStereo 0xca23,0x0504
+#define wroteOBSioCommandAnalogSlave2Stereo 0xca23,0x0505
+#define wroteOBSioCommandRRINGIO_16bit 0xca23,0x0506
+#define wroteOBSioCommandRRINGIO_24bit 0xca23,0x0507
+#define wroteOBSioCommandRRINGIO_32bit 0xca23,0x0508
+#define wroteOBSioSelectNone 0xca23,0x0580
+#define wroteOBSioSelectAnalog 0xca23,0x0581
+#define wroteOBSioSelectDigital 0xca23,0x0582
+#define wroteOBSioSelectAnalogSlave 0xca23,0x0583
+#define wroteOBSioSelectAnalogSlaveStereo 0xca23,0x0584
+#define wroteOBSioSelectAnalogSlave2Stereo 0xca23,0x0585
+#define wroteOBSioSelectRRINGIO_16bit 0xca23,0x0586
+#define wroteOBSioSelectRRINGIO_24bit 0xca23,0x0587
+#define wroteOBSioSelectRRINGIO_32bit 0xca23,0x0588
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafaip_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafaip_a.h
new file mode 100644 (file)
index 0000000..5565ce0
--- /dev/null
@@ -0,0 +1,70 @@
+
+/*
+* 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 Alpha Interval Processing alpha codes
+//
+//
+//
+
+#ifndef _PAFAIP_A
+#define _PAFAIP_A
+
+#include <acpbeta.h>
+#include <paftyp_a.h>
+
+#define  readAIPMode 0xc200+STD_BETA_SYSINT,0x0400
+#define  readAIPMask 0xc200+STD_BETA_SYSINT,0x0500
+#define  readAIPTime 0xc300+STD_BETA_SYSINT,0x0006
+
+#define writeAIPModeDisable 0xca00+STD_BETA_SYSINT,0x0400
+#define writeAIPModeBootOnly 0xca00+STD_BETA_SYSINT,0x0401
+#define writeAIPModeSuspend 0xca00+STD_BETA_SYSINT,0x0402
+#define writeAIPModeEnable 0xca00+STD_BETA_SYSINT,0x0403
+
+#define writeAIPMask(N) 0xca00+STD_BETA_SYSINT,0x0500+((N)&0xff)
+
+#define writeAIPTime(N) 0xcb00+STD_BETA_SYSINT,0x0006,((N)&0xffff)
+#define wroteAIPTime 0xcb00+STD_BETA_SYSINT,0x0006
+
+#define  readAIPStatus 0xc508,STD_BETA_SYSINT
+#define  readAIPControl \
+         readAIPMode, \
+         readAIPMask, \
+         readAIPTime
+
+
+#endif /* _PAFAIP_A */
diff --git a/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafdec_a.h b/procsdk_audio_x_xx_xx_xx/tools/pyalpha/alpha/pafdec_a.h
new file mode 100644 (file)
index 0000000..59eda83
--- /dev/null
@@ -0,0 +1,2269 @@
+
+/*
+* 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 Decoder alpha codes
+//
+//
+//
+
+#ifndef _PAFDEC_A
+#define _PAFDEC_A
+
+#include <acpbeta.h>
+#include <paftyp_a.h>
+#include <pafmac_a.h>
+
+#define  readDECMode 0xc200+STD_BETA_DECODE,0x0400
+#define  readDECCommand 0xc200+STD_BETA_DECODE,0x0500
+#define  readDECSampleRate 0xc200+STD_BETA_DECODE,0x0800
+#define  readDECSourceSelect 0xc200+STD_BETA_DECODE,0x0900
+#define  readDECSourceProgram 0xc200+STD_BETA_DECODE,0x0a00
+#define  readDECSourceProgramSubType 0xc200+STD_BETA_DECODE,0x3700
+#define  readDECSourceDecode 0xc200+STD_BETA_DECODE,0x0b00
+#define  readDECSourceDecodeSubType 0xc200+STD_BETA_DECODE,0x3600
+#define  readDECSourceDual 0xc200+STD_BETA_DECODE,0x0c00
+#define  readDECSourceKaraoke 0xc200+STD_BETA_DECODE,0x0d00
+#define  readDECASPGearControl 0xc200+STD_BETA_DECODE,0x0e00
+#define  readDECASPGearStatus 0xc200+STD_BETA_DECODE,0x0f00
+#define  readDECFrameCount 0xc400+STD_BETA_DECODE,0x0024
+#define  readDECKaraokeCapableUserQ6 0xc600+STD_BETA_DECODE,0x2806
+#define  readDECKaraokeCapableUserVocal1LevelQ6 0xc200+STD_BETA_DECODE,0x2800
+#define  readDECKaraokeCapableUserVocal1PanQ6 0xc200+STD_BETA_DECODE,0x2900
+#define  readDECKaraokeCapableUserVocal2LevelQ6 0xc200+STD_BETA_DECODE,0x2a00
+#define  readDECKaraokeCapableUserVocal2PanQ6 0xc200+STD_BETA_DECODE,0x2b00
+#define  readDECKaraokeCapableUserMelodyLevelQ6 0xc200+STD_BETA_DECODE,0x2c00
+#define  readDECKaraokeCapableUserMelodyPanQ6 0xc200+STD_BETA_DECODE,0x2d00
+
+#define  readDECBypass 0xc200+STD_BETA_DECODE,0x2e00
+#define  writeDECBypassEnable 0xca00+STD_BETA_DECODE,0x2e01
+#define  writeDECBypassDisable 0xca00+STD_BETA_DECODE,0x2e00
+
+#define   readDECByPass                 readDECBypass       
+#define  writeDECByPassEnable   writeDECBypassEnable 
+#define  writeDECByPassDisable  writeDECBypassDisable
+
+#define  readDECChannelConfigurationRequest 0xc400+STD_BETA_DECODE,0x0038
+#define  readDECChannelConfigurationRequestAux 0xc200+STD_BETA_DECODE,0x3900
+#define  readDECChannelConfigurationProgram 0xc400+STD_BETA_DECODE,0x0040
+#define  readDECChannelConfigurationDecode 0xc400+STD_BETA_DECODE,0x0048
+#define  readDECChannelConfigurationDownmix 0xc400+STD_BETA_DECODE,0x0050
+
+#define writeDECModeDisable 0xca00+STD_BETA_DECODE,0x0400
+#define writeDECModeEnable 0xca00+STD_BETA_DECODE,0x0401
+#define writeDECModeContinuous 0xca00+STD_BETA_DECODE,0x0402
+
+#define writeDECCommandN(N) 0xca00+STD_BETA_DECODE,0x0500+((N)&0xff)
+#define writeDECCommandNone 0xca00+STD_BETA_DECODE,0x0500
+#define writeDECCommandAbort 0xca00+STD_BETA_DECODE,0x0501
+#define writeDECCommandRestart 0xca00+STD_BETA_DECODE,0x0502
+#define wroteDECCommandNoned 0xca00+STD_BETA_DECODE,0x0580
+#define wroteDECCommandAborted 0xca00+STD_BETA_DECODE,0x0581
+#define wroteDECCommandRestarted 0xca00+STD_BETA_DECODE,0x0582
+
+#define writeDECSourceSelectUnknown 0xca00+STD_BETA_DECODE,0x0900
+#define writeDECSourceSelectNone 0xca00+STD_BETA_DECODE,0x0901
+#define writeDECSourceSelectPass 0xca00+STD_BETA_DECODE,0x0902
+#define writeDECSourceSelectSing 0xca00+STD_BETA_DECODE,0x0903
+#define writeDECSourceSelectAuto 0xca00+STD_BETA_DECODE,0x0904
+#define writeDECSourceSelectBitStream 0xca00+STD_BETA_DECODE,0x0905
+#define writeDECSourceSelectDTSAll 0xca00+STD_BETA_DECODE,0x0906
+#define writeDECSourceSelectPCMAuto 0xca00+STD_BETA_DECODE,0x0907
+#define writeDECSourceSelectPCM 0xca00+STD_BETA_DECODE,0x0908
+#define writeDECSourceSelectPC8 0xca00+STD_BETA_DECODE,0x0909
+#define writeDECSourceSelectAC3 0xca00+STD_BETA_DECODE,0x090a
+#define writeDECSourceSelectDTS 0xca00+STD_BETA_DECODE,0x090b
+#define writeDECSourceSelectAAC 0xca00+STD_BETA_DECODE,0x090c
+#define writeDECSourceSelectMPEG 0xca00+STD_BETA_DECODE,0x090d
+#define writeDECSourceSelectDTS12 0xca00+STD_BETA_DECODE,0x090e
+#define writeDECSourceSelectDTS13 0xca00+STD_BETA_DECODE,0x090f
+#define writeDECSourceSelectDTS14 0xca00+STD_BETA_DECODE,0x0910
+#define writeDECSourceSelectDTS16 0xca00+STD_BETA_DECODE,0x0911
+#define writeDECSourceSelectWMP 0xca00+STD_BETA_DECODE,0x0912
+#define writeDECSourceSelectMP3 0xca00+STD_BETA_DECODE,0x0913
+#define writeDECSourceSelectDSD1 0xca00+STD_BETA_DECODE,0x0914
+#define writeDECSourceSelectDSD2 0xca00+STD_BETA_DECODE,0x0915
+#define writeDECSourceSelectDSD3 0xca00+STD_BETA_DECODE,0x0916
+#define writeDECSourceSelectDDP 0xca00+STD_BETA_DECODE,0x0917
+#define writeDECSourceSelectDTSHD 0xca00+STD_BETA_DECODE,0x0918
+#define writeDECSourceSelectTHD 0xca00+STD_BETA_DECODE,0x0919
+#define writeDECSourceSelectDXP 0xca00+STD_BETA_DECODE,0x091a
+#define writeDECSourceSelectWMA 0xca00+STD_BETA_DECODE,0x091b
+
+#define writeDECSourceDualStereo 0xca00+STD_BETA_DECODE,0x0c00
+#define writeDECSourceDualMono1 0xca00+STD_BETA_DECODE,0x0c01
+#define writeDECSourceDualMono2 0xca00+STD_BETA_DECODE,0x0c02
+#define writeDECSourceDualMonoMix 0xca00+STD_BETA_DECODE,0x0c03
+
+#define writeDECSourceKaraokeAware 0xca00+STD_BETA_DECODE,0x0dff
+#define writeDECSourceKaraokeCapableUser 0xca00+STD_BETA_DECODE,0x0d00
+#define writeDECSourceKaraokeCapableNone 0xca00+STD_BETA_DECODE,0x0d01
+#define writeDECSourceKaraokeCapableLeft 0xca00+STD_BETA_DECODE,0x0d02
+#define writeDECSourceKaraokeCapableRght 0xca00+STD_BETA_DECODE,0x0d03
+#define writeDECSourceKaraokeCapableBoth 0xca00+STD_BETA_DECODE,0x0d04
+
+#define writeDECASPGearControlAll 0xca00+STD_BETA_DECODE,0x0e00
+#define writeDECASPGearControlNil 0xca00+STD_BETA_DECODE,0x0e01
+#define writeDECASPGearControlStd 0xca00+STD_BETA_DECODE,0x0e02
+#define writeDECASPGearControlCus 0xca00+STD_BETA_DECODE,0x0e03
+#define writeDECASPGearControlN(N) 0xca00+STD_BETA_DECODE,0x0e00+((N)&0xff)
+
+#define wroteDECASPGearStatusAll 0xca00+STD_BETA_DECODE,0x0f00
+#define wroteDECASPGearStatusNil 0xca00+STD_BETA_DECODE,0x0f01
+#define wroteDECASPGearStatusStd 0xca00+STD_BETA_DECODE,0x0f02
+#define wroteDECASPGearStatusCus 0xca00+STD_BETA_DECODE,0x0f03
+
+#define writeDECChannelConfigurationRequestUnknown 0xcc00+STD_BETA_DECODE,0x0038,0x0000,0x0000
+
+#define writeDECChannelConfigurationRequestNone       writeDECChannelConfigurationRequestNone_0 
+#define writeDECChannelConfigurationRequestMono       writeDECChannelConfigurationRequestMono_0 
+#define writeDECChannelConfigurationRequestStereo     writeDECChannelConfigurationRequestPhantom0_0 
+#define writeDECChannelConfigurationRequestStereoLtRt writeDECChannelConfigurationRequestPhantom0LtRt_0 
+#define writeDECChannelConfigurationRequestStereoMono writeDECChannelConfigurationRequestPhantom0Mono_0 
+#define writeDECChannelConfigurationRequest3Stereo    writeDECChannelConfigurationRequestSurround0_1 
+#define writeDECChannelConfigurationRequestPhantom    writeDECChannelConfigurationRequestPhantom2_1 
+#define writeDECChannelConfigurationRequestSurround   writeDECChannelConfigurationRequestSurround2_1 
+
+#define writeDECChannelConfigurationRequestNone_0 0xcc00+STD_BETA_DECODE,0x0038,0x0001,0x0000
+#define writeDECChannelConfigurationRequestMono_0 0xcc00+STD_BETA_DECODE,0x0038,0x0002,0x0000
+#define writeDECChannelConfigurationRequestPhantom0_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0000
+#define writeDECChannelConfigurationRequestPhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0001
+#define writeDECChannelConfigurationRequestPhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0002
+#define writeDECChannelConfigurationRequestPhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0003
+#define wroteDECChannelConfigurationRequestPhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0004
+#define writeDECChannelConfigurationRequestPhantom1_0 0xcc00+STD_BETA_DECODE,0x0038,0x0004,0x0000
+#define writeDECChannelConfigurationRequestPhantom2_0 0xcc00+STD_BETA_DECODE,0x0038,0x0005,0x0000
+#define wroteDECChannelConfigurationRequestPhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0038,0x0005,0x0001
+#define writeDECChannelConfigurationRequestPhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0038,0x0005,0x0002
+#define wroteDECChannelConfigurationRequestPhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0038,0x0005,0x0003
+#define writeDECChannelConfigurationRequestPhantom3_0 0xcc00+STD_BETA_DECODE,0x0038,0x0006,0x0000
+#define writeDECChannelConfigurationRequestPhantom4_0 0xcc00+STD_BETA_DECODE,0x0038,0x0007,0x0000
+#define writeDECChannelConfigurationRequestSurround0_0 0xcc00+STD_BETA_DECODE,0x0038,0x0008,0x0000
+#define writeDECChannelConfigurationRequestSurround1_0 0xcc00+STD_BETA_DECODE,0x0038,0x0009,0x0000
+#define writeDECChannelConfigurationRequestSurround2_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0000
+#define wroteDECChannelConfigurationRequestSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0001
+#define writeDECChannelConfigurationRequestSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0002
+#define wroteDECChannelConfigurationRequestSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0003
+#define writeDECChannelConfigurationRequestSurround3_0 0xcc00+STD_BETA_DECODE,0x0038,0x000b,0x0000
+#define writeDECChannelConfigurationRequestSurround4_0 0xcc00+STD_BETA_DECODE,0x0038,0x000c,0x0000
+
+#define writeDECChannelConfigurationRequestNone_1 0xcc00+STD_BETA_DECODE,0x0038,0x0101,0x0000
+#define writeDECChannelConfigurationRequestMono_1 0xcc00+STD_BETA_DECODE,0x0038,0x0102,0x0000
+#define writeDECChannelConfigurationRequestPhantom0_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0000
+#define writeDECChannelConfigurationRequestPhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0001
+#define writeDECChannelConfigurationRequestPhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0002
+#define writeDECChannelConfigurationRequestPhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0003
+#define wroteDECChannelConfigurationRequestPhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0038,0x0103,0x0004
+#define writeDECChannelConfigurationRequestPhantom1_1 0xcc00+STD_BETA_DECODE,0x0038,0x0104,0x0000
+#define writeDECChannelConfigurationRequestPhantom2_1 0xcc00+STD_BETA_DECODE,0x0038,0x0105,0x0000
+#define wroteDECChannelConfigurationRequestPhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0038,0x0105,0x0001
+#define writeDECChannelConfigurationRequestPhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0038,0x0105,0x0002
+#define wroteDECChannelConfigurationRequestPhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0038,0x0105,0x0003
+#define writeDECChannelConfigurationRequestPhantom3_1 0xcc00+STD_BETA_DECODE,0x0038,0x0106,0x0000
+#define writeDECChannelConfigurationRequestPhantom4_1 0xcc00+STD_BETA_DECODE,0x0038,0x0107,0x0000
+#define writeDECChannelConfigurationRequestSurround0_1 0xcc00+STD_BETA_DECODE,0x0038,0x0108,0x0000
+#define writeDECChannelConfigurationRequestSurround1_1 0xcc00+STD_BETA_DECODE,0x0038,0x0109,0x0000
+#define writeDECChannelConfigurationRequestSurround2_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0000
+#define wroteDECChannelConfigurationRequestSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0001
+#define writeDECChannelConfigurationRequestSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0002
+#define wroteDECChannelConfigurationRequestSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0003
+#define writeDECChannelConfigurationRequestSurround3_1 0xcc00+STD_BETA_DECODE,0x0038,0x010b,0x0000
+#define writeDECChannelConfigurationRequestSurround4_1 0xcc00+STD_BETA_DECODE,0x0038,0x010c,0x0000
+
+#define writeDECChannelConfigurationRequestNone_2 0xcc00+STD_BETA_DECODE,0x0038,0x0201,0x0000
+#define writeDECChannelConfigurationRequestMono_2 0xcc00+STD_BETA_DECODE,0x0038,0x0202,0x0000
+#define writeDECChannelConfigurationRequestPhantom0_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0000
+#define writeDECChannelConfigurationRequestPhantom0Stereo_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0001
+#define writeDECChannelConfigurationRequestPhantom0LtRt_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0002
+#define writeDECChannelConfigurationRequestPhantom0Mono_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0003
+#define wroteDECChannelConfigurationRequestPhantom0Dual_2 0xcc00+STD_BETA_DECODE,0x0038,0x0203,0x0004
+#define writeDECChannelConfigurationRequestPhantom1_2 0xcc00+STD_BETA_DECODE,0x0038,0x0204,0x0000
+#define writeDECChannelConfigurationRequestPhantom2_2 0xcc00+STD_BETA_DECODE,0x0038,0x0205,0x0000
+#define wroteDECChannelConfigurationRequestPhantom2Stereo_2 0xcc00+STD_BETA_DECODE,0x0038,0x0205,0x0001
+#define writeDECChannelConfigurationRequestPhantom2LtRt_2 0xcc00+STD_BETA_DECODE,0x0038,0x0205,0x0002
+#define wroteDECChannelConfigurationRequestPhantom2Mono_2 0xcc00+STD_BETA_DECODE,0x0038,0x0205,0x0003
+#define writeDECChannelConfigurationRequestPhantom3_2 0xcc00+STD_BETA_DECODE,0x0038,0x0206,0x0000
+#define writeDECChannelConfigurationRequestPhantom4_2 0xcc00+STD_BETA_DECODE,0x0038,0x0207,0x0000
+#define writeDECChannelConfigurationRequestSurround0_2 0xcc00+STD_BETA_DECODE,0x0038,0x0208,0x0000
+#define writeDECChannelConfigurationRequestSurround1_2 0xcc00+STD_BETA_DECODE,0x0038,0x0209,0x0000
+#define writeDECChannelConfigurationRequestSurround2_2 0xcc00+STD_BETA_DECODE,0x0038,0x020a,0x0000
+#define wroteDECChannelConfigurationRequestSurround2Stereo_2 0xcc00+STD_BETA_DECODE,0x0038,0x020a,0x0001
+#define writeDECChannelConfigurationRequestSurround2LtRt_2 0xcc00+STD_BETA_DECODE,0x0038,0x020a,0x0002
+#define wroteDECChannelConfigurationRequestSurround2Mono_2 0xcc00+STD_BETA_DECODE,0x0038,0x020a,0x0003
+#define writeDECChannelConfigurationRequestSurround3_2 0xcc00+STD_BETA_DECODE,0x0038,0x020b,0x0000
+#define writeDECChannelConfigurationRequestSurround4_2 0xcc00+STD_BETA_DECODE,0x0038,0x020c,0x0000
+
+#define writeDECChannelConfigurationRequestStereoUnknown 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0000
+#define writeDECChannelConfigurationRequestStereoStereo 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0001
+#define writeDECChannelConfigurationRequestStereoDual 0xcc00+STD_BETA_DECODE,0x0038,0x0003,0x0004
+#define writeDECChannelConfigurationRequestSurround2Unknown_0 0xcc00+STD_BETA_DECODE,0x0038,0x000a,0x0000
+#define writeDECChannelConfigurationRequestSurround2Unknown_1 0xcc00+STD_BETA_DECODE,0x0038,0x010a,0x0000
+
+// Extended channel configuration requests
+
+#define writeDECChannelConfigurationRequestNoneX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0001,(n<<8)
+#define writeDECChannelConfigurationRequestNoneLwRw writeDECChannelConfigurationRequestNoneX(0x01)
+#define writeDECChannelConfigurationRequestNoneLhRh writeDECChannelConfigurationRequestNoneX(0x04)
+#define writeDECChannelConfigurationRequestNoneLwRwLhRh writeDECChannelConfigurationRequestNoneX(0x05)
+#define writeDECChannelConfigurationRequestMonoX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0002,(n<<8)
+#define writeDECChannelConfigurationRequestMonoLwRw writeDECChannelConfigurationRequestMonoX(0x01)
+#define writeDECChannelConfigurationRequestMonoLhRh writeDECChannelConfigurationRequestMonoX(0x04)
+#define writeDECChannelConfigurationRequestMonoLwRwLhRh writeDECChannelConfigurationRequestMonoX(0x05)
+#define writeDECChannelConfigurationRequestStereoX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,(n<<8)
+#define writeDECChannelConfigurationRequestStereoLwRw writeDECChannelConfigurationRequestStereoX(0x01)
+#define writeDECChannelConfigurationRequestStereoLhRh writeDECChannelConfigurationRequestStereoX(0x04)
+#define writeDECChannelConfigurationRequestStereoLwRwLhRh writeDECChannelConfigurationRequestStereoX(0x05)
+#define writeDECChannelConfigurationRequestStereoXLtRt(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestStereoLwRwLtRt writeDECChannelConfigurationRequestStereoXLtRt(0x01)
+#define writeDECChannelConfigurationRequestStereoLhRhLtRt writeDECChannelConfigurationRequestStereoXLtRt(0x04)
+#define writeDECChannelConfigurationRequestStereoLwRwLhRhLtRt writeDECChannelConfigurationRequestStereoXLtRt(0x05)
+#define writeDECChannelConfigurationRequestStereoXMono(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0003)
+#define writeDECChannelConfigurationRequestStereoLwRwMono writeDECChannelConfigurationRequestStereoXMono(0x01)
+#define writeDECChannelConfigurationRequestStereoLhRhMono writeDECChannelConfigurationRequestStereoXMono(0x04)
+#define writeDECChannelConfigurationRequestStereoLwRwLhRhMono writeDECChannelConfigurationRequestStereoXMono(0x05)
+#define writeDECChannelConfigurationRequest3StereoX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0108,(n<<8)
+#define writeDECChannelConfigurationRequest3StereoLwRw writeDECChannelConfigurationRequest3StereoX(0x01)
+#define writeDECChannelConfigurationRequest3StereoLhRh writeDECChannelConfigurationRequest3StereoX(0x04)
+#define writeDECChannelConfigurationRequest3StereoLwRwLhRh writeDECChannelConfigurationRequest3StereoX(0x05)
+#define writeDECChannelConfigurationRequestPhantomX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,(n<<8)
+#define writeDECChannelConfigurationRequestPhantomLwRw writeDECChannelConfigurationRequestPhantomX(0x01)
+#define writeDECChannelConfigurationRequestPhantomLhRh writeDECChannelConfigurationRequestPhantomX(0x04)
+#define writeDECChannelConfigurationRequestPhantomLwRwLhRh writeDECChannelConfigurationRequestPhantomX(0x05)
+#define writeDECChannelConfigurationRequestSurroundX(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,(n<<8)
+#define writeDECChannelConfigurationRequestSurroundLwRw writeDECChannelConfigurationRequestSurroundX(0x01)
+#define writeDECChannelConfigurationRequestSurroundLhRh writeDECChannelConfigurationRequestSurroundX(0x04)
+#define writeDECChannelConfigurationRequestSurroundLwRwLhRh writeDECChannelConfigurationRequestSurroundX(0x05)
+
+// _0
+#define writeDECChannelConfigurationRequestNoneX_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0001,(n<<8)
+#define writeDECChannelConfigurationRequestNoneLwRw_0 writeDECChannelConfigurationRequestNoneX_0(0x01)
+#define writeDECChannelConfigurationRequestNoneLhRh_0 writeDECChannelConfigurationRequestNoneX_0(0x04)
+#define writeDECChannelConfigurationRequestNoneLwRwLhRh_0 writeDECChannelConfigurationRequestNoneX_0(0x05)
+#define writeDECChannelConfigurationRequestMonoX_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0002,(n<<8)
+#define writeDECChannelConfigurationRequestMonoLwRw_0 writeDECChannelConfigurationRequestMonoX_0(0x01)
+#define writeDECChannelConfigurationRequestMonoLhRh_0 writeDECChannelConfigurationRequestMonoX_0(0x04)
+#define writeDECChannelConfigurationRequestMonoLwRwLhRh_0 writeDECChannelConfigurationRequestMonoX_0(0x05)
+#define writeDECChannelConfigurationRequestPhantom0X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom0LwRw_0 writeDECChannelConfigurationRequestPhantom0X_0(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRh_0 writeDECChannelConfigurationRequestPhantom0X_0(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom0X_0(0x05)
+#define writeDECChannelConfigurationRequestPhantom0XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0001)
+#define writeDECChannelConfigurationRequestPhantom0LwRwStereo_0 writeDECChannelConfigurationRequestPhantom0XStereo_0(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhStereo_0 writeDECChannelConfigurationRequestPhantom0XStereo_0(0x04) 
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_0 writeDECChannelConfigurationRequestPhantom0XStereo_0(0x05) 
+#define writeDECChannelConfigurationRequestPhantom0XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLtRt_0 writeDECChannelConfigurationRequestPhantom0XLtRt_0(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhLtRt_0 writeDECChannelConfigurationRequestPhantom0XLtRt_0(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhLtRt_0 writeDECChannelConfigurationRequestPhantom0XLtRt_0(0x05)
+#define writeDECChannelConfigurationRequestPhantom0XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0003)
+#define writeDECChannelConfigurationRequestPhantom0LwRwMono_0 writeDECChannelConfigurationRequestPhantom0XMono_0(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhMono_0 writeDECChannelConfigurationRequestPhantom0XMono_0(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhMono_0 writeDECChannelConfigurationRequestPhantom0XMono_0(0x05)
+#define wroteDECChannelConfigurationRequestPhantom0XDual_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0003,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationRequestPhantom0LwRwDual_0 wroteDECChannelConfigurationRequestPhantom0XDual_0(0x01)
+#define wroteDECChannelConfigurationRequestPhantom0LhRhDual_0 wroteDECChannelConfigurationRequestPhantom0XDual_0(0x04)
+#define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_0 wroteDECChannelConfigurationRequestPhantom0XDual_0(0x05)
+#define writeDECChannelConfigurationRequestPhantom1X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0004,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom1LwRw_0 writeDECChannelConfigurationRequestPhantom1X_0(0x01)
+#define writeDECChannelConfigurationRequestPhantom1LhRh_0 writeDECChannelConfigurationRequestPhantom1X_0(0x04)
+#define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom1X_0(0x05)
+#define writeDECChannelConfigurationRequestPhantom2X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0005,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom2LwRw_0 writeDECChannelConfigurationRequestPhantom2X_0(0x01)
+#define writeDECChannelConfigurationRequestPhantom2LhRh_0 writeDECChannelConfigurationRequestPhantom2X_0(0x04)
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom2X_0(0x05)
+#define wroteDECChannelConfigurationRequestPhantom2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0005,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_0 wroteDECChannelConfigurationRequestPhantom2XStereo_0(0x01) 
+#define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_0 wroteDECChannelConfigurationRequestPhantom2XStereo_0(0x04) 
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_0 wroteDECChannelConfigurationRequestPhantom2XStereo_0(0x05) 
+#define writeDECChannelConfigurationRequestPhantom2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0005,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_0 writeDECChannelConfigurationRequestPhantom2XLtRt_0(0x01) 
+#define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_0 writeDECChannelConfigurationRequestPhantom2XLtRt_0(0x04) 
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_0 writeDECChannelConfigurationRequestPhantom2XLtRt_0(0x05) 
+#define wroteDECChannelConfigurationRequestPhantom2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0005,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwMono_0 wroteDECChannelConfigurationRequestPhantom2XMono_0(0x01) 
+#define wroteDECChannelConfigurationRequestPhantom2LhRhMono_0 wroteDECChannelConfigurationRequestPhantom2XMono_0(0x04)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_0 wroteDECChannelConfigurationRequestPhantom2XMono_0(0x05) 
+#define writeDECChannelConfigurationRequestPhantom3X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0006,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom3LwRw_0 writeDECChannelConfigurationRequestPhantom3X_0(0x01)
+#define writeDECChannelConfigurationRequestPhantom3LhRh_0 writeDECChannelConfigurationRequestPhantom3X_0(0x04)
+#define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom3X_0(0x05)
+#define writeDECChannelConfigurationRequestPhantom4X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0007,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom4LwRw_0 writeDECChannelConfigurationRequestPhantom4X_0(0x01)
+#define writeDECChannelConfigurationRequestPhantom4LhRh_0 writeDECChannelConfigurationRequestPhantom4X_0(0x04)
+#define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_0 writeDECChannelConfigurationRequestPhantom4X_0(0x05)
+#define writeDECChannelConfigurationRequestSurround0X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0008,(n<<8)
+#define writeDECChannelConfigurationRequestSurround0LwRw_0 writeDECChannelConfigurationRequestSurround0X_0(0x01)
+#define writeDECChannelConfigurationRequestSurround0LhRh_0 writeDECChannelConfigurationRequestSurround0X_0(0x04)
+#define writeDECChannelConfigurationRequestSurround0LwRwLhRh_0 writeDECChannelConfigurationRequestSurround0X_0(0x05)
+#define writeDECChannelConfigurationRequestSurround1X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0009,(n<<8)
+#define writeDECChannelConfigurationRequestSurround1LwRw_0 writeDECChannelConfigurationRequestSurround1X_0(0x01)
+#define writeDECChannelConfigurationRequestSurround1LhRh_0 writeDECChannelConfigurationRequestSurround1X_0(0x04)
+#define writeDECChannelConfigurationRequestSurround1LwRwLhRh_0 writeDECChannelConfigurationRequestSurround1X_0(0x05)
+#define writeDECChannelConfigurationRequestSurround2X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000a,(n<<8)
+#define writeDECChannelConfigurationRequestSurround2LwRw_0 writeDECChannelConfigurationRequestSurround2X_0(0x01)
+#define writeDECChannelConfigurationRequestSurround2LhRh_0 writeDECChannelConfigurationRequestSurround2X_0(0x04)
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRh_0 writeDECChannelConfigurationRequestSurround2X_0(0x05)
+#define wroteDECChannelConfigurationRequestSurround2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationRequestSurround2LwRwStereo_0 wroteDECChannelConfigurationRequestSurround2XStereo_0(0x01)
+#define wroteDECChannelConfigurationRequestSurround2LhRhStereo_0 wroteDECChannelConfigurationRequestSurround2XStereo_0(0x04)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_0 wroteDECChannelConfigurationRequestSurround2XStereo_0(0x05)
+#define writeDECChannelConfigurationRequestSurround2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000a,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestSurround2LwRwLtRt_0 writeDECChannelConfigurationRequestSurround2XLtRt_0(0x01) 
+#define writeDECChannelConfigurationRequestSurround2LhRhLtRt_0 writeDECChannelConfigurationRequestSurround2XLtRt_0(0x04) 
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_0 writeDECChannelConfigurationRequestSurround2XLtRt_0(0x05) 
+#define wroteDECChannelConfigurationRequestSurround2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationRequestSurround2LwRwMono_0 wroteDECChannelConfigurationRequestSurround2XMono_0(0x01) 
+#define wroteDECChannelConfigurationRequestSurround2LhRhMono_0 wroteDECChannelConfigurationRequestSurround2XMono_0(0x04)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_0 wroteDECChannelConfigurationRequestSurround2XMono_0(0x05) 
+#define writeDECChannelConfigurationRequestSurround3X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000b,(n<<8)
+#define writeDECChannelConfigurationRequestSurround3LwRw_0 writeDECChannelConfigurationRequestSurround3X_0(0x01)
+#define writeDECChannelConfigurationRequestSurround3LhRh_0 writeDECChannelConfigurationRequestSurround3X_0(0x04)
+#define writeDECChannelConfigurationRequestSurround3LwRwLhRh_0 writeDECChannelConfigurationRequestSurround3X_0(0x05)
+#define writeDECChannelConfigurationRequestSurround4X_0(n) 0xcc00+STD_BETA_DECODE,0x0038,0x000c,(n<<8)
+#define writeDECChannelConfigurationRequestSurround4LwRw_0 writeDECChannelConfigurationRequestSurround4X_0(0x01)
+#define writeDECChannelConfigurationRequestSurround4LhRh_0 writeDECChannelConfigurationRequestSurround4X_0(0x04)
+#define writeDECChannelConfigurationRequestSurround4LwRwLhRh_0 writeDECChannelConfigurationRequestSurround4X_0(0x05)
+
+// _1
+#define writeDECChannelConfigurationRequestNoneX_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0101,(n<<8)
+#define writeDECChannelConfigurationRequestNoneLwRw_1 writeDECChannelConfigurationRequestNoneX_1(0x01)
+#define writeDECChannelConfigurationRequestNoneLhRh_1 writeDECChannelConfigurationRequestNoneX_1(0x04)
+#define writeDECChannelConfigurationRequestNoneLwRwLhRh_1 writeDECChannelConfigurationRequestNoneX_1(0x05)
+#define writeDECChannelConfigurationRequestMonoX_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0102,(n<<8)
+#define writeDECChannelConfigurationRequestMonoLwRw_1 writeDECChannelConfigurationRequestMonoX_1(0x01)
+#define writeDECChannelConfigurationRequestMonoLhRh_1 writeDECChannelConfigurationRequestMonoX_1(0x04)
+#define writeDECChannelConfigurationRequestMonoLwRwLhRh_1 writeDECChannelConfigurationRequestMonoX_1(0x05)
+#define writeDECChannelConfigurationRequestPhantom0X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom0LwRw_1 writeDECChannelConfigurationRequestPhantom0X_1(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRh_1 writeDECChannelConfigurationRequestPhantom0X_1(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom0X_1(0x05)
+#define writeDECChannelConfigurationRequestPhantom0XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,((n<<8)|0x0001)
+#define writeDECChannelConfigurationRequestPhantom0LwRwStereo_1 writeDECChannelConfigurationRequestPhantom0XStereo_1(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhStereo_1 writeDECChannelConfigurationRequestPhantom0XStereo_1(0x04) 
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_1 writeDECChannelConfigurationRequestPhantom0XStereo_1(0x05) 
+#define writeDECChannelConfigurationRequestPhantom0XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLtRt_1 writeDECChannelConfigurationRequestPhantom0XLtRt_1(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhLtRt_1 writeDECChannelConfigurationRequestPhantom0XLtRt_1(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhLtRt_1 writeDECChannelConfigurationRequestPhantom0XLtRt_1(0x05)
+#define writeDECChannelConfigurationRequestPhantom0XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,((n<<8)|0x0003)
+#define writeDECChannelConfigurationRequestPhantom0LwRwMono_1 writeDECChannelConfigurationRequestPhantom0XMono_1(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhMono_1 writeDECChannelConfigurationRequestPhantom0XMono_1(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhMono_1 writeDECChannelConfigurationRequestPhantom0XMono_1(0x05)
+#define wroteDECChannelConfigurationRequestPhantom0XDual_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0103,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationRequestPhantom0LwRwDual_1 wroteDECChannelConfigurationRequestPhantom0XDual_1(0x01)
+#define wroteDECChannelConfigurationRequestPhantom0LhRhDual_1 wroteDECChannelConfigurationRequestPhantom0XDual_1(0x04)
+#define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_1 wroteDECChannelConfigurationRequestPhantom0XDual_1(0x05)
+#define writeDECChannelConfigurationRequestPhantom1X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0104,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom1LwRw_1 writeDECChannelConfigurationRequestPhantom1X_1(0x01)
+#define writeDECChannelConfigurationRequestPhantom1LhRh_1 writeDECChannelConfigurationRequestPhantom1X_1(0x04)
+#define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom1X_1(0x05)
+#define writeDECChannelConfigurationRequestPhantom2X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom2LwRw_1 writeDECChannelConfigurationRequestPhantom2X_1(0x01)
+#define writeDECChannelConfigurationRequestPhantom2LhRh_1 writeDECChannelConfigurationRequestPhantom2X_1(0x04)
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom2X_1(0x05)
+#define wroteDECChannelConfigurationRequestPhantom2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_1 wroteDECChannelConfigurationRequestPhantom2XStereo_1(0x01) 
+#define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_1 wroteDECChannelConfigurationRequestPhantom2XStereo_1(0x04) 
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_1 wroteDECChannelConfigurationRequestPhantom2XStereo_1(0x05) 
+#define writeDECChannelConfigurationRequestPhantom2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_1 writeDECChannelConfigurationRequestPhantom2XLtRt_1(0x01) 
+#define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_1 writeDECChannelConfigurationRequestPhantom2XLtRt_1(0x04) 
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_1 writeDECChannelConfigurationRequestPhantom2XLtRt_1(0x05) 
+#define wroteDECChannelConfigurationRequestPhantom2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0105,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwMono_1 wroteDECChannelConfigurationRequestPhantom2XMono_1(0x01) 
+#define wroteDECChannelConfigurationRequestPhantom2LhRhMono_1 wroteDECChannelConfigurationRequestPhantom2XMono_1(0x04)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_1 wroteDECChannelConfigurationRequestPhantom2XMono_1(0x05) 
+#define writeDECChannelConfigurationRequestPhantom3X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0106,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom3LwRw_1 writeDECChannelConfigurationRequestPhantom3X_1(0x01)
+#define writeDECChannelConfigurationRequestPhantom3LhRh_1 writeDECChannelConfigurationRequestPhantom3X_1(0x04)
+#define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom3X_1(0x05)
+#define writeDECChannelConfigurationRequestPhantom4X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0107,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom4LwRw_1 writeDECChannelConfigurationRequestPhantom4X_1(0x01)
+#define writeDECChannelConfigurationRequestPhantom4LhRh_1 writeDECChannelConfigurationRequestPhantom4X_1(0x04)
+#define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_1 writeDECChannelConfigurationRequestPhantom4X_1(0x05)
+#define writeDECChannelConfigurationRequestSurround0X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0108,(n<<8)
+#define writeDECChannelConfigurationRequestSurround0LwRw_1 writeDECChannelConfigurationRequestSurround0X_1(0x01)
+#define writeDECChannelConfigurationRequestSurround0LhRh_1 writeDECChannelConfigurationRequestSurround0X_1(0x04)
+#define writeDECChannelConfigurationRequestSurround0LwRwLhRh_1 writeDECChannelConfigurationRequestSurround0X_1(0x05)
+#define writeDECChannelConfigurationRequestSurround1X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0109,(n<<8)
+#define writeDECChannelConfigurationRequestSurround1LwRw_1 writeDECChannelConfigurationRequestSurround1X_1(0x01)
+#define writeDECChannelConfigurationRequestSurround1LhRh_1 writeDECChannelConfigurationRequestSurround1X_1(0x04)
+#define writeDECChannelConfigurationRequestSurround1LwRwLhRh_1 writeDECChannelConfigurationRequestSurround1X_1(0x05)
+#define writeDECChannelConfigurationRequestSurround2X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,(n<<8)
+#define writeDECChannelConfigurationRequestSurround2LwRw_1 writeDECChannelConfigurationRequestSurround2X_1(0x01)
+#define writeDECChannelConfigurationRequestSurround2LhRh_1 writeDECChannelConfigurationRequestSurround2X_1(0x04)
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRh_1 writeDECChannelConfigurationRequestSurround2X_1(0x05)
+#define wroteDECChannelConfigurationRequestSurround2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationRequestSurround2LwRwStereo_1 wroteDECChannelConfigurationRequestSurround2XStereo_1(0x01)
+#define wroteDECChannelConfigurationRequestSurround2LhRhStereo_1 wroteDECChannelConfigurationRequestSurround2XStereo_1(0x04)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_1 wroteDECChannelConfigurationRequestSurround2XStereo_1(0x05)
+#define writeDECChannelConfigurationRequestSurround2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestSurround2LwRwLtRt_1 writeDECChannelConfigurationRequestSurround2XLtRt_1(0x01) 
+#define writeDECChannelConfigurationRequestSurround2LhRhLtRt_1 writeDECChannelConfigurationRequestSurround2XLtRt_1(0x04) 
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_1 writeDECChannelConfigurationRequestSurround2XLtRt_1(0x05) 
+#define wroteDECChannelConfigurationRequestSurround2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationRequestSurround2LwRwMono_1 wroteDECChannelConfigurationRequestSurround2XMono_1(0x01) 
+#define wroteDECChannelConfigurationRequestSurround2LhRhMono_1 wroteDECChannelConfigurationRequestSurround2XMono_1(0x04)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_1 wroteDECChannelConfigurationRequestSurround2XMono_1(0x05) 
+#define writeDECChannelConfigurationRequestSurround3X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010b,(n<<8)
+#define writeDECChannelConfigurationRequestSurround3LwRw_1 writeDECChannelConfigurationRequestSurround3X_1(0x01)
+#define writeDECChannelConfigurationRequestSurround3LhRh_1 writeDECChannelConfigurationRequestSurround3X_1(0x04)
+#define writeDECChannelConfigurationRequestSurround3LwRwLhRh_1 writeDECChannelConfigurationRequestSurround3X_1(0x05)
+#define writeDECChannelConfigurationRequestSurround4X_1(n) 0xcc00+STD_BETA_DECODE,0x0038,0x010c,(n<<8)
+#define writeDECChannelConfigurationRequestSurround4LwRw_1 writeDECChannelConfigurationRequestSurround4X_1(0x01)
+#define writeDECChannelConfigurationRequestSurround4LhRh_1 writeDECChannelConfigurationRequestSurround4X_1(0x04)
+#define writeDECChannelConfigurationRequestSurround4LwRwLhRh_1 writeDECChannelConfigurationRequestSurround4X_1(0x05)
+// _2
+#define writeDECChannelConfigurationRequestNoneX_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0201,(n<<8)
+#define writeDECChannelConfigurationRequestNoneLwRw_2 writeDECChannelConfigurationRequestNoneX_2(0x01)
+#define writeDECChannelConfigurationRequestNoneLhRh_2 writeDECChannelConfigurationRequestNoneX_2(0x04)
+#define writeDECChannelConfigurationRequestNoneLwRwLhRh_2 writeDECChannelConfigurationRequestNoneX_2(0x05)
+#define writeDECChannelConfigurationRequestMonoX_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0202,(n<<8)
+#define writeDECChannelConfigurationRequestMonoLwRw_2 writeDECChannelConfigurationRequestMonoX_2(0x01)
+#define writeDECChannelConfigurationRequestMonoLhRh_2 writeDECChannelConfigurationRequestMonoX_2(0x04)
+#define writeDECChannelConfigurationRequestMonoLwRwLhRh_2 writeDECChannelConfigurationRequestMonoX_2(0x05)
+#define writeDECChannelConfigurationRequestPhantom0X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom0LwRw_2 writeDECChannelConfigurationRequestPhantom0X_2(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRh_2 writeDECChannelConfigurationRequestPhantom0X_2(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom0X_2(0x05)
+#define writeDECChannelConfigurationRequestPhantom0XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,((n<<8)|0x0001)
+#define writeDECChannelConfigurationRequestPhantom0LwRwStereo_2 writeDECChannelConfigurationRequestPhantom0XStereo_2(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhStereo_2 writeDECChannelConfigurationRequestPhantom0XStereo_2(0x04) 
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhStereo_2 writeDECChannelConfigurationRequestPhantom0XStereo_2(0x05) 
+#define writeDECChannelConfigurationRequestPhantom0XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLtRt_2 writeDECChannelConfigurationRequestPhantom0XLtRt_2(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhLtRt_2 writeDECChannelConfigurationRequestPhantom0XLtRt_2(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhLtRt_2 writeDECChannelConfigurationRequestPhantom0XLtRt_2(0x05)
+#define writeDECChannelConfigurationRequestPhantom0XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,((n<<8)|0x0003)
+#define writeDECChannelConfigurationRequestPhantom0LwRwMono_2 writeDECChannelConfigurationRequestPhantom0XMono_2(0x01)
+#define writeDECChannelConfigurationRequestPhantom0LhRhMono_2 writeDECChannelConfigurationRequestPhantom0XMono_2(0x04)
+#define writeDECChannelConfigurationRequestPhantom0LwRwLhRhMono_2 writeDECChannelConfigurationRequestPhantom0XMono_2(0x05)
+#define wroteDECChannelConfigurationRequestPhantom0XDual_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0203,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationRequestPhantom0LwRwDual_2 wroteDECChannelConfigurationRequestPhantom0XDual_2(0x01)
+#define wroteDECChannelConfigurationRequestPhantom0LhRhDual_2 wroteDECChannelConfigurationRequestPhantom0XDual_2(0x04)
+#define wroteDECChannelConfigurationRequestPhantom0LwRwLhRhDual_2 wroteDECChannelConfigurationRequestPhantom0XDual_2(0x05)
+#define writeDECChannelConfigurationRequestPhantom1X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0204,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom1LwRw_2 writeDECChannelConfigurationRequestPhantom1X_2(0x01)
+#define writeDECChannelConfigurationRequestPhantom1LhRh_2 writeDECChannelConfigurationRequestPhantom1X_2(0x04)
+#define writeDECChannelConfigurationRequestPhantom1LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom1X_2(0x05)
+#define writeDECChannelConfigurationRequestPhantom2X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0205,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom2LwRw_2 writeDECChannelConfigurationRequestPhantom2X_2(0x01)
+#define writeDECChannelConfigurationRequestPhantom2LhRh_2 writeDECChannelConfigurationRequestPhantom2X_2(0x04)
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom2X_2(0x05)
+#define wroteDECChannelConfigurationRequestPhantom2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0205,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwStereo_2 wroteDECChannelConfigurationRequestPhantom2XStereo_2(0x01) 
+#define wroteDECChannelConfigurationRequestPhantom2LhRhStereo_2 wroteDECChannelConfigurationRequestPhantom2XStereo_2(0x04) 
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhStereo_2 wroteDECChannelConfigurationRequestPhantom2XStereo_2(0x05) 
+#define writeDECChannelConfigurationRequestPhantom2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0205,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestPhantom2LwRwLtRt_2 writeDECChannelConfigurationRequestPhantom2XLtRt_2(0x01) 
+#define writeDECChannelConfigurationRequestPhantom2LhRhLtRt_2 writeDECChannelConfigurationRequestPhantom2XLtRt_2(0x04) 
+#define writeDECChannelConfigurationRequestPhantom2LwRwLhRhLtRt_2 writeDECChannelConfigurationRequestPhantom2XLtRt_2(0x05) 
+#define wroteDECChannelConfigurationRequestPhantom2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0205,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwMono_2 wroteDECChannelConfigurationRequestPhantom2XMono_2(0x01) 
+#define wroteDECChannelConfigurationRequestPhantom2LhRhMono_2 wroteDECChannelConfigurationRequestPhantom2XMono_2(0x04)
+#define wroteDECChannelConfigurationRequestPhantom2LwRwLhRhMono_2 wroteDECChannelConfigurationRequestPhantom2XMono_2(0x05) 
+#define writeDECChannelConfigurationRequestPhantom3X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0206,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom3LwRw_2 writeDECChannelConfigurationRequestPhantom3X_2(0x01)
+#define writeDECChannelConfigurationRequestPhantom3LhRh_2 writeDECChannelConfigurationRequestPhantom3X_2(0x04)
+#define writeDECChannelConfigurationRequestPhantom3LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom3X_2(0x05)
+#define writeDECChannelConfigurationRequestPhantom4X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0207,(n<<8)
+#define writeDECChannelConfigurationRequestPhantom4LwRw_2 writeDECChannelConfigurationRequestPhantom4X_2(0x01)
+#define writeDECChannelConfigurationRequestPhantom4LhRh_2 writeDECChannelConfigurationRequestPhantom4X_2(0x04)
+#define writeDECChannelConfigurationRequestPhantom4LwRwLhRh_2 writeDECChannelConfigurationRequestPhantom4X_2(0x05)
+#define writeDECChannelConfigurationRequestSurround0X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0208,(n<<8)
+#define writeDECChannelConfigurationRequestSurround0LwRw_2 writeDECChannelConfigurationRequestSurround0X_2(0x01)
+#define writeDECChannelConfigurationRequestSurround0LhRh_2 writeDECChannelConfigurationRequestSurround0X_2(0x04)
+#define writeDECChannelConfigurationRequestSurround0LwRwLhRh_2 writeDECChannelConfigurationRequestSurround0X_2(0x05)
+#define writeDECChannelConfigurationRequestSurround1X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x0209,(n<<8)
+#define writeDECChannelConfigurationRequestSurround1LwRw_2 writeDECChannelConfigurationRequestSurround1X_2(0x01)
+#define writeDECChannelConfigurationRequestSurround1LhRh_2 writeDECChannelConfigurationRequestSurround1X_2(0x04)
+#define writeDECChannelConfigurationRequestSurround1LwRwLhRh_2 writeDECChannelConfigurationRequestSurround1X_2(0x05)
+#define writeDECChannelConfigurationRequestSurround2X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020a,(n<<8)
+#define writeDECChannelConfigurationRequestSurround2LwRw_2 writeDECChannelConfigurationRequestSurround2X_2(0x01)
+#define writeDECChannelConfigurationRequestSurround2LhRh_2 writeDECChannelConfigurationRequestSurround2X_2(0x04)
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRh_2 writeDECChannelConfigurationRequestSurround2X_2(0x05)
+#define wroteDECChannelConfigurationRequestSurround2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationRequestSurround2LwRwStereo_2 wroteDECChannelConfigurationRequestSurround2XStereo_2(0x01)
+#define wroteDECChannelConfigurationRequestSurround2LhRhStereo_2 wroteDECChannelConfigurationRequestSurround2XStereo_2(0x04)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhStereo_2 wroteDECChannelConfigurationRequestSurround2XStereo_2(0x05)
+#define writeDECChannelConfigurationRequestSurround2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020a,((n<<8)|0x0002)
+#define writeDECChannelConfigurationRequestSurround2LwRwLtRt_2 writeDECChannelConfigurationRequestSurround2XLtRt_2(0x01) 
+#define writeDECChannelConfigurationRequestSurround2LhRhLtRt_2 writeDECChannelConfigurationRequestSurround2XLtRt_2(0x04) 
+#define writeDECChannelConfigurationRequestSurround2LwRwLhRhLtRt_2 writeDECChannelConfigurationRequestSurround2XLtRt_2(0x05) 
+#define wroteDECChannelConfigurationRequestSurround2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationRequestSurround2LwRwMono_2 wroteDECChannelConfigurationRequestSurround2XMono_2(0x01) 
+#define wroteDECChannelConfigurationRequestSurround2LhRhMono_2 wroteDECChannelConfigurationRequestSurround2XMono_2(0x04)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLhRhMono_2 wroteDECChannelConfigurationRequestSurround2XMono_2(0x05) 
+#define writeDECChannelConfigurationRequestSurround3X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020b,(n<<8)
+#define writeDECChannelConfigurationRequestSurround3LwRw_2 writeDECChannelConfigurationRequestSurround3X_2(0x01)
+#define writeDECChannelConfigurationRequestSurround3LhRh_2 writeDECChannelConfigurationRequestSurround3X_2(0x04)
+#define writeDECChannelConfigurationRequestSurround3LwRwLhRh_2 writeDECChannelConfigurationRequestSurround3X_2(0x05)
+#define writeDECChannelConfigurationRequestSurround4X_2(n) 0xcc00+STD_BETA_DECODE,0x0038,0x020c,(n<<8)
+#define writeDECChannelConfigurationRequestSurround4LwRw_2 writeDECChannelConfigurationRequestSurround4X_2(0x01)
+#define writeDECChannelConfigurationRequestSurround4LhRh_2 writeDECChannelConfigurationRequestSurround4X_2(0x04)
+#define writeDECChannelConfigurationRequestSurround4LwRwLhRh_2 writeDECChannelConfigurationRequestSurround4X_2(0x05)
+
+// sort of legacy.  Only writes the low 32 bits.
+#define writeDECChannelConfigurationRequestHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x003C,LL,HH
+// writes the full 64 bits
+#define writeDECChannelConfigurationRequestHLHL(HH,HL,LH,LL) 0xce00+STD_BETA_DECODE,0x3810,LL,LH,HL,HH
+
+
+#define  readDECChannelConfigurationRequestExtChan         0xc200+STD_BETA_DECODE,0x3B00
+#define  readDECChannelConfigurationRequestExtMask         readDECChannelConfigurationRequestExtChan
+#define writeDECChannelConfigurationRequestExtChanNone     0xca00+STD_BETA_DECODE,0x3B00
+#define writeDECChannelConfigurationRequestExtChanLhRh     0xca00+STD_BETA_DECODE,(0x3B04) // PAF_CC_EXTMASK_LhRh
+#define writeDECChannelConfigurationRequestExtChanLwRw     0xca00+STD_BETA_DECODE,(0x3B01) // PAF_CC_EXTMASK_LwRw
+#define writeDECChannelConfigurationRequestExtChanLwRwLhRh 0xca00+STD_BETA_DECODE, \
+                                                           (0x3B05) // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
+
+#define writeDECChannelConfigurationRequestAuxUnknown 0xca00+STD_BETA_DECODE,0x3A00
+#define writeDECChannelConfigurationRequestAuxStereo 0xca00+STD_BETA_DECODE,0x3A01
+#define writeDECChannelConfigurationRequestAuxLtRt 0xca00+STD_BETA_DECODE,0x3A02
+#define writeDECChannelConfigurationRequestAuxMono 0xca00+STD_BETA_DECODE,0x3A03
+#define writeDECChannelConfigurationRequestAuxDual 0xca00+STD_BETA_DECODE,0x3A04
+
+//ATMOS
+#define writeDECChannelConfigurationRequestSurround2ATMOS_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0000,(n<<8),0x0000
+#define writeDECChannelConfigurationRequestSurround2ATMOS_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0000,(n<<8),0x0000
+#define writeDECChannelConfigurationRequestSurround2ATMOS_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0000,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0003,(n<<8),0x0000
+
+#define writeDECChannelConfigurationRequestSurround2LwRwATMOS_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0100,(n<<8),0x0000
+#define writeDECChannelConfigurationRequestSurround2LwRwATMOS_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0100,(n<<8),0x0000
+#define writeDECChannelConfigurationRequestSurround2LwRwATMOS_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0100,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0103,(n<<8),0x0000
+
+#define writeDECChannelConfigurationRequestSurround4ATMOS_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000c,0x0000,(n<<8),0x0000
+#define writeDECChannelConfigurationRequestSurround4ATMOS_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010c,0x0000,(n<<8),0x0000
+#define writeDECChannelConfigurationRequestSurround4ATMOS_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020c,0x0000,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000c,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010c,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020c,0x0003,(n<<8),0x0000
+
+#define writeDECChannelConfigurationRequestSurround4LwRwATMOS_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000a,0x0100,(n<<8),0x0000
+#define writeDECChannelConfigurationRequestSurround4LwRwATMOS_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010a,0x0100,(n<<8),0x0000
+#define writeDECChannelConfigurationRequestSurround4LwRwATMOS_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020a,0x0100,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x3808,0x000c,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x3808,0x010c,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x3808,0x020c,0x0103,(n<<8),0x0000
+
+#define writeDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_0 writeDECChannelConfigurationRequestSurround2ATMOS_0(0xA)
+#define writeDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_1 writeDECChannelConfigurationRequestSurround2ATMOS_1(0xA)
+#define writeDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_2 writeDECChannelConfigurationRequestSurround2ATMOS_2(0xA)
+#define wroteDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationRequestSurround2ATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationRequestSurround2ATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationRequestSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationRequestSurround2ATMOSMono_2(0xA)
+
+#define writeDECChannelConfigurationRequestSurround4LtmRtm_0 writeDECChannelConfigurationRequestSurround4ATMOS_0(0x4)
+#define writeDECChannelConfigurationRequestSurround4LtmRtm_1 writeDECChannelConfigurationRequestSurround4ATMOS_1(0x4)
+#define writeDECChannelConfigurationRequestSurround4LtmRtm_2 writeDECChannelConfigurationRequestSurround4ATMOS_2(0x4)
+#define wroteDECChannelConfigurationRequestSurround4LtmRtm_0 wroteDECChannelConfigurationRequestSurround4ATMOSMono_0(0x4)
+#define wroteDECChannelConfigurationRequestSurround4LtmRtm_1 wroteDECChannelConfigurationRequestSurround4ATMOSMono_1(0x4)
+#define wroteDECChannelConfigurationRequestSurround4LtmRtm_2 wroteDECChannelConfigurationRequestSurround4ATMOSMono_2(0x4)
+
+#define writeDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_0 writeDECChannelConfigurationRequestSurround2LwRwATMOS_0(0xA)
+#define writeDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_1 writeDECChannelConfigurationRequestSurround2LwRwATMOS_1(0xA)
+#define writeDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_2 writeDECChannelConfigurationRequestSurround2LwRwATMOS_2(0xA)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationRequestSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationRequestSurround2LwRwATMOSMono_2(0xA)
+
+#define writeDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_0 writeDECChannelConfigurationRequestSurround4ATMOS_0(0xA)
+#define writeDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 writeDECChannelConfigurationRequestSurround4ATMOS_1(0xA)
+#define writeDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_2 writeDECChannelConfigurationRequestSurround4ATMOS_2(0xA)
+#define wroteDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationRequestSurround4ATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationRequestSurround4ATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationRequestSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationRequestSurround4ATMOSMono_2(0xA)
+
+#define writeDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_0 writeDECChannelConfigurationRequestSurround4LwRwATMOS_0(0xA)
+#define writeDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_1 writeDECChannelConfigurationRequestSurround4LwRwATMOS_1(0xA)
+#define writeDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_2 writeDECChannelConfigurationRequestSurround4LwRwATMOS_2(0xA)
+#define wroteDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationRequestSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationRequestSurround4LwRwATMOSMono_2(0xA)
+
+#define readDECChannelConfigurationRequestATMOSChan         0xc200+STD_BETA_DECODE,0x3d00
+#define readDECChannelConfigurationRequestATMOSMask         readDECChannelConfigurationRequestATMOSChan
+#define writeDECChannelConfigurationRequestATMOSChanNone     0xca00+STD_BETA_DECODE,0x3d00
+#define writeDECChannelConfigurationRequestATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x3d11)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
+#define writeDECChannelConfigurationRequestATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x3d0a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
+#define writeDECChannelConfigurationRequestATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x3d04)//PAF_CC_EXTMASK_LtmRtm
+
+//-------------------------------------------------------------------------------------------------------------
+
+#define wroteDECChannelConfigurationProgramUnknown 0xcc00+STD_BETA_DECODE,0x0040,0x0000,0x0000
+
+#define wroteDECChannelConfigurationProgramNone 0xcc00+STD_BETA_DECODE,0x0040,0x0001,0x0000
+#define wroteDECChannelConfigurationProgramMono 0xcc00+STD_BETA_DECODE,0x0040,0x0002,0x0000
+#define wroteDECChannelConfigurationProgramStereo 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0000
+#define wroteDECChannelConfigurationProgramStereoLtRt 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0002
+#define wroteDECChannelConfigurationProgramStereoMono 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0003
+#define wroteDECChannelConfigurationProgram3Stereo 0xcc00+STD_BETA_DECODE,0x0040,0x0108,0x0000
+#define wroteDECChannelConfigurationProgramPhantom 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0000
+#define wroteDECChannelConfigurationProgramSurround 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0000
+
+#define wroteDECChannelConfigurationProgramNone_0 0xcc00+STD_BETA_DECODE,0x0040,0x0001,0x0000
+#define wroteDECChannelConfigurationProgramMono_0 0xcc00+STD_BETA_DECODE,0x0040,0x0002,0x0000
+#define wroteDECChannelConfigurationProgramPhantom0_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0000
+#define wroteDECChannelConfigurationProgramPhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0001
+#define wroteDECChannelConfigurationProgramPhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0002
+#define wroteDECChannelConfigurationProgramPhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0003
+#define wroteDECChannelConfigurationProgramPhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0040,0x0003,0x0004
+#define wroteDECChannelConfigurationProgramPhantom1_0 0xcc00+STD_BETA_DECODE,0x0040,0x0004,0x0000
+#define wroteDECChannelConfigurationProgramPhantom2_0 0xcc00+STD_BETA_DECODE,0x0040,0x0005,0x0000
+#define wroteDECChannelConfigurationProgramPhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0040,0x0005,0x0001
+#define wroteDECChannelConfigurationProgramPhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0040,0x0005,0x0002
+#define wroteDECChannelConfigurationProgramPhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0040,0x0005,0x0003
+#define wroteDECChannelConfigurationProgramPhantom3_0 0xcc00+STD_BETA_DECODE,0x0040,0x0006,0x0000
+#define wroteDECChannelConfigurationProgramPhantom4_0 0xcc00+STD_BETA_DECODE,0x0040,0x0007,0x0000
+#define wroteDECChannelConfigurationProgramSurround0_0 0xcc00+STD_BETA_DECODE,0x0040,0x0008,0x0000
+#define wroteDECChannelConfigurationProgramSurround1_0 0xcc00+STD_BETA_DECODE,0x0040,0x0009,0x0000
+#define wroteDECChannelConfigurationProgramSurround2_0 0xcc00+STD_BETA_DECODE,0x0040,0x000a,0x0000
+#define wroteDECChannelConfigurationProgramSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0040,0x000a,0x0001
+#define wroteDECChannelConfigurationProgramSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0040,0x000a,0x0002
+#define wroteDECChannelConfigurationProgramSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0040,0x000a,0x0003
+#define wroteDECChannelConfigurationProgramSurround3_0 0xcc00+STD_BETA_DECODE,0x0040,0x000b,0x0000
+#define wroteDECChannelConfigurationProgramSurround4_0 0xcc00+STD_BETA_DECODE,0x0040,0x000c,0x0000
+
+#define wroteDECChannelConfigurationProgramNone_1 0xcc00+STD_BETA_DECODE,0x0040,0x0101,0x0000
+#define wroteDECChannelConfigurationProgramMono_1 0xcc00+STD_BETA_DECODE,0x0040,0x0102,0x0000
+#define wroteDECChannelConfigurationProgramPhantom0_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0000
+#define wroteDECChannelConfigurationProgramPhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0001
+#define wroteDECChannelConfigurationProgramPhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0002
+#define wroteDECChannelConfigurationProgramPhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0003
+#define wroteDECChannelConfigurationProgramPhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0040,0x0103,0x0004
+#define wroteDECChannelConfigurationProgramPhantom1_1 0xcc00+STD_BETA_DECODE,0x0040,0x0104,0x0000
+#define wroteDECChannelConfigurationProgramPhantom2_1 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0000
+#define wroteDECChannelConfigurationProgramPhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0001
+#define wroteDECChannelConfigurationProgramPhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0002
+#define wroteDECChannelConfigurationProgramPhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0040,0x0105,0x0003
+#define wroteDECChannelConfigurationProgramPhantom3_1 0xcc00+STD_BETA_DECODE,0x0040,0x0106,0x0000
+#define wroteDECChannelConfigurationProgramPhantom4_1 0xcc00+STD_BETA_DECODE,0x0040,0x0107,0x0000
+#define wroteDECChannelConfigurationProgramSurround0_1 0xcc00+STD_BETA_DECODE,0x0040,0x0108,0x0000
+#define wroteDECChannelConfigurationProgramSurround1_1 0xcc00+STD_BETA_DECODE,0x0040,0x0109,0x0000
+#define wroteDECChannelConfigurationProgramSurround2_1 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0000
+#define wroteDECChannelConfigurationProgramSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0001
+#define wroteDECChannelConfigurationProgramSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0002
+#define wroteDECChannelConfigurationProgramSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0040,0x010a,0x0003
+#define wroteDECChannelConfigurationProgramSurround3_1 0xcc00+STD_BETA_DECODE,0x0040,0x010b,0x0000
+#define wroteDECChannelConfigurationProgramSurround4_1 0xcc00+STD_BETA_DECODE,0x0040,0x010c,0x0000
+
+// Extended channel configuration requests
+#define wroteDECChannelConfigurationProgramNoneX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0001,(n<<8)
+#define wroteDECChannelConfigurationProgramNoneLwRw wroteDECChannelConfigurationProgramNoneX(0x01)
+#define wroteDECChannelConfigurationProgramNoneLhRh wroteDECChannelConfigurationProgramNoneX(0x04)
+#define wroteDECChannelConfigurationProgramNoneLwRwLhRh wroteDECChannelConfigurationProgramNoneX(0x05)
+#define wroteDECChannelConfigurationProgramMonoX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0002,(n<<8)
+#define wroteDECChannelConfigurationProgramMonoLwRw wroteDECChannelConfigurationProgramMonoX(0x01)
+#define wroteDECChannelConfigurationProgramMonoLhRh wroteDECChannelConfigurationProgramMonoX(0x04)
+#define wroteDECChannelConfigurationProgramMonoLwRwLhRh wroteDECChannelConfigurationProgramMonoX(0x05)
+#define wroteDECChannelConfigurationProgramStereoX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,(n<<8)
+#define wroteDECChannelConfigurationProgramStereoLwRw wroteDECChannelConfigurationProgramStereoX(0x01)
+#define wroteDECChannelConfigurationProgramStereoLhRh wroteDECChannelConfigurationProgramStereoX(0x04)
+#define wroteDECChannelConfigurationProgramStereoLwRwLhRh wroteDECChannelConfigurationProgramStereoX(0x05)
+#define wroteDECChannelConfigurationProgramStereoXLtRt(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramStereoLwRwLtRt wroteDECChannelConfigurationProgramStereoXLtRt(0x01)
+#define wroteDECChannelConfigurationProgramStereoLhRhLtRt wroteDECChannelConfigurationProgramStereoXLtRt(0x04)
+#define wroteDECChannelConfigurationProgramStereoLwRwLhRhLtRt wroteDECChannelConfigurationProgramStereoXLtRt(0x05)
+#define wroteDECChannelConfigurationProgramStereoXMono(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramStereoLwRwMono wroteDECChannelConfigurationProgramStereoXMono(0x01)
+#define wroteDECChannelConfigurationProgramStereoLhRhMono wroteDECChannelConfigurationProgramStereoXMono(0x04)
+#define wroteDECChannelConfigurationProgramStereoLwRwLhRhMono wroteDECChannelConfigurationProgramStereoXMono(0x05)
+#define wroteDECChannelConfigurationProgram3StereoX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0108,(n<<8)
+#define wroteDECChannelConfigurationProgram3StereoLwRw wroteDECChannelConfigurationProgram3StereoX(0x01)
+#define wroteDECChannelConfigurationProgram3StereoLhRh wroteDECChannelConfigurationProgram3StereoX(0x04)
+#define wroteDECChannelConfigurationProgram3StereoLwRwLhRh wroteDECChannelConfigurationProgram3StereoX(0x05)
+#define wroteDECChannelConfigurationProgramPhantomX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantomLwRw wroteDECChannelConfigurationProgramPhantomX(0x01)
+#define wroteDECChannelConfigurationProgramPhantomLhRh wroteDECChannelConfigurationProgramPhantomX(0x04)
+#define wroteDECChannelConfigurationProgramPhantomLwRwLhRh wroteDECChannelConfigurationProgramPhantomX(0x05)
+#define wroteDECChannelConfigurationProgramSurroundX(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,(n<<8)
+#define wroteDECChannelConfigurationProgramSurroundLwRw wroteDECChannelConfigurationProgramSurroundX(0x01)
+#define wroteDECChannelConfigurationProgramSurroundLhRh wroteDECChannelConfigurationProgramSurroundX(0x04)
+#define wroteDECChannelConfigurationProgramSurroundLwRwLhRh wroteDECChannelConfigurationProgramSurroundX(0x05)
+
+// _0
+#define wroteDECChannelConfigurationProgramNoneX_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0001,(n<<8)
+#define wroteDECChannelConfigurationProgramNoneLwRw_0 wroteDECChannelConfigurationProgramNoneX_0(0x01)
+#define wroteDECChannelConfigurationProgramNoneLhRh_0 wroteDECChannelConfigurationProgramNoneX_0(0x04)
+#define wroteDECChannelConfigurationProgramNoneLwRwLhRh_0 wroteDECChannelConfigurationProgramNoneX_0(0x05)
+#define wroteDECChannelConfigurationProgramMonoX_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0002,(n<<8)
+#define wroteDECChannelConfigurationProgramMonoLwRw_0 wroteDECChannelConfigurationProgramMonoX_0(0x01)
+#define wroteDECChannelConfigurationProgramMonoLhRh_0 wroteDECChannelConfigurationProgramMonoX_0(0x04)
+#define wroteDECChannelConfigurationProgramMonoLwRwLhRh_0 wroteDECChannelConfigurationProgramMonoX_0(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom0LwRw_0 wroteDECChannelConfigurationProgramPhantom0X_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRh_0 wroteDECChannelConfigurationProgramPhantom0X_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom0X_0(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_0 wroteDECChannelConfigurationProgramPhantom0XStereo_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_0 wroteDECChannelConfigurationProgramPhantom0XStereo_0(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_0 wroteDECChannelConfigurationProgramPhantom0XStereo_0(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom0XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLtRt_0 wroteDECChannelConfigurationProgramPhantom0XLtRt_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhLtRt_0 wroteDECChannelConfigurationProgramPhantom0XLtRt_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhLtRt_0 wroteDECChannelConfigurationProgramPhantom0XLtRt_0(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwMono_0 wroteDECChannelConfigurationProgramPhantom0XMono_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhMono_0 wroteDECChannelConfigurationProgramPhantom0XMono_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhMono_0 wroteDECChannelConfigurationProgramPhantom0XMono_0(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XDual_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0003,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwDual_0 wroteDECChannelConfigurationProgramPhantom0XDual_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhDual_0 wroteDECChannelConfigurationProgramPhantom0XDual_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_0 wroteDECChannelConfigurationProgramPhantom0XDual_0(0x05)
+#define wroteDECChannelConfigurationProgramPhantom1X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0004,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom1LwRw_0 wroteDECChannelConfigurationProgramPhantom1X_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom1LhRh_0 wroteDECChannelConfigurationProgramPhantom1X_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom1X_0(0x05)
+#define wroteDECChannelConfigurationProgramPhantom2X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0005,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom2LwRw_0 wroteDECChannelConfigurationProgramPhantom2X_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom2LhRh_0 wroteDECChannelConfigurationProgramPhantom2X_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom2X_0(0x05)
+#define wroteDECChannelConfigurationProgramPhantom2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0005,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_0 wroteDECChannelConfigurationProgramPhantom2XStereo_0(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_0 wroteDECChannelConfigurationProgramPhantom2XStereo_0(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_0 wroteDECChannelConfigurationProgramPhantom2XStereo_0(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0005,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_0 wroteDECChannelConfigurationProgramPhantom2XLtRt_0(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_0 wroteDECChannelConfigurationProgramPhantom2XLtRt_0(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_0 wroteDECChannelConfigurationProgramPhantom2XLtRt_0(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0005,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwMono_0 wroteDECChannelConfigurationProgramPhantom2XMono_0(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhMono_0 wroteDECChannelConfigurationProgramPhantom2XMono_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_0 wroteDECChannelConfigurationProgramPhantom2XMono_0(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom3X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0006,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom3LwRw_0 wroteDECChannelConfigurationProgramPhantom3X_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom3LhRh_0 wroteDECChannelConfigurationProgramPhantom3X_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom3X_0(0x05)
+#define wroteDECChannelConfigurationProgramPhantom4X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0007,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom4LwRw_0 wroteDECChannelConfigurationProgramPhantom4X_0(0x01)
+#define wroteDECChannelConfigurationProgramPhantom4LhRh_0 wroteDECChannelConfigurationProgramPhantom4X_0(0x04)
+#define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_0 wroteDECChannelConfigurationProgramPhantom4X_0(0x05)
+#define wroteDECChannelConfigurationProgramSurround0X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0008,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround0LwRw_0 wroteDECChannelConfigurationProgramSurround0X_0(0x01)
+#define wroteDECChannelConfigurationProgramSurround0LhRh_0 wroteDECChannelConfigurationProgramSurround0X_0(0x04)
+#define wroteDECChannelConfigurationProgramSurround0LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround0X_0(0x05)
+#define wroteDECChannelConfigurationProgramSurround1X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0009,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround1LwRw_0 wroteDECChannelConfigurationProgramSurround1X_0(0x01)
+#define wroteDECChannelConfigurationProgramSurround1LhRh_0 wroteDECChannelConfigurationProgramSurround1X_0(0x04)
+#define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround1X_0(0x05)
+#define wroteDECChannelConfigurationProgramSurround2X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000a,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround2LwRw_0 wroteDECChannelConfigurationProgramSurround2X_0(0x01)
+#define wroteDECChannelConfigurationProgramSurround2LhRh_0 wroteDECChannelConfigurationProgramSurround2X_0(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround2X_0(0x05)
+#define wroteDECChannelConfigurationProgramSurround2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramSurround2LwRwStereo_0 wroteDECChannelConfigurationProgramSurround2XStereo_0(0x01)
+#define wroteDECChannelConfigurationProgramSurround2LhRhStereo_0 wroteDECChannelConfigurationProgramSurround2XStereo_0(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_0 wroteDECChannelConfigurationProgramSurround2XStereo_0(0x05)
+#define wroteDECChannelConfigurationProgramSurround2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_0 wroteDECChannelConfigurationProgramSurround2XLtRt_0(0x01) 
+#define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_0 wroteDECChannelConfigurationProgramSurround2XLtRt_0(0x04) 
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_0 wroteDECChannelConfigurationProgramSurround2XLtRt_0(0x05) 
+#define wroteDECChannelConfigurationProgramSurround2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramSurround2LwRwMono_0 wroteDECChannelConfigurationProgramSurround2XMono_0(0x01) 
+#define wroteDECChannelConfigurationProgramSurround2LhRhMono_0 wroteDECChannelConfigurationProgramSurround2XMono_0(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_0 wroteDECChannelConfigurationProgramSurround2XMono_0(0x05) 
+#define wroteDECChannelConfigurationProgramSurround3X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000b,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround3LwRw_0 wroteDECChannelConfigurationProgramSurround3X_0(0x01)
+#define wroteDECChannelConfigurationProgramSurround3LhRh_0 wroteDECChannelConfigurationProgramSurround3X_0(0x04)
+#define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround3X_0(0x05)
+#define wroteDECChannelConfigurationProgramSurround4X_0(n) 0xcc00+STD_BETA_DECODE,0x0040,0x000c,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround4LwRw_0 wroteDECChannelConfigurationProgramSurround4X_0(0x01)
+#define wroteDECChannelConfigurationProgramSurround4LhRh_0 wroteDECChannelConfigurationProgramSurround4X_0(0x04)
+#define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_0 wroteDECChannelConfigurationProgramSurround4X_0(0x05)
+
+// _1
+#define wroteDECChannelConfigurationProgramNoneX_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0101,(n<<8)
+#define wroteDECChannelConfigurationProgramNoneLwRw_1 wroteDECChannelConfigurationProgramNoneX_1(0x01)
+#define wroteDECChannelConfigurationProgramNoneLhRh_1 wroteDECChannelConfigurationProgramNoneX_1(0x04)
+#define wroteDECChannelConfigurationProgramNoneLwRwLhRh_1 wroteDECChannelConfigurationProgramNoneX_1(0x05)
+#define wroteDECChannelConfigurationProgramMonoX_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0102,(n<<8)
+#define wroteDECChannelConfigurationProgramMonoLwRw_1 wroteDECChannelConfigurationProgramMonoX_1(0x01)
+#define wroteDECChannelConfigurationProgramMonoLhRh_1 wroteDECChannelConfigurationProgramMonoX_1(0x04)
+#define wroteDECChannelConfigurationProgramMonoLwRwLhRh_1 wroteDECChannelConfigurationProgramMonoX_1(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom0LwRw_1 wroteDECChannelConfigurationProgramPhantom0X_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRh_1 wroteDECChannelConfigurationProgramPhantom0X_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom0X_1(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_1 wroteDECChannelConfigurationProgramPhantom0XStereo_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_1 wroteDECChannelConfigurationProgramPhantom0XStereo_1(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_1 wroteDECChannelConfigurationProgramPhantom0XStereo_1(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom0XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLtRt_1 wroteDECChannelConfigurationProgramPhantom0XLtRt_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhLtRt_1 wroteDECChannelConfigurationProgramPhantom0XLtRt_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhLtRt_1 wroteDECChannelConfigurationProgramPhantom0XLtRt_1(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwMono_1 wroteDECChannelConfigurationProgramPhantom0XMono_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhMono_1 wroteDECChannelConfigurationProgramPhantom0XMono_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhMono_1 wroteDECChannelConfigurationProgramPhantom0XMono_1(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XDual_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0103,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwDual_1 wroteDECChannelConfigurationProgramPhantom0XDual_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhDual_1 wroteDECChannelConfigurationProgramPhantom0XDual_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_1 wroteDECChannelConfigurationProgramPhantom0XDual_1(0x05)
+#define wroteDECChannelConfigurationProgramPhantom1X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0104,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom1LwRw_1 wroteDECChannelConfigurationProgramPhantom1X_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom1LhRh_1 wroteDECChannelConfigurationProgramPhantom1X_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom1X_1(0x05)
+#define wroteDECChannelConfigurationProgramPhantom2X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom2LwRw_1 wroteDECChannelConfigurationProgramPhantom2X_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom2LhRh_1 wroteDECChannelConfigurationProgramPhantom2X_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom2X_1(0x05)
+#define wroteDECChannelConfigurationProgramPhantom2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_1 wroteDECChannelConfigurationProgramPhantom2XStereo_1(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_1 wroteDECChannelConfigurationProgramPhantom2XStereo_1(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_1 wroteDECChannelConfigurationProgramPhantom2XStereo_1(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_1 wroteDECChannelConfigurationProgramPhantom2XLtRt_1(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_1 wroteDECChannelConfigurationProgramPhantom2XLtRt_1(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_1 wroteDECChannelConfigurationProgramPhantom2XLtRt_1(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0105,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwMono_1 wroteDECChannelConfigurationProgramPhantom2XMono_1(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhMono_1 wroteDECChannelConfigurationProgramPhantom2XMono_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_1 wroteDECChannelConfigurationProgramPhantom2XMono_1(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom3X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0106,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom3LwRw_1 wroteDECChannelConfigurationProgramPhantom3X_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom3LhRh_1 wroteDECChannelConfigurationProgramPhantom3X_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom3X_1(0x05)
+#define wroteDECChannelConfigurationProgramPhantom4X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0107,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom4LwRw_1 wroteDECChannelConfigurationProgramPhantom4X_1(0x01)
+#define wroteDECChannelConfigurationProgramPhantom4LhRh_1 wroteDECChannelConfigurationProgramPhantom4X_1(0x04)
+#define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_1 wroteDECChannelConfigurationProgramPhantom4X_1(0x05)
+#define wroteDECChannelConfigurationProgramSurround0X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0108,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround0LwRw_1 wroteDECChannelConfigurationProgramSurround0X_1(0x01)
+#define wroteDECChannelConfigurationProgramSurround0LhRh_1 wroteDECChannelConfigurationProgramSurround0X_1(0x04)
+#define wroteDECChannelConfigurationProgramSurround0LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround0X_1(0x05)
+#define wroteDECChannelConfigurationProgramSurround1X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0109,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround1LwRw_1 wroteDECChannelConfigurationProgramSurround1X_1(0x01)
+#define wroteDECChannelConfigurationProgramSurround1LhRh_1 wroteDECChannelConfigurationProgramSurround1X_1(0x04)
+#define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround1X_1(0x05)
+#define wroteDECChannelConfigurationProgramSurround2X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround2LwRw_1 wroteDECChannelConfigurationProgramSurround2X_1(0x01)
+#define wroteDECChannelConfigurationProgramSurround2LhRh_1 wroteDECChannelConfigurationProgramSurround2X_1(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround2X_1(0x05)
+#define wroteDECChannelConfigurationProgramSurround2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramSurround2LwRwStereo_1 wroteDECChannelConfigurationProgramSurround2XStereo_1(0x01)
+#define wroteDECChannelConfigurationProgramSurround2LhRhStereo_1 wroteDECChannelConfigurationProgramSurround2XStereo_1(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_1 wroteDECChannelConfigurationProgramSurround2XStereo_1(0x05)
+#define wroteDECChannelConfigurationProgramSurround2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_1 wroteDECChannelConfigurationProgramSurround2XLtRt_1(0x01) 
+#define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_1 wroteDECChannelConfigurationProgramSurround2XLtRt_1(0x04) 
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_1 wroteDECChannelConfigurationProgramSurround2XLtRt_1(0x05) 
+#define wroteDECChannelConfigurationProgramSurround2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramSurround2LwRwMono_1 wroteDECChannelConfigurationProgramSurround2XMono_1(0x01) 
+#define wroteDECChannelConfigurationProgramSurround2LhRhMono_1 wroteDECChannelConfigurationProgramSurround2XMono_1(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_1 wroteDECChannelConfigurationProgramSurround2XMono_1(0x05) 
+#define wroteDECChannelConfigurationProgramSurround3X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010b,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround3LwRw_1 wroteDECChannelConfigurationProgramSurround3X_1(0x01)
+#define wroteDECChannelConfigurationProgramSurround3LhRh_1 wroteDECChannelConfigurationProgramSurround3X_1(0x04)
+#define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround3X_1(0x05)
+#define wroteDECChannelConfigurationProgramSurround4X_1(n) 0xcc00+STD_BETA_DECODE,0x0040,0x010c,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround4LwRw_1 wroteDECChannelConfigurationProgramSurround4X_1(0x01)
+#define wroteDECChannelConfigurationProgramSurround4LhRh_1 wroteDECChannelConfigurationProgramSurround4X_1(0x04)
+#define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_1 wroteDECChannelConfigurationProgramSurround4X_1(0x05)
+
+// _2
+#define wroteDECChannelConfigurationProgramNoneX_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0201,(n<<8)
+#define wroteDECChannelConfigurationProgramNoneLwRw_2 wroteDECChannelConfigurationProgramNoneX_2(0x01)
+#define wroteDECChannelConfigurationProgramNoneLhRh_2 wroteDECChannelConfigurationProgramNoneX_2(0x04)
+#define wroteDECChannelConfigurationProgramNoneLwRwLhRh_2 wroteDECChannelConfigurationProgramNoneX_2(0x05)
+#define wroteDECChannelConfigurationProgramMonoX_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0202,(n<<8)
+#define wroteDECChannelConfigurationProgramMonoLwRw_2 wroteDECChannelConfigurationProgramMonoX_2(0x01)
+#define wroteDECChannelConfigurationProgramMonoLhRh_2 wroteDECChannelConfigurationProgramMonoX_2(0x04)
+#define wroteDECChannelConfigurationProgramMonoLwRwLhRh_2 wroteDECChannelConfigurationProgramMonoX_2(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom0LwRw_2 wroteDECChannelConfigurationProgramPhantom0X_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRh_2 wroteDECChannelConfigurationProgramPhantom0X_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom0X_2(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwStereo_2 wroteDECChannelConfigurationProgramPhantom0XStereo_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhStereo_2 wroteDECChannelConfigurationProgramPhantom0XStereo_2(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhStereo_2 wroteDECChannelConfigurationProgramPhantom0XStereo_2(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom0XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLtRt_2 wroteDECChannelConfigurationProgramPhantom0XLtRt_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhLtRt_2 wroteDECChannelConfigurationProgramPhantom0XLtRt_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhLtRt_2 wroteDECChannelConfigurationProgramPhantom0XLtRt_2(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwMono_2 wroteDECChannelConfigurationProgramPhantom0XMono_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhMono_2 wroteDECChannelConfigurationProgramPhantom0XMono_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhMono_2 wroteDECChannelConfigurationProgramPhantom0XMono_2(0x05)
+#define wroteDECChannelConfigurationProgramPhantom0XDual_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0203,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwDual_2 wroteDECChannelConfigurationProgramPhantom0XDual_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom0LhRhDual_2 wroteDECChannelConfigurationProgramPhantom0XDual_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom0LwRwLhRhDual_2 wroteDECChannelConfigurationProgramPhantom0XDual_2(0x05)
+#define wroteDECChannelConfigurationProgramPhantom1X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0204,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom1LwRw_2 wroteDECChannelConfigurationProgramPhantom1X_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom1LhRh_2 wroteDECChannelConfigurationProgramPhantom1X_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom1LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom1X_2(0x05)
+#define wroteDECChannelConfigurationProgramPhantom2X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0205,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom2LwRw_2 wroteDECChannelConfigurationProgramPhantom2X_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom2LhRh_2 wroteDECChannelConfigurationProgramPhantom2X_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom2X_2(0x05)
+#define wroteDECChannelConfigurationProgramPhantom2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0205,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwStereo_2 wroteDECChannelConfigurationProgramPhantom2XStereo_2(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhStereo_2 wroteDECChannelConfigurationProgramPhantom2XStereo_2(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhStereo_2 wroteDECChannelConfigurationProgramPhantom2XStereo_2(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0205,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLtRt_2 wroteDECChannelConfigurationProgramPhantom2XLtRt_2(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhLtRt_2 wroteDECChannelConfigurationProgramPhantom2XLtRt_2(0x04) 
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhLtRt_2 wroteDECChannelConfigurationProgramPhantom2XLtRt_2(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0205,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwMono_2 wroteDECChannelConfigurationProgramPhantom2XMono_2(0x01) 
+#define wroteDECChannelConfigurationProgramPhantom2LhRhMono_2 wroteDECChannelConfigurationProgramPhantom2XMono_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom2LwRwLhRhMono_2 wroteDECChannelConfigurationProgramPhantom2XMono_2(0x05) 
+#define wroteDECChannelConfigurationProgramPhantom3X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0206,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom3LwRw_2 wroteDECChannelConfigurationProgramPhantom3X_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom3LhRh_2 wroteDECChannelConfigurationProgramPhantom3X_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom3LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom3X_2(0x05)
+#define wroteDECChannelConfigurationProgramPhantom4X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0207,(n<<8)
+#define wroteDECChannelConfigurationProgramPhantom4LwRw_2 wroteDECChannelConfigurationProgramPhantom4X_2(0x01)
+#define wroteDECChannelConfigurationProgramPhantom4LhRh_2 wroteDECChannelConfigurationProgramPhantom4X_2(0x04)
+#define wroteDECChannelConfigurationProgramPhantom4LwRwLhRh_2 wroteDECChannelConfigurationProgramPhantom4X_2(0x05)
+#define wroteDECChannelConfigurationProgramSurround0X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0208,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround0LwRw_2 wroteDECChannelConfigurationProgramSurround0X_2(0x01)
+#define wroteDECChannelConfigurationProgramSurround0LhRh_2 wroteDECChannelConfigurationProgramSurround0X_2(0x04)
+#define wroteDECChannelConfigurationProgramSurround0LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround0X_2(0x05)
+#define wroteDECChannelConfigurationProgramSurround1X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x0209,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround1LwRw_2 wroteDECChannelConfigurationProgramSurround1X_2(0x01)
+#define wroteDECChannelConfigurationProgramSurround1LhRh_2 wroteDECChannelConfigurationProgramSurround1X_2(0x04)
+#define wroteDECChannelConfigurationProgramSurround1LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround1X_2(0x05)
+#define wroteDECChannelConfigurationProgramSurround2X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020a,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround2LwRw_2 wroteDECChannelConfigurationProgramSurround2X_2(0x01)
+#define wroteDECChannelConfigurationProgramSurround2LhRh_2 wroteDECChannelConfigurationProgramSurround2X_2(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround2X_2(0x05)
+#define wroteDECChannelConfigurationProgramSurround2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationProgramSurround2LwRwStereo_2 wroteDECChannelConfigurationProgramSurround2XStereo_2(0x01)
+#define wroteDECChannelConfigurationProgramSurround2LhRhStereo_2 wroteDECChannelConfigurationProgramSurround2XStereo_2(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhStereo_2 wroteDECChannelConfigurationProgramSurround2XStereo_2(0x05)
+#define wroteDECChannelConfigurationProgramSurround2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtRt_2 wroteDECChannelConfigurationProgramSurround2XLtRt_2(0x01) 
+#define wroteDECChannelConfigurationProgramSurround2LhRhLtRt_2 wroteDECChannelConfigurationProgramSurround2XLtRt_2(0x04) 
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhLtRt_2 wroteDECChannelConfigurationProgramSurround2XLtRt_2(0x05) 
+#define wroteDECChannelConfigurationProgramSurround2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationProgramSurround2LwRwMono_2 wroteDECChannelConfigurationProgramSurround2XMono_2(0x01) 
+#define wroteDECChannelConfigurationProgramSurround2LhRhMono_2 wroteDECChannelConfigurationProgramSurround2XMono_2(0x04)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLhRhMono_2 wroteDECChannelConfigurationProgramSurround2XMono_2(0x05) 
+#define wroteDECChannelConfigurationProgramSurround3X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020b,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround3LwRw_2 wroteDECChannelConfigurationProgramSurround3X_2(0x01)
+#define wroteDECChannelConfigurationProgramSurround3LhRh_2 wroteDECChannelConfigurationProgramSurround3X_2(0x04)
+#define wroteDECChannelConfigurationProgramSurround3LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround3X_2(0x05)
+#define wroteDECChannelConfigurationProgramSurround4X_2(n) 0xcc00+STD_BETA_DECODE,0x0040,0x020c,(n<<8)
+#define wroteDECChannelConfigurationProgramSurround4LwRw_2 wroteDECChannelConfigurationProgramSurround4X_2(0x01)
+#define wroteDECChannelConfigurationProgramSurround4LhRh_2 wroteDECChannelConfigurationProgramSurround4X_2(0x04)
+#define wroteDECChannelConfigurationProgramSurround4LwRwLhRh_2 wroteDECChannelConfigurationProgramSurround4X_2(0x05)
+
+#define wroteDECChannelConfigurationProgramHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0040,LL,HH
+
+#define  readDECChannelConfigurationProgramExtChan         0xc200+STD_BETA_DECODE,0x4300
+#define  readDECChannelConfigurationProgramExtMask         readDECChannelConfigurationProgramExtChan
+#define wroteDECChannelConfigurationProgramExtChanNone     0xca00+STD_BETA_DECODE,0x4300
+#define wroteDECChannelConfigurationProgramExtChanLhRh     0xca00+STD_BETA_DECODE,(0x4304) // PAF_CC_EXTMASK_LhRh
+#define wroteDECChannelConfigurationProgramExtChanLwRw     0xca00+STD_BETA_DECODE,(0x4301) // PAF_CC_EXTMASK_LwRw
+#define wroteDECChannelConfigurationProgramExtChanLwRwLhRh 0xca00+STD_BETA_DECODE, \
+                                                           (0x4305) // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
+
+#define wroteDECChannelConfigurationProgramAuxUnknown 0xca00+STD_BETA_DECODE,0x4200
+#define wroteDECChannelConfigurationProgramAuxStereo 0xca00+STD_BETA_DECODE,0x4201
+#define wroteDECChannelConfigurationProgramAuxLtRt 0xca00+STD_BETA_DECODE,0x4202
+#define wroteDECChannelConfigurationProgramAuxMono 0xca00+STD_BETA_DECODE,0x4203
+#define wroteDECChannelConfigurationProgramAuxDual 0xca00+STD_BETA_DECODE,0x4204
+
+//ATMOS
+#define wroteDECChannelConfigurationProgramSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4008,0x000a,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationProgramSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4008,0x010a,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationProgramSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4008,0x020a,0x0003,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4008,0x000a,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4008,0x010a,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4008,0x020a,0x0103,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationProgramSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4008,0x000c,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationProgramSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4008,0x010c,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationProgramSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4008,0x020c,0x0003,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4008,0x000c,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4008,0x010c,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4008,0x020c,0x0103,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationProgramSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationProgramSurround2ATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationProgramSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationProgramSurround2ATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationProgramSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationProgramSurround2ATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationProgramSurround4LtmRtm_0 wroteDECChannelConfigurationProgramSurround4ATMOSMono_0(0x4)
+#define wroteDECChannelConfigurationProgramSurround4LtmRtm_1 wroteDECChannelConfigurationProgramSurround4ATMOSMono_1(0x4)
+#define wroteDECChannelConfigurationProgramSurround4LtmRtm_2 wroteDECChannelConfigurationProgramSurround4ATMOSMono_2(0x4)
+
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationProgramSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationProgramSurround2LwRwATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationProgramSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationProgramSurround4ATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationProgramSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationProgramSurround4ATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationProgramSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationProgramSurround4ATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationProgramSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationProgramSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationProgramSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationProgramSurround4LwRwATMOSMono_2(0xA)
+
+#define readDECChannelConfigurationProgramATMOSChan         0xc200+STD_BETA_DECODE,0x4500
+#define readDECChannelConfigurationProgramATMOSMask         readDECChannelConfigurationProgramATMOSChan
+#define wroteDECChannelConfigurationProgramATMOSChanNone     0xca00+STD_BETA_DECODE,0x4500
+#define wroteDECChannelConfigurationProgramATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x4511)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
+#define wroteDECChannelConfigurationProgramATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x450a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
+#define wroteDECChannelConfigurationProgramATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x4504)//PAF_CC_EXTMASK_LtmRtm
+
+//-------------------------------------------------------------------------------------------------------------
+
+#define wroteDECChannelConfigurationDecodeUnknown 0xcc00+STD_BETA_DECODE,0x0048,0x0000,0x0000
+
+#define wroteDECChannelConfigurationDecodeNone 0xcc00+STD_BETA_DECODE,0x0048,0x0001,0x0000
+#define wroteDECChannelConfigurationDecodeMono 0xcc00+STD_BETA_DECODE,0x0048,0x0002,0x0000
+#define wroteDECChannelConfigurationDecodeStereo 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0000
+#define wroteDECChannelConfigurationDecodeStereoLtRt 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0002
+#define wroteDECChannelConfigurationDecodeStereoMono 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0003
+#define wroteDECChannelConfigurationDecode3Stereo 0xcc00+STD_BETA_DECODE,0x0048,0x0108,0x0000
+#define wroteDECChannelConfigurationDecodePhantom 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0000
+#define wroteDECChannelConfigurationDecodeSurround 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0000
+
+#define wroteDECChannelConfigurationDecodeNone_0 0xcc00+STD_BETA_DECODE,0x0048,0x0001,0x0000
+#define wroteDECChannelConfigurationDecodeMono_0 0xcc00+STD_BETA_DECODE,0x0048,0x0002,0x0000
+#define wroteDECChannelConfigurationDecodePhantom0_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0000
+#define wroteDECChannelConfigurationDecodePhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0001
+#define wroteDECChannelConfigurationDecodePhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0002
+#define wroteDECChannelConfigurationDecodePhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0003
+#define wroteDECChannelConfigurationDecodePhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0048,0x0003,0x0004
+#define wroteDECChannelConfigurationDecodePhantom1_0 0xcc00+STD_BETA_DECODE,0x0048,0x0004,0x0000
+#define wroteDECChannelConfigurationDecodePhantom2_0 0xcc00+STD_BETA_DECODE,0x0048,0x0005,0x0000
+#define wroteDECChannelConfigurationDecodePhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0048,0x0005,0x0001
+#define wroteDECChannelConfigurationDecodePhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0048,0x0005,0x0002
+#define wroteDECChannelConfigurationDecodePhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0048,0x0005,0x0003
+#define wroteDECChannelConfigurationDecodePhantom3_0 0xcc00+STD_BETA_DECODE,0x0048,0x0006,0x0000
+#define wroteDECChannelConfigurationDecodePhantom4_0 0xcc00+STD_BETA_DECODE,0x0048,0x0007,0x0000
+#define wroteDECChannelConfigurationDecodeSurround0_0 0xcc00+STD_BETA_DECODE,0x0048,0x0008,0x0000
+#define wroteDECChannelConfigurationDecodeSurround1_0 0xcc00+STD_BETA_DECODE,0x0048,0x0009,0x0000
+#define wroteDECChannelConfigurationDecodeSurround2_0 0xcc00+STD_BETA_DECODE,0x0048,0x000a,0x0000
+#define wroteDECChannelConfigurationDecodeSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0048,0x000a,0x0001
+#define wroteDECChannelConfigurationDecodeSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0048,0x000a,0x0002
+#define wroteDECChannelConfigurationDecodeSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0048,0x000a,0x0003
+#define wroteDECChannelConfigurationDecodeSurround3_0 0xcc00+STD_BETA_DECODE,0x0048,0x000b,0x0000
+#define wroteDECChannelConfigurationDecodeSurround4_0 0xcc00+STD_BETA_DECODE,0x0048,0x000c,0x0000
+
+#define wroteDECChannelConfigurationDecodeNone_1 0xcc00+STD_BETA_DECODE,0x0048,0x0101,0x0000
+#define wroteDECChannelConfigurationDecodeMono_1 0xcc00+STD_BETA_DECODE,0x0048,0x0102,0x0000
+#define wroteDECChannelConfigurationDecodePhantom0_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0000
+#define wroteDECChannelConfigurationDecodePhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0001
+#define wroteDECChannelConfigurationDecodePhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0002
+#define wroteDECChannelConfigurationDecodePhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0003
+#define wroteDECChannelConfigurationDecodePhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0048,0x0103,0x0004
+#define wroteDECChannelConfigurationDecodePhantom1_1 0xcc00+STD_BETA_DECODE,0x0048,0x0104,0x0000
+#define wroteDECChannelConfigurationDecodePhantom2_1 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0000
+#define wroteDECChannelConfigurationDecodePhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0001
+#define wroteDECChannelConfigurationDecodePhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0002
+#define wroteDECChannelConfigurationDecodePhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0048,0x0105,0x0003
+#define wroteDECChannelConfigurationDecodePhantom3_1 0xcc00+STD_BETA_DECODE,0x0048,0x0106,0x0000
+#define wroteDECChannelConfigurationDecodePhantom4_1 0xcc00+STD_BETA_DECODE,0x0048,0x0107,0x0000
+#define wroteDECChannelConfigurationDecodeSurround0_1 0xcc00+STD_BETA_DECODE,0x0048,0x0108,0x0000
+#define wroteDECChannelConfigurationDecodeSurround1_1 0xcc00+STD_BETA_DECODE,0x0048,0x0109,0x0000
+#define wroteDECChannelConfigurationDecodeSurround2_1 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0000
+#define wroteDECChannelConfigurationDecodeSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0001
+#define wroteDECChannelConfigurationDecodeSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0002
+#define wroteDECChannelConfigurationDecodeSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0048,0x010a,0x0003
+#define wroteDECChannelConfigurationDecodeSurround3_1 0xcc00+STD_BETA_DECODE,0x0048,0x010b,0x0000
+#define wroteDECChannelConfigurationDecodeSurround4_1 0xcc00+STD_BETA_DECODE,0x0048,0x010c,0x0000
+
+// Extended channel configuration requests
+#define wroteDECChannelConfigurationDecodeNoneX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0001,(n<<8)
+#define wroteDECChannelConfigurationDecodeNoneLwRw wroteDECChannelConfigurationDecodeNoneX(0x01)
+#define wroteDECChannelConfigurationDecodeNoneLhRh wroteDECChannelConfigurationDecodeNoneX(0x04)
+#define wroteDECChannelConfigurationDecodeNoneLwRwLhRh wroteDECChannelConfigurationDecodeNoneX(0x05)
+#define wroteDECChannelConfigurationDecodeMonoX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0002,(n<<8)
+#define wroteDECChannelConfigurationDecodeMonoLwRw wroteDECChannelConfigurationDecodeMonoX(0x01)
+#define wroteDECChannelConfigurationDecodeMonoLhRh wroteDECChannelConfigurationDecodeMonoX(0x04)
+#define wroteDECChannelConfigurationDecodeMonoLwRwLhRh wroteDECChannelConfigurationDecodeMonoX(0x05)
+#define wroteDECChannelConfigurationDecodeStereoX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,(n<<8)
+#define wroteDECChannelConfigurationDecodeStereoLwRw wroteDECChannelConfigurationDecodeStereoX(0x01)
+#define wroteDECChannelConfigurationDecodeStereoLhRh wroteDECChannelConfigurationDecodeStereoX(0x04)
+#define wroteDECChannelConfigurationDecodeStereoLwRwLhRh wroteDECChannelConfigurationDecodeStereoX(0x05)
+#define wroteDECChannelConfigurationDecodeStereoXLtRt(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodeStereoLwRwLtRt wroteDECChannelConfigurationDecodeStereoXLtRt(0x01)
+#define wroteDECChannelConfigurationDecodeStereoLhRhLtRt wroteDECChannelConfigurationDecodeStereoXLtRt(0x04)
+#define wroteDECChannelConfigurationDecodeStereoLwRwLhRhLtRt wroteDECChannelConfigurationDecodeStereoXLtRt(0x05)
+#define wroteDECChannelConfigurationDecodeStereoXMono(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodeStereoLwRwMono wroteDECChannelConfigurationDecodeStereoXMono(0x01)
+#define wroteDECChannelConfigurationDecodeStereoLhRhMono wroteDECChannelConfigurationDecodeStereoXMono(0x04)
+#define wroteDECChannelConfigurationDecodeStereoLwRwLhRhMono wroteDECChannelConfigurationDecodeStereoXMono(0x05)
+#define wroteDECChannelConfigurationDecode3StereoX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0108,(n<<8)
+#define wroteDECChannelConfigurationDecode3StereoLwRw wroteDECChannelConfigurationDecode3StereoX(0x01)
+#define wroteDECChannelConfigurationDecode3StereoLhRh wroteDECChannelConfigurationDecode3StereoX(0x04)
+#define wroteDECChannelConfigurationDecode3StereoLwRwLhRh wroteDECChannelConfigurationDecode3StereoX(0x05)
+#define wroteDECChannelConfigurationDecodePhantomX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantomLwRw wroteDECChannelConfigurationDecodePhantomX(0x01)
+#define wroteDECChannelConfigurationDecodePhantomLhRh wroteDECChannelConfigurationDecodePhantomX(0x04)
+#define wroteDECChannelConfigurationDecodePhantomLwRwLhRh wroteDECChannelConfigurationDecodePhantomX(0x05)
+#define wroteDECChannelConfigurationDecodeSurroundX(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurroundLwRw wroteDECChannelConfigurationDecodeSurroundX(0x01)
+#define wroteDECChannelConfigurationDecodeSurroundLhRh wroteDECChannelConfigurationDecodeSurroundX(0x04)
+#define wroteDECChannelConfigurationDecodeSurroundLwRwLhRh wroteDECChannelConfigurationDecodeSurroundX(0x05)
+
+// _0
+#define wroteDECChannelConfigurationDecodeNoneX_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0001,(n<<8)
+#define wroteDECChannelConfigurationDecodeNoneLwRw_0 wroteDECChannelConfigurationDecodeNoneX_0(0x01)
+#define wroteDECChannelConfigurationDecodeNoneLhRh_0 wroteDECChannelConfigurationDecodeNoneX_0(0x04)
+#define wroteDECChannelConfigurationDecodeNoneLwRwLhRh_0 wroteDECChannelConfigurationDecodeNoneX_0(0x05)
+#define wroteDECChannelConfigurationDecodeMonoX_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0002,(n<<8)
+#define wroteDECChannelConfigurationDecodeMonoLwRw_0 wroteDECChannelConfigurationDecodeMonoX_0(0x01)
+#define wroteDECChannelConfigurationDecodeMonoLhRh_0 wroteDECChannelConfigurationDecodeMonoX_0(0x04)
+#define wroteDECChannelConfigurationDecodeMonoLwRwLhRh_0 wroteDECChannelConfigurationDecodeMonoX_0(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom0LwRw_0 wroteDECChannelConfigurationDecodePhantom0X_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRh_0 wroteDECChannelConfigurationDecodePhantom0X_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom0X_0(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_0 wroteDECChannelConfigurationDecodePhantom0XStereo_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_0 wroteDECChannelConfigurationDecodePhantom0XStereo_0(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_0 wroteDECChannelConfigurationDecodePhantom0XStereo_0(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom0XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLtRt_0 wroteDECChannelConfigurationDecodePhantom0XLtRt_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhLtRt_0 wroteDECChannelConfigurationDecodePhantom0XLtRt_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhLtRt_0 wroteDECChannelConfigurationDecodePhantom0XLtRt_0(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwMono_0 wroteDECChannelConfigurationDecodePhantom0XMono_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhMono_0 wroteDECChannelConfigurationDecodePhantom0XMono_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhMono_0 wroteDECChannelConfigurationDecodePhantom0XMono_0(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XDual_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0003,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwDual_0 wroteDECChannelConfigurationDecodePhantom0XDual_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhDual_0 wroteDECChannelConfigurationDecodePhantom0XDual_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_0 wroteDECChannelConfigurationDecodePhantom0XDual_0(0x05)
+#define wroteDECChannelConfigurationDecodePhantom1X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0004,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom1LwRw_0 wroteDECChannelConfigurationDecodePhantom1X_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom1LhRh_0 wroteDECChannelConfigurationDecodePhantom1X_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom1X_0(0x05)
+#define wroteDECChannelConfigurationDecodePhantom2X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0005,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom2LwRw_0 wroteDECChannelConfigurationDecodePhantom2X_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom2LhRh_0 wroteDECChannelConfigurationDecodePhantom2X_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom2X_0(0x05)
+#define wroteDECChannelConfigurationDecodePhantom2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0005,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_0 wroteDECChannelConfigurationDecodePhantom2XStereo_0(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_0 wroteDECChannelConfigurationDecodePhantom2XStereo_0(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_0 wroteDECChannelConfigurationDecodePhantom2XStereo_0(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0005,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_0 wroteDECChannelConfigurationDecodePhantom2XLtRt_0(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_0 wroteDECChannelConfigurationDecodePhantom2XLtRt_0(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_0 wroteDECChannelConfigurationDecodePhantom2XLtRt_0(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0005,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwMono_0 wroteDECChannelConfigurationDecodePhantom2XMono_0(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhMono_0 wroteDECChannelConfigurationDecodePhantom2XMono_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_0 wroteDECChannelConfigurationDecodePhantom2XMono_0(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom3X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0006,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom3LwRw_0 wroteDECChannelConfigurationDecodePhantom3X_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom3LhRh_0 wroteDECChannelConfigurationDecodePhantom3X_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom3X_0(0x05)
+#define wroteDECChannelConfigurationDecodePhantom4X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0007,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom4LwRw_0 wroteDECChannelConfigurationDecodePhantom4X_0(0x01)
+#define wroteDECChannelConfigurationDecodePhantom4LhRh_0 wroteDECChannelConfigurationDecodePhantom4X_0(0x04)
+#define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_0 wroteDECChannelConfigurationDecodePhantom4X_0(0x05)
+#define wroteDECChannelConfigurationDecodeSurround0X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0008,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround0LwRw_0 wroteDECChannelConfigurationDecodeSurround0X_0(0x01)
+#define wroteDECChannelConfigurationDecodeSurround0LhRh_0 wroteDECChannelConfigurationDecodeSurround0X_0(0x04)
+#define wroteDECChannelConfigurationDecodeSurround0LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround0X_0(0x05)
+#define wroteDECChannelConfigurationDecodeSurround1X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0009,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround1LwRw_0 wroteDECChannelConfigurationDecodeSurround1X_0(0x01)
+#define wroteDECChannelConfigurationDecodeSurround1LhRh_0 wroteDECChannelConfigurationDecodeSurround1X_0(0x04)
+#define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround1X_0(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000a,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround2LwRw_0 wroteDECChannelConfigurationDecodeSurround2X_0(0x01)
+#define wroteDECChannelConfigurationDecodeSurround2LhRh_0 wroteDECChannelConfigurationDecodeSurround2X_0(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround2X_0(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_0 wroteDECChannelConfigurationDecodeSurround2XStereo_0(0x01)
+#define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_0 wroteDECChannelConfigurationDecodeSurround2XStereo_0(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_0 wroteDECChannelConfigurationDecodeSurround2XStereo_0(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_0 wroteDECChannelConfigurationDecodeSurround2XLtRt_0(0x01) 
+#define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_0 wroteDECChannelConfigurationDecodeSurround2XLtRt_0(0x04) 
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_0 wroteDECChannelConfigurationDecodeSurround2XLtRt_0(0x05) 
+#define wroteDECChannelConfigurationDecodeSurround2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwMono_0 wroteDECChannelConfigurationDecodeSurround2XMono_0(0x01) 
+#define wroteDECChannelConfigurationDecodeSurround2LhRhMono_0 wroteDECChannelConfigurationDecodeSurround2XMono_0(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_0 wroteDECChannelConfigurationDecodeSurround2XMono_0(0x05) 
+#define wroteDECChannelConfigurationDecodeSurround3X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000b,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround3LwRw_0 wroteDECChannelConfigurationDecodeSurround3X_0(0x01)
+#define wroteDECChannelConfigurationDecodeSurround3LhRh_0 wroteDECChannelConfigurationDecodeSurround3X_0(0x04)
+#define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround3X_0(0x05)
+#define wroteDECChannelConfigurationDecodeSurround4X_0(n) 0xcc00+STD_BETA_DECODE,0x0048,0x000c,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround4LwRw_0 wroteDECChannelConfigurationDecodeSurround4X_0(0x01)
+#define wroteDECChannelConfigurationDecodeSurround4LhRh_0 wroteDECChannelConfigurationDecodeSurround4X_0(0x04)
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_0 wroteDECChannelConfigurationDecodeSurround4X_0(0x05)
+
+// _1
+#define wroteDECChannelConfigurationDecodeNoneX_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0101,(n<<8)
+#define wroteDECChannelConfigurationDecodeNoneLwRw_1 wroteDECChannelConfigurationDecodeNoneX_1(0x01)
+#define wroteDECChannelConfigurationDecodeNoneLhRh_1 wroteDECChannelConfigurationDecodeNoneX_1(0x04)
+#define wroteDECChannelConfigurationDecodeNoneLwRwLhRh_1 wroteDECChannelConfigurationDecodeNoneX_1(0x05)
+#define wroteDECChannelConfigurationDecodeMonoX_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0102,(n<<8)
+#define wroteDECChannelConfigurationDecodeMonoLwRw_1 wroteDECChannelConfigurationDecodeMonoX_1(0x01)
+#define wroteDECChannelConfigurationDecodeMonoLhRh_1 wroteDECChannelConfigurationDecodeMonoX_1(0x04)
+#define wroteDECChannelConfigurationDecodeMonoLwRwLhRh_1 wroteDECChannelConfigurationDecodeMonoX_1(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom0LwRw_1 wroteDECChannelConfigurationDecodePhantom0X_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRh_1 wroteDECChannelConfigurationDecodePhantom0X_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom0X_1(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_1 wroteDECChannelConfigurationDecodePhantom0XStereo_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_1 wroteDECChannelConfigurationDecodePhantom0XStereo_1(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_1 wroteDECChannelConfigurationDecodePhantom0XStereo_1(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom0XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLtRt_1 wroteDECChannelConfigurationDecodePhantom0XLtRt_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhLtRt_1 wroteDECChannelConfigurationDecodePhantom0XLtRt_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhLtRt_1 wroteDECChannelConfigurationDecodePhantom0XLtRt_1(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwMono_1 wroteDECChannelConfigurationDecodePhantom0XMono_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhMono_1 wroteDECChannelConfigurationDecodePhantom0XMono_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhMono_1 wroteDECChannelConfigurationDecodePhantom0XMono_1(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XDual_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0103,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwDual_1 wroteDECChannelConfigurationDecodePhantom0XDual_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhDual_1 wroteDECChannelConfigurationDecodePhantom0XDual_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_1 wroteDECChannelConfigurationDecodePhantom0XDual_1(0x05)
+#define wroteDECChannelConfigurationDecodePhantom1X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0104,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom1LwRw_1 wroteDECChannelConfigurationDecodePhantom1X_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom1LhRh_1 wroteDECChannelConfigurationDecodePhantom1X_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom1X_1(0x05)
+#define wroteDECChannelConfigurationDecodePhantom2X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom2LwRw_1 wroteDECChannelConfigurationDecodePhantom2X_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom2LhRh_1 wroteDECChannelConfigurationDecodePhantom2X_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom2X_1(0x05)
+#define wroteDECChannelConfigurationDecodePhantom2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_1 wroteDECChannelConfigurationDecodePhantom2XStereo_1(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_1 wroteDECChannelConfigurationDecodePhantom2XStereo_1(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_1 wroteDECChannelConfigurationDecodePhantom2XStereo_1(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_1 wroteDECChannelConfigurationDecodePhantom2XLtRt_1(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_1 wroteDECChannelConfigurationDecodePhantom2XLtRt_1(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_1 wroteDECChannelConfigurationDecodePhantom2XLtRt_1(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0105,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwMono_1 wroteDECChannelConfigurationDecodePhantom2XMono_1(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhMono_1 wroteDECChannelConfigurationDecodePhantom2XMono_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_1 wroteDECChannelConfigurationDecodePhantom2XMono_1(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom3X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0106,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom3LwRw_1 wroteDECChannelConfigurationDecodePhantom3X_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom3LhRh_1 wroteDECChannelConfigurationDecodePhantom3X_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom3X_1(0x05)
+#define wroteDECChannelConfigurationDecodePhantom4X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0107,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom4LwRw_1 wroteDECChannelConfigurationDecodePhantom4X_1(0x01)
+#define wroteDECChannelConfigurationDecodePhantom4LhRh_1 wroteDECChannelConfigurationDecodePhantom4X_1(0x04)
+#define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_1 wroteDECChannelConfigurationDecodePhantom4X_1(0x05)
+#define wroteDECChannelConfigurationDecodeSurround0X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0108,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround0LwRw_1 wroteDECChannelConfigurationDecodeSurround0X_1(0x01)
+#define wroteDECChannelConfigurationDecodeSurround0LhRh_1 wroteDECChannelConfigurationDecodeSurround0X_1(0x04)
+#define wroteDECChannelConfigurationDecodeSurround0LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround0X_1(0x05)
+#define wroteDECChannelConfigurationDecodeSurround1X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0109,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround1LwRw_1 wroteDECChannelConfigurationDecodeSurround1X_1(0x01)
+#define wroteDECChannelConfigurationDecodeSurround1LhRh_1 wroteDECChannelConfigurationDecodeSurround1X_1(0x04)
+#define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround1X_1(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround2LwRw_1 wroteDECChannelConfigurationDecodeSurround2X_1(0x01)
+#define wroteDECChannelConfigurationDecodeSurround2LhRh_1 wroteDECChannelConfigurationDecodeSurround2X_1(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround2X_1(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_1 wroteDECChannelConfigurationDecodeSurround2XStereo_1(0x01)
+#define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_1 wroteDECChannelConfigurationDecodeSurround2XStereo_1(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_1 wroteDECChannelConfigurationDecodeSurround2XStereo_1(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_1 wroteDECChannelConfigurationDecodeSurround2XLtRt_1(0x01) 
+#define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_1 wroteDECChannelConfigurationDecodeSurround2XLtRt_1(0x04) 
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_1 wroteDECChannelConfigurationDecodeSurround2XLtRt_1(0x05) 
+#define wroteDECChannelConfigurationDecodeSurround2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwMono_1 wroteDECChannelConfigurationDecodeSurround2XMono_1(0x01) 
+#define wroteDECChannelConfigurationDecodeSurround2LhRhMono_1 wroteDECChannelConfigurationDecodeSurround2XMono_1(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_1 wroteDECChannelConfigurationDecodeSurround2XMono_1(0x05) 
+#define wroteDECChannelConfigurationDecodeSurround3X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010b,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround3LwRw_1 wroteDECChannelConfigurationDecodeSurround3X_1(0x01)
+#define wroteDECChannelConfigurationDecodeSurround3LhRh_1 wroteDECChannelConfigurationDecodeSurround3X_1(0x04)
+#define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround3X_1(0x05)
+#define wroteDECChannelConfigurationDecodeSurround4X_1(n) 0xcc00+STD_BETA_DECODE,0x0048,0x010c,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround4LwRw_1 wroteDECChannelConfigurationDecodeSurround4X_1(0x01)
+#define wroteDECChannelConfigurationDecodeSurround4LhRh_1 wroteDECChannelConfigurationDecodeSurround4X_1(0x04)
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_1 wroteDECChannelConfigurationDecodeSurround4X_1(0x05)
+
+// _2
+#define wroteDECChannelConfigurationDecodeNoneX_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0201,(n<<8)
+#define wroteDECChannelConfigurationDecodeNoneLwRw_2 wroteDECChannelConfigurationDecodeNoneX_2(0x01)
+#define wroteDECChannelConfigurationDecodeNoneLhRh_2 wroteDECChannelConfigurationDecodeNoneX_2(0x04)
+#define wroteDECChannelConfigurationDecodeNoneLwRwLhRh_2 wroteDECChannelConfigurationDecodeNoneX_2(0x05)
+#define wroteDECChannelConfigurationDecodeMonoX_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0202,(n<<8)
+#define wroteDECChannelConfigurationDecodeMonoLwRw_2 wroteDECChannelConfigurationDecodeMonoX_2(0x01)
+#define wroteDECChannelConfigurationDecodeMonoLhRh_2 wroteDECChannelConfigurationDecodeMonoX_2(0x04)
+#define wroteDECChannelConfigurationDecodeMonoLwRwLhRh_2 wroteDECChannelConfigurationDecodeMonoX_2(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom0LwRw_2 wroteDECChannelConfigurationDecodePhantom0X_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRh_2 wroteDECChannelConfigurationDecodePhantom0X_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom0X_2(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwStereo_2 wroteDECChannelConfigurationDecodePhantom0XStereo_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhStereo_2 wroteDECChannelConfigurationDecodePhantom0XStereo_2(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhStereo_2 wroteDECChannelConfigurationDecodePhantom0XStereo_2(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom0XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLtRt_2 wroteDECChannelConfigurationDecodePhantom0XLtRt_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhLtRt_2 wroteDECChannelConfigurationDecodePhantom0XLtRt_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhLtRt_2 wroteDECChannelConfigurationDecodePhantom0XLtRt_2(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwMono_2 wroteDECChannelConfigurationDecodePhantom0XMono_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhMono_2 wroteDECChannelConfigurationDecodePhantom0XMono_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhMono_2 wroteDECChannelConfigurationDecodePhantom0XMono_2(0x05)
+#define wroteDECChannelConfigurationDecodePhantom0XDual_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0203,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwDual_2 wroteDECChannelConfigurationDecodePhantom0XDual_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom0LhRhDual_2 wroteDECChannelConfigurationDecodePhantom0XDual_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom0LwRwLhRhDual_2 wroteDECChannelConfigurationDecodePhantom0XDual_2(0x05)
+#define wroteDECChannelConfigurationDecodePhantom1X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0204,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom1LwRw_2 wroteDECChannelConfigurationDecodePhantom1X_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom1LhRh_2 wroteDECChannelConfigurationDecodePhantom1X_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom1LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom1X_2(0x05)
+#define wroteDECChannelConfigurationDecodePhantom2X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0205,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom2LwRw_2 wroteDECChannelConfigurationDecodePhantom2X_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom2LhRh_2 wroteDECChannelConfigurationDecodePhantom2X_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom2X_2(0x05)
+#define wroteDECChannelConfigurationDecodePhantom2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0205,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwStereo_2 wroteDECChannelConfigurationDecodePhantom2XStereo_2(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhStereo_2 wroteDECChannelConfigurationDecodePhantom2XStereo_2(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhStereo_2 wroteDECChannelConfigurationDecodePhantom2XStereo_2(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0205,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLtRt_2 wroteDECChannelConfigurationDecodePhantom2XLtRt_2(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhLtRt_2 wroteDECChannelConfigurationDecodePhantom2XLtRt_2(0x04) 
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhLtRt_2 wroteDECChannelConfigurationDecodePhantom2XLtRt_2(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0205,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwMono_2 wroteDECChannelConfigurationDecodePhantom2XMono_2(0x01) 
+#define wroteDECChannelConfigurationDecodePhantom2LhRhMono_2 wroteDECChannelConfigurationDecodePhantom2XMono_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom2LwRwLhRhMono_2 wroteDECChannelConfigurationDecodePhantom2XMono_2(0x05) 
+#define wroteDECChannelConfigurationDecodePhantom3X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0206,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom3LwRw_2 wroteDECChannelConfigurationDecodePhantom3X_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom3LhRh_2 wroteDECChannelConfigurationDecodePhantom3X_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom3LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom3X_2(0x05)
+#define wroteDECChannelConfigurationDecodePhantom4X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0207,(n<<8)
+#define wroteDECChannelConfigurationDecodePhantom4LwRw_2 wroteDECChannelConfigurationDecodePhantom4X_2(0x01)
+#define wroteDECChannelConfigurationDecodePhantom4LhRh_2 wroteDECChannelConfigurationDecodePhantom4X_2(0x04)
+#define wroteDECChannelConfigurationDecodePhantom4LwRwLhRh_2 wroteDECChannelConfigurationDecodePhantom4X_2(0x05)
+#define wroteDECChannelConfigurationDecodeSurround0X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0208,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround0LwRw_2 wroteDECChannelConfigurationDecodeSurround0X_2(0x01)
+#define wroteDECChannelConfigurationDecodeSurround0LhRh_2 wroteDECChannelConfigurationDecodeSurround0X_2(0x04)
+#define wroteDECChannelConfigurationDecodeSurround0LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround0X_2(0x05)
+#define wroteDECChannelConfigurationDecodeSurround1X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x0209,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround1LwRw_2 wroteDECChannelConfigurationDecodeSurround1X_2(0x01)
+#define wroteDECChannelConfigurationDecodeSurround1LhRh_2 wroteDECChannelConfigurationDecodeSurround1X_2(0x04)
+#define wroteDECChannelConfigurationDecodeSurround1LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround1X_2(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020a,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround2LwRw_2 wroteDECChannelConfigurationDecodeSurround2X_2(0x01)
+#define wroteDECChannelConfigurationDecodeSurround2LhRh_2 wroteDECChannelConfigurationDecodeSurround2X_2(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround2X_2(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwStereo_2 wroteDECChannelConfigurationDecodeSurround2XStereo_2(0x01)
+#define wroteDECChannelConfigurationDecodeSurround2LhRhStereo_2 wroteDECChannelConfigurationDecodeSurround2XStereo_2(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhStereo_2 wroteDECChannelConfigurationDecodeSurround2XStereo_2(0x05)
+#define wroteDECChannelConfigurationDecodeSurround2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtRt_2 wroteDECChannelConfigurationDecodeSurround2XLtRt_2(0x01) 
+#define wroteDECChannelConfigurationDecodeSurround2LhRhLtRt_2 wroteDECChannelConfigurationDecodeSurround2XLtRt_2(0x04) 
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhLtRt_2 wroteDECChannelConfigurationDecodeSurround2XLtRt_2(0x05) 
+#define wroteDECChannelConfigurationDecodeSurround2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwMono_2 wroteDECChannelConfigurationDecodeSurround2XMono_2(0x01) 
+#define wroteDECChannelConfigurationDecodeSurround2LhRhMono_2 wroteDECChannelConfigurationDecodeSurround2XMono_2(0x04)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLhRhMono_2 wroteDECChannelConfigurationDecodeSurround2XMono_2(0x05) 
+#define wroteDECChannelConfigurationDecodeSurround3X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020b,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround3LwRw_2 wroteDECChannelConfigurationDecodeSurround3X_2(0x01)
+#define wroteDECChannelConfigurationDecodeSurround3LhRh_2 wroteDECChannelConfigurationDecodeSurround3X_2(0x04)
+#define wroteDECChannelConfigurationDecodeSurround3LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround3X_2(0x05)
+#define wroteDECChannelConfigurationDecodeSurround4X_2(n) 0xcc00+STD_BETA_DECODE,0x0048,0x020c,(n<<8)
+#define wroteDECChannelConfigurationDecodeSurround4LwRw_2 wroteDECChannelConfigurationDecodeSurround4X_2(0x01)
+#define wroteDECChannelConfigurationDecodeSurround4LhRh_2 wroteDECChannelConfigurationDecodeSurround4X_2(0x04)
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLhRh_2 wroteDECChannelConfigurationDecodeSurround4X_2(0x05)
+
+#define wroteDECChannelConfigurationDecodeHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0048,LL,HH
+
+#define  readDECChannelConfigurationDecodeExtChan         0xc200+STD_BETA_DECODE,0x4B00
+#define  readDECChannelConfigurationDecodeExtMask         readDECChannelConfigurationDecodeExtChan
+#define wroteDECChannelConfigurationDecodeExtChanNone     0xca00+STD_BETA_DECODE,0x4B00
+#define wroteDECChannelConfigurationDecodeExtChanLhRh     0xca00+STD_BETA_DECODE,(0x4B04) // PAF_CC_EXTMASK_LhRh
+#define wroteDECChannelConfigurationDecodeExtChanLwRw     0xca00+STD_BETA_DECODE,(0x4B01) // PAF_CC_EXTMASK_LwRw
+#define wroteDECChannelConfigurationDecodeExtChanLwRwLhRh 0xca00+STD_BETA_DECODE, \
+                                                           (0x4B05) // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
+
+#define wroteDECChannelConfigurationDecodeAuxUnknown 0xca00+STD_BETA_DECODE,0x4A00
+#define wroteDECChannelConfigurationDecodeAuxStereo 0xca00+STD_BETA_DECODE,0x4A01
+#define wroteDECChannelConfigurationDecodeAuxLtRt 0xca00+STD_BETA_DECODE,0x4A02
+#define wroteDECChannelConfigurationDecodeAuxMono 0xca00+STD_BETA_DECODE,0x4A03
+#define wroteDECChannelConfigurationDecodeAuxDual 0xca00+STD_BETA_DECODE,0x4A04
+
+//ATMOS
+#define wroteDECChannelConfigurationDecodeSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4808,0x000a,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationDecodeSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4808,0x010a,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationDecodeSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4808,0x020a,0x0003,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4808,0x000a,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4808,0x010a,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4808,0x020a,0x0103,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationDecodeSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4808,0x000c,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationDecodeSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4808,0x010c,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationDecodeSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4808,0x020c,0x0003,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x4808,0x000c,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x4808,0x010c,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x4808,0x020c,0x0103,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationDecodeSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationDecodeSurround2ATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationDecodeSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationDecodeSurround2ATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationDecodeSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationDecodeSurround2ATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationDecodeSurround4LtmRtm_0 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_0(0x4)
+#define wroteDECChannelConfigurationDecodeSurround4LtmRtm_1 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_1(0x4)
+#define wroteDECChannelConfigurationDecodeSurround4LtmRtm_2 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_2(0x4)
+
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationDecodeSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationDecodeSurround2LwRwATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationDecodeSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationDecodeSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationDecodeSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationDecodeSurround4ATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationDecodeSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationDecodeSurround4LwRwATMOSMono_2(0xA)
+
+#define readDECChannelConfigurationDecodeATMOSChan         0xc200+STD_BETA_DECODE,0x4d00
+#define readDECChannelConfigurationDecodeATMOSMask         readDECChannelConfigurationDecodeATMOSChan
+#define wroteDECChannelConfigurationDecodeATMOSChanNone     0xca00+STD_BETA_DECODE,0x4d00
+#define wroteDECChannelConfigurationDecodeATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x4d11)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
+#define wroteDECChannelConfigurationDecodeATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x4d0a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
+#define wroteDECChannelConfigurationDecodeATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x4d04)//PAF_CC_EXTMASK_LtmRtm
+
+//-------------------------------------------------------------------------------------------------------------
+
+#define wroteDECChannelConfigurationDownmixUnknown 0xcc00+STD_BETA_DECODE,0x0050,0x0000,0x0000
+
+#define wroteDECChannelConfigurationDownmixNone 0xcc00+STD_BETA_DECODE,0x0050,0x0001,0x0000
+#define wroteDECChannelConfigurationDownmixMono 0xcc00+STD_BETA_DECODE,0x0050,0x0002,0x0000
+#define wroteDECChannelConfigurationDownmixStereo 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0000
+#define wroteDECChannelConfigurationDownmixStereoLtRt 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0002
+#define wroteDECChannelConfigurationDownmixStereoMono 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0003
+#define wroteDECChannelConfigurationDownmix3Stereo 0xcc00+STD_BETA_DECODE,0x0050,0x0108,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0000
+#define wroteDECChannelConfigurationDownmixSurround 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0000
+
+#define wroteDECChannelConfigurationDownmixNone_0 0xcc00+STD_BETA_DECODE,0x0050,0x0001,0x0000
+#define wroteDECChannelConfigurationDownmixMono_0 0xcc00+STD_BETA_DECODE,0x0050,0x0002,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom0_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom0Stereo_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0001
+#define wroteDECChannelConfigurationDownmixPhantom0LtRt_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0002
+#define wroteDECChannelConfigurationDownmixPhantom0Mono_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0003
+#define wroteDECChannelConfigurationDownmixPhantom0Dual_0 0xcc00+STD_BETA_DECODE,0x0050,0x0003,0x0004
+#define wroteDECChannelConfigurationDownmixPhantom1_0 0xcc00+STD_BETA_DECODE,0x0050,0x0004,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom2_0 0xcc00+STD_BETA_DECODE,0x0050,0x0005,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom2Stereo_0 0xcc00+STD_BETA_DECODE,0x0050,0x0005,0x0001
+#define wroteDECChannelConfigurationDownmixPhantom2LtRt_0 0xcc00+STD_BETA_DECODE,0x0050,0x0005,0x0002
+#define wroteDECChannelConfigurationDownmixPhantom2Mono_0 0xcc00+STD_BETA_DECODE,0x0050,0x0005,0x0003
+#define wroteDECChannelConfigurationDownmixPhantom3_0 0xcc00+STD_BETA_DECODE,0x0050,0x0006,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom4_0 0xcc00+STD_BETA_DECODE,0x0050,0x0007,0x0000
+#define wroteDECChannelConfigurationDownmixSurround0_0 0xcc00+STD_BETA_DECODE,0x0050,0x0008,0x0000
+#define wroteDECChannelConfigurationDownmixSurround1_0 0xcc00+STD_BETA_DECODE,0x0050,0x0009,0x0000
+#define wroteDECChannelConfigurationDownmixSurround2_0 0xcc00+STD_BETA_DECODE,0x0050,0x000a,0x0000
+#define wroteDECChannelConfigurationDownmixSurround2Stereo_0 0xcc00+STD_BETA_DECODE,0x0050,0x000a,0x0001
+#define wroteDECChannelConfigurationDownmixSurround2LtRt_0 0xcc00+STD_BETA_DECODE,0x0050,0x000a,0x0002
+#define wroteDECChannelConfigurationDownmixSurround2Mono_0 0xcc00+STD_BETA_DECODE,0x0050,0x000a,0x0003
+#define wroteDECChannelConfigurationDownmixSurround3_0 0xcc00+STD_BETA_DECODE,0x0050,0x000b,0x0000
+#define wroteDECChannelConfigurationDownmixSurround4_0 0xcc00+STD_BETA_DECODE,0x0050,0x000c,0x0000
+
+#define wroteDECChannelConfigurationDownmixNone_1 0xcc00+STD_BETA_DECODE,0x0050,0x0101,0x0000
+#define wroteDECChannelConfigurationDownmixMono_1 0xcc00+STD_BETA_DECODE,0x0050,0x0102,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom0_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom0Stereo_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0001
+#define wroteDECChannelConfigurationDownmixPhantom0LtRt_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0002
+#define wroteDECChannelConfigurationDownmixPhantom0Mono_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0003
+#define wroteDECChannelConfigurationDownmixPhantom0Dual_1 0xcc00+STD_BETA_DECODE,0x0050,0x0103,0x0004
+#define wroteDECChannelConfigurationDownmixPhantom1_1 0xcc00+STD_BETA_DECODE,0x0050,0x0104,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom2_1 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom2Stereo_1 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0001
+#define wroteDECChannelConfigurationDownmixPhantom2LtRt_1 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0002
+#define wroteDECChannelConfigurationDownmixPhantom2Mono_1 0xcc00+STD_BETA_DECODE,0x0050,0x0105,0x0003
+#define wroteDECChannelConfigurationDownmixPhantom3_1 0xcc00+STD_BETA_DECODE,0x0050,0x0106,0x0000
+#define wroteDECChannelConfigurationDownmixPhantom4_1 0xcc00+STD_BETA_DECODE,0x0050,0x0107,0x0000
+#define wroteDECChannelConfigurationDownmixSurround0_1 0xcc00+STD_BETA_DECODE,0x0050,0x0108,0x0000
+#define wroteDECChannelConfigurationDownmixSurround1_1 0xcc00+STD_BETA_DECODE,0x0050,0x0109,0x0000
+#define wroteDECChannelConfigurationDownmixSurround2_1 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0000
+#define wroteDECChannelConfigurationDownmixSurround2Stereo_1 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0001
+#define wroteDECChannelConfigurationDownmixSurround2LtRt_1 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0002
+#define wroteDECChannelConfigurationDownmixSurround2Mono_1 0xcc00+STD_BETA_DECODE,0x0050,0x010a,0x0003
+#define wroteDECChannelConfigurationDownmixSurround3_1 0xcc00+STD_BETA_DECODE,0x0050,0x010b,0x0000
+#define wroteDECChannelConfigurationDownmixSurround4_1 0xcc00+STD_BETA_DECODE,0x0050,0x010c,0x0000
+
+// Extended channel configuration requests
+#define wroteDECChannelConfigurationDownmixNoneX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0001,(n<<8)
+#define wroteDECChannelConfigurationDownmixNoneLwRw wroteDECChannelConfigurationDownmixNoneX(0x01)
+#define wroteDECChannelConfigurationDownmixNoneLhRh wroteDECChannelConfigurationDownmixNoneX(0x04)
+#define wroteDECChannelConfigurationDownmixNoneLwRwLhRh wroteDECChannelConfigurationDownmixNoneX(0x05)
+#define wroteDECChannelConfigurationDownmixMonoX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0002,(n<<8)
+#define wroteDECChannelConfigurationDownmixMonoLwRw wroteDECChannelConfigurationDownmixMonoX(0x01)
+#define wroteDECChannelConfigurationDownmixMonoLhRh wroteDECChannelConfigurationDownmixMonoX(0x04)
+#define wroteDECChannelConfigurationDownmixMonoLwRwLhRh wroteDECChannelConfigurationDownmixMonoX(0x05)
+#define wroteDECChannelConfigurationDownmixStereoX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,(n<<8)
+#define wroteDECChannelConfigurationDownmixStereoLwRw wroteDECChannelConfigurationDownmixStereoX(0x01)
+#define wroteDECChannelConfigurationDownmixStereoLhRh wroteDECChannelConfigurationDownmixStereoX(0x04)
+#define wroteDECChannelConfigurationDownmixStereoLwRwLhRh wroteDECChannelConfigurationDownmixStereoX(0x05)
+#define wroteDECChannelConfigurationDownmixStereoXLtRt(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixStereoLwRwLtRt wroteDECChannelConfigurationDownmixStereoXLtRt(0x01)
+#define wroteDECChannelConfigurationDownmixStereoLhRhLtRt wroteDECChannelConfigurationDownmixStereoXLtRt(0x04)
+#define wroteDECChannelConfigurationDownmixStereoLwRwLhRhLtRt wroteDECChannelConfigurationDownmixStereoXLtRt(0x05)
+#define wroteDECChannelConfigurationDownmixStereoXMono(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixStereoLwRwMono wroteDECChannelConfigurationDownmixStereoXMono(0x01)
+#define wroteDECChannelConfigurationDownmixStereoLhRhMono wroteDECChannelConfigurationDownmixStereoXMono(0x04)
+#define wroteDECChannelConfigurationDownmixStereoLwRwLhRhMono wroteDECChannelConfigurationDownmixStereoXMono(0x05)
+#define wroteDECChannelConfigurationDownmix3StereoX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0108,(n<<8)
+#define wroteDECChannelConfigurationDownmix3StereoLwRw wroteDECChannelConfigurationDownmix3StereoX(0x01)
+#define wroteDECChannelConfigurationDownmix3StereoLhRh wroteDECChannelConfigurationDownmix3StereoX(0x04)
+#define wroteDECChannelConfigurationDownmix3StereoLwRwLhRh wroteDECChannelConfigurationDownmix3StereoX(0x05)
+#define wroteDECChannelConfigurationDownmixPhantomX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantomLwRw wroteDECChannelConfigurationDownmixPhantomX(0x01)
+#define wroteDECChannelConfigurationDownmixPhantomLhRh wroteDECChannelConfigurationDownmixPhantomX(0x04)
+#define wroteDECChannelConfigurationDownmixPhantomLwRwLhRh wroteDECChannelConfigurationDownmixPhantomX(0x05)
+#define wroteDECChannelConfigurationDownmixSurroundX(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurroundLwRw wroteDECChannelConfigurationDownmixSurroundX(0x01)
+#define wroteDECChannelConfigurationDownmixSurroundLhRh wroteDECChannelConfigurationDownmixSurroundX(0x04)
+#define wroteDECChannelConfigurationDownmixSurroundLwRwLhRh wroteDECChannelConfigurationDownmixSurroundX(0x05)
+
+// _0
+#define wroteDECChannelConfigurationDownmixNoneX_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0001,(n<<8)
+#define wroteDECChannelConfigurationDownmixNoneLwRw_0 wroteDECChannelConfigurationDownmixNoneX_0(0x01)
+#define wroteDECChannelConfigurationDownmixNoneLhRh_0 wroteDECChannelConfigurationDownmixNoneX_0(0x04)
+#define wroteDECChannelConfigurationDownmixNoneLwRwLhRh_0 wroteDECChannelConfigurationDownmixNoneX_0(0x05)
+#define wroteDECChannelConfigurationDownmixMonoX_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0002,(n<<8)
+#define wroteDECChannelConfigurationDownmixMonoLwRw_0 wroteDECChannelConfigurationDownmixMonoX_0(0x01)
+#define wroteDECChannelConfigurationDownmixMonoLhRh_0 wroteDECChannelConfigurationDownmixMonoX_0(0x04)
+#define wroteDECChannelConfigurationDownmixMonoLwRwLhRh_0 wroteDECChannelConfigurationDownmixMonoX_0(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRw_0 wroteDECChannelConfigurationDownmixPhantom0X_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRh_0 wroteDECChannelConfigurationDownmixPhantom0X_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom0X_0(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_0 wroteDECChannelConfigurationDownmixPhantom0XStereo_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_0 wroteDECChannelConfigurationDownmixPhantom0XStereo_0(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_0 wroteDECChannelConfigurationDownmixPhantom0XStereo_0(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom0XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLtRt_0 wroteDECChannelConfigurationDownmixPhantom0XLtRt_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhLtRt_0 wroteDECChannelConfigurationDownmixPhantom0XLtRt_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhLtRt_0 wroteDECChannelConfigurationDownmixPhantom0XLtRt_0(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwMono_0 wroteDECChannelConfigurationDownmixPhantom0XMono_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhMono_0 wroteDECChannelConfigurationDownmixPhantom0XMono_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhMono_0 wroteDECChannelConfigurationDownmixPhantom0XMono_0(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XDual_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0003,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_0 wroteDECChannelConfigurationDownmixPhantom0XDual_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_0 wroteDECChannelConfigurationDownmixPhantom0XDual_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_0 wroteDECChannelConfigurationDownmixPhantom0XDual_0(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom1X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0004,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom1LwRw_0 wroteDECChannelConfigurationDownmixPhantom1X_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom1LhRh_0 wroteDECChannelConfigurationDownmixPhantom1X_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom1X_0(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom2X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0005,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRw_0 wroteDECChannelConfigurationDownmixPhantom2X_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom2LhRh_0 wroteDECChannelConfigurationDownmixPhantom2X_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom2X_0(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0005,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_0 wroteDECChannelConfigurationDownmixPhantom2XStereo_0(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_0 wroteDECChannelConfigurationDownmixPhantom2XStereo_0(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_0 wroteDECChannelConfigurationDownmixPhantom2XStereo_0(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0005,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_0 wroteDECChannelConfigurationDownmixPhantom2XLtRt_0(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_0 wroteDECChannelConfigurationDownmixPhantom2XLtRt_0(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_0 wroteDECChannelConfigurationDownmixPhantom2XLtRt_0(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0005,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_0 wroteDECChannelConfigurationDownmixPhantom2XMono_0(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_0 wroteDECChannelConfigurationDownmixPhantom2XMono_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_0 wroteDECChannelConfigurationDownmixPhantom2XMono_0(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom3X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0006,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom3LwRw_0 wroteDECChannelConfigurationDownmixPhantom3X_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom3LhRh_0 wroteDECChannelConfigurationDownmixPhantom3X_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom3X_0(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom4X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0007,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom4LwRw_0 wroteDECChannelConfigurationDownmixPhantom4X_0(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom4LhRh_0 wroteDECChannelConfigurationDownmixPhantom4X_0(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_0 wroteDECChannelConfigurationDownmixPhantom4X_0(0x05)
+#define wroteDECChannelConfigurationDownmixSurround0X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0008,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround0LwRw_0 wroteDECChannelConfigurationDownmixSurround0X_0(0x01)
+#define wroteDECChannelConfigurationDownmixSurround0LhRh_0 wroteDECChannelConfigurationDownmixSurround0X_0(0x04)
+#define wroteDECChannelConfigurationDownmixSurround0LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround0X_0(0x05)
+#define wroteDECChannelConfigurationDownmixSurround1X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0009,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround1LwRw_0 wroteDECChannelConfigurationDownmixSurround1X_0(0x01)
+#define wroteDECChannelConfigurationDownmixSurround1LhRh_0 wroteDECChannelConfigurationDownmixSurround1X_0(0x04)
+#define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround1X_0(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000a,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround2LwRw_0 wroteDECChannelConfigurationDownmixSurround2X_0(0x01)
+#define wroteDECChannelConfigurationDownmixSurround2LhRh_0 wroteDECChannelConfigurationDownmixSurround2X_0(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround2X_0(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2XStereo_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_0 wroteDECChannelConfigurationDownmixSurround2XStereo_0(0x01)
+#define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_0 wroteDECChannelConfigurationDownmixSurround2XStereo_0(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_0 wroteDECChannelConfigurationDownmixSurround2XStereo_0(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2XLtRt_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_0 wroteDECChannelConfigurationDownmixSurround2XLtRt_0(0x01) 
+#define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_0 wroteDECChannelConfigurationDownmixSurround2XLtRt_0(0x04) 
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_0 wroteDECChannelConfigurationDownmixSurround2XLtRt_0(0x05) 
+#define wroteDECChannelConfigurationDownmixSurround2XMono_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwMono_0 wroteDECChannelConfigurationDownmixSurround2XMono_0(0x01) 
+#define wroteDECChannelConfigurationDownmixSurround2LhRhMono_0 wroteDECChannelConfigurationDownmixSurround2XMono_0(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_0 wroteDECChannelConfigurationDownmixSurround2XMono_0(0x05) 
+#define wroteDECChannelConfigurationDownmixSurround3X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000b,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround3LwRw_0 wroteDECChannelConfigurationDownmixSurround3X_0(0x01)
+#define wroteDECChannelConfigurationDownmixSurround3LhRh_0 wroteDECChannelConfigurationDownmixSurround3X_0(0x04)
+#define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround3X_0(0x05)
+#define wroteDECChannelConfigurationDownmixSurround4X_0(n) 0xcc00+STD_BETA_DECODE,0x0050,0x000c,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround4LwRw_0 wroteDECChannelConfigurationDownmixSurround4X_0(0x01)
+#define wroteDECChannelConfigurationDownmixSurround4LhRh_0 wroteDECChannelConfigurationDownmixSurround4X_0(0x04)
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_0 wroteDECChannelConfigurationDownmixSurround4X_0(0x05)
+
+// _1
+#define wroteDECChannelConfigurationDownmixNoneX_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0101,(n<<8)
+#define wroteDECChannelConfigurationDownmixNoneLwRw_1 wroteDECChannelConfigurationDownmixNoneX_1(0x01)
+#define wroteDECChannelConfigurationDownmixNoneLhRh_1 wroteDECChannelConfigurationDownmixNoneX_1(0x04)
+#define wroteDECChannelConfigurationDownmixNoneLwRwLhRh_1 wroteDECChannelConfigurationDownmixNoneX_1(0x05)
+#define wroteDECChannelConfigurationDownmixMonoX_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0102,(n<<8)
+#define wroteDECChannelConfigurationDownmixMonoLwRw_1 wroteDECChannelConfigurationDownmixMonoX_1(0x01)
+#define wroteDECChannelConfigurationDownmixMonoLhRh_1 wroteDECChannelConfigurationDownmixMonoX_1(0x04)
+#define wroteDECChannelConfigurationDownmixMonoLwRwLhRh_1 wroteDECChannelConfigurationDownmixMonoX_1(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRw_1 wroteDECChannelConfigurationDownmixPhantom0X_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRh_1 wroteDECChannelConfigurationDownmixPhantom0X_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom0X_1(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_1 wroteDECChannelConfigurationDownmixPhantom0XStereo_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_1 wroteDECChannelConfigurationDownmixPhantom0XStereo_1(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_1 wroteDECChannelConfigurationDownmixPhantom0XStereo_1(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom0XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLtRt_1 wroteDECChannelConfigurationDownmixPhantom0XLtRt_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhLtRt_1 wroteDECChannelConfigurationDownmixPhantom0XLtRt_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhLtRt_1 wroteDECChannelConfigurationDownmixPhantom0XLtRt_1(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwMono_1 wroteDECChannelConfigurationDownmixPhantom0XMono_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhMono_1 wroteDECChannelConfigurationDownmixPhantom0XMono_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhMono_1 wroteDECChannelConfigurationDownmixPhantom0XMono_1(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XDual_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0103,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_1 wroteDECChannelConfigurationDownmixPhantom0XDual_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_1 wroteDECChannelConfigurationDownmixPhantom0XDual_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_1 wroteDECChannelConfigurationDownmixPhantom0XDual_1(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom1X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0104,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom1LwRw_1 wroteDECChannelConfigurationDownmixPhantom1X_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom1LhRh_1 wroteDECChannelConfigurationDownmixPhantom1X_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom1X_1(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom2X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRw_1 wroteDECChannelConfigurationDownmixPhantom2X_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom2LhRh_1 wroteDECChannelConfigurationDownmixPhantom2X_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom2X_1(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_1 wroteDECChannelConfigurationDownmixPhantom2XStereo_1(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_1 wroteDECChannelConfigurationDownmixPhantom2XStereo_1(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_1 wroteDECChannelConfigurationDownmixPhantom2XStereo_1(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_1 wroteDECChannelConfigurationDownmixPhantom2XLtRt_1(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_1 wroteDECChannelConfigurationDownmixPhantom2XLtRt_1(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_1 wroteDECChannelConfigurationDownmixPhantom2XLtRt_1(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0105,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_1 wroteDECChannelConfigurationDownmixPhantom2XMono_1(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_1 wroteDECChannelConfigurationDownmixPhantom2XMono_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_1 wroteDECChannelConfigurationDownmixPhantom2XMono_1(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom3X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0106,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom3LwRw_1 wroteDECChannelConfigurationDownmixPhantom3X_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom3LhRh_1 wroteDECChannelConfigurationDownmixPhantom3X_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom3X_1(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom4X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0107,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom4LwRw_1 wroteDECChannelConfigurationDownmixPhantom4X_1(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom4LhRh_1 wroteDECChannelConfigurationDownmixPhantom4X_1(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_1 wroteDECChannelConfigurationDownmixPhantom4X_1(0x05)
+#define wroteDECChannelConfigurationDownmixSurround0X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0108,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround0LwRw_1 wroteDECChannelConfigurationDownmixSurround0X_1(0x01)
+#define wroteDECChannelConfigurationDownmixSurround0LhRh_1 wroteDECChannelConfigurationDownmixSurround0X_1(0x04)
+#define wroteDECChannelConfigurationDownmixSurround0LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround0X_1(0x05)
+#define wroteDECChannelConfigurationDownmixSurround1X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0109,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround1LwRw_1 wroteDECChannelConfigurationDownmixSurround1X_1(0x01)
+#define wroteDECChannelConfigurationDownmixSurround1LhRh_1 wroteDECChannelConfigurationDownmixSurround1X_1(0x04)
+#define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround1X_1(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround2LwRw_1 wroteDECChannelConfigurationDownmixSurround2X_1(0x01)
+#define wroteDECChannelConfigurationDownmixSurround2LhRh_1 wroteDECChannelConfigurationDownmixSurround2X_1(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround2X_1(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2XStereo_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_1 wroteDECChannelConfigurationDownmixSurround2XStereo_1(0x01)
+#define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_1 wroteDECChannelConfigurationDownmixSurround2XStereo_1(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_1 wroteDECChannelConfigurationDownmixSurround2XStereo_1(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2XLtRt_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_1 wroteDECChannelConfigurationDownmixSurround2XLtRt_1(0x01) 
+#define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_1 wroteDECChannelConfigurationDownmixSurround2XLtRt_1(0x04) 
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_1 wroteDECChannelConfigurationDownmixSurround2XLtRt_1(0x05) 
+#define wroteDECChannelConfigurationDownmixSurround2XMono_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwMono_1 wroteDECChannelConfigurationDownmixSurround2XMono_1(0x01) 
+#define wroteDECChannelConfigurationDownmixSurround2LhRhMono_1 wroteDECChannelConfigurationDownmixSurround2XMono_1(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_1 wroteDECChannelConfigurationDownmixSurround2XMono_1(0x05) 
+#define wroteDECChannelConfigurationDownmixSurround3X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010b,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround3LwRw_1 wroteDECChannelConfigurationDownmixSurround3X_1(0x01)
+#define wroteDECChannelConfigurationDownmixSurround3LhRh_1 wroteDECChannelConfigurationDownmixSurround3X_1(0x04)
+#define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround3X_1(0x05)
+#define wroteDECChannelConfigurationDownmixSurround4X_1(n) 0xcc00+STD_BETA_DECODE,0x0050,0x010c,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround4LwRw_1 wroteDECChannelConfigurationDownmixSurround4X_1(0x01)
+#define wroteDECChannelConfigurationDownmixSurround4LhRh_1 wroteDECChannelConfigurationDownmixSurround4X_1(0x04)
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_1 wroteDECChannelConfigurationDownmixSurround4X_1(0x05)
+
+// _2
+#define wroteDECChannelConfigurationDownmixNoneX_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0201,(n<<8)
+#define wroteDECChannelConfigurationDownmixNoneLwRw_2 wroteDECChannelConfigurationDownmixNoneX_2(0x01)
+#define wroteDECChannelConfigurationDownmixNoneLhRh_2 wroteDECChannelConfigurationDownmixNoneX_2(0x04)
+#define wroteDECChannelConfigurationDownmixNoneLwRwLhRh_2 wroteDECChannelConfigurationDownmixNoneX_2(0x05)
+#define wroteDECChannelConfigurationDownmixMonoX_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0202,(n<<8)
+#define wroteDECChannelConfigurationDownmixMonoLwRw_2 wroteDECChannelConfigurationDownmixMonoX_2(0x01)
+#define wroteDECChannelConfigurationDownmixMonoLhRh_2 wroteDECChannelConfigurationDownmixMonoX_2(0x04)
+#define wroteDECChannelConfigurationDownmixMonoLwRwLhRh_2 wroteDECChannelConfigurationDownmixMonoX_2(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRw_2 wroteDECChannelConfigurationDownmixPhantom0X_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRh_2 wroteDECChannelConfigurationDownmixPhantom0X_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom0X_2(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwStereo_2 wroteDECChannelConfigurationDownmixPhantom0XStereo_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhStereo_2 wroteDECChannelConfigurationDownmixPhantom0XStereo_2(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhStereo_2 wroteDECChannelConfigurationDownmixPhantom0XStereo_2(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom0XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLtRt_2 wroteDECChannelConfigurationDownmixPhantom0XLtRt_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhLtRt_2 wroteDECChannelConfigurationDownmixPhantom0XLtRt_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhLtRt_2 wroteDECChannelConfigurationDownmixPhantom0XLtRt_2(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwMono_2 wroteDECChannelConfigurationDownmixPhantom0XMono_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhMono_2 wroteDECChannelConfigurationDownmixPhantom0XMono_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhMono_2 wroteDECChannelConfigurationDownmixPhantom0XMono_2(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom0XDual_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0203,((n<<8)|0x0004)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwDual_2 wroteDECChannelConfigurationDownmixPhantom0XDual_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom0LhRhDual_2 wroteDECChannelConfigurationDownmixPhantom0XDual_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom0LwRwLhRhDual_2 wroteDECChannelConfigurationDownmixPhantom0XDual_2(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom1X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0204,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom1LwRw_2 wroteDECChannelConfigurationDownmixPhantom1X_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom1LhRh_2 wroteDECChannelConfigurationDownmixPhantom1X_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom1LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom1X_2(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom2X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0205,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRw_2 wroteDECChannelConfigurationDownmixPhantom2X_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom2LhRh_2 wroteDECChannelConfigurationDownmixPhantom2X_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom2X_2(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0205,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwStereo_2 wroteDECChannelConfigurationDownmixPhantom2XStereo_2(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhStereo_2 wroteDECChannelConfigurationDownmixPhantom2XStereo_2(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhStereo_2 wroteDECChannelConfigurationDownmixPhantom2XStereo_2(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0205,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLtRt_2 wroteDECChannelConfigurationDownmixPhantom2XLtRt_2(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhLtRt_2 wroteDECChannelConfigurationDownmixPhantom2XLtRt_2(0x04) 
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhLtRt_2 wroteDECChannelConfigurationDownmixPhantom2XLtRt_2(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0205,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwMono_2 wroteDECChannelConfigurationDownmixPhantom2XMono_2(0x01) 
+#define wroteDECChannelConfigurationDownmixPhantom2LhRhMono_2 wroteDECChannelConfigurationDownmixPhantom2XMono_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom2LwRwLhRhMono_2 wroteDECChannelConfigurationDownmixPhantom2XMono_2(0x05) 
+#define wroteDECChannelConfigurationDownmixPhantom3X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0206,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom3LwRw_2 wroteDECChannelConfigurationDownmixPhantom3X_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom3LhRh_2 wroteDECChannelConfigurationDownmixPhantom3X_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom3LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom3X_2(0x05)
+#define wroteDECChannelConfigurationDownmixPhantom4X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0207,(n<<8)
+#define wroteDECChannelConfigurationDownmixPhantom4LwRw_2 wroteDECChannelConfigurationDownmixPhantom4X_2(0x01)
+#define wroteDECChannelConfigurationDownmixPhantom4LhRh_2 wroteDECChannelConfigurationDownmixPhantom4X_2(0x04)
+#define wroteDECChannelConfigurationDownmixPhantom4LwRwLhRh_2 wroteDECChannelConfigurationDownmixPhantom4X_2(0x05)
+#define wroteDECChannelConfigurationDownmixSurround0X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0208,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround0LwRw_2 wroteDECChannelConfigurationDownmixSurround0X_2(0x01)
+#define wroteDECChannelConfigurationDownmixSurround0LhRh_2 wroteDECChannelConfigurationDownmixSurround0X_2(0x04)
+#define wroteDECChannelConfigurationDownmixSurround0LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround0X_2(0x05)
+#define wroteDECChannelConfigurationDownmixSurround1X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x0209,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround1LwRw_2 wroteDECChannelConfigurationDownmixSurround1X_2(0x01)
+#define wroteDECChannelConfigurationDownmixSurround1LhRh_2 wroteDECChannelConfigurationDownmixSurround1X_2(0x04)
+#define wroteDECChannelConfigurationDownmixSurround1LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround1X_2(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020a,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround2LwRw_2 wroteDECChannelConfigurationDownmixSurround2X_2(0x01)
+#define wroteDECChannelConfigurationDownmixSurround2LhRh_2 wroteDECChannelConfigurationDownmixSurround2X_2(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround2X_2(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2XStereo_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020a,((n<<8)|0x0001)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwStereo_2 wroteDECChannelConfigurationDownmixSurround2XStereo_2(0x01)
+#define wroteDECChannelConfigurationDownmixSurround2LhRhStereo_2 wroteDECChannelConfigurationDownmixSurround2XStereo_2(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhStereo_2 wroteDECChannelConfigurationDownmixSurround2XStereo_2(0x05)
+#define wroteDECChannelConfigurationDownmixSurround2XLtRt_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020a,((n<<8)|0x0002)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtRt_2 wroteDECChannelConfigurationDownmixSurround2XLtRt_2(0x01) 
+#define wroteDECChannelConfigurationDownmixSurround2LhRhLtRt_2 wroteDECChannelConfigurationDownmixSurround2XLtRt_2(0x04) 
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhLtRt_2 wroteDECChannelConfigurationDownmixSurround2XLtRt_2(0x05) 
+#define wroteDECChannelConfigurationDownmixSurround2XMono_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020a,((n<<8)|0x0003)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwMono_2 wroteDECChannelConfigurationDownmixSurround2XMono_2(0x01) 
+#define wroteDECChannelConfigurationDownmixSurround2LhRhMono_2 wroteDECChannelConfigurationDownmixSurround2XMono_2(0x04)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLhRhMono_2 wroteDECChannelConfigurationDownmixSurround2XMono_2(0x05) 
+#define wroteDECChannelConfigurationDownmixSurround3X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020b,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround3LwRw_2 wroteDECChannelConfigurationDownmixSurround3X_2(0x01)
+#define wroteDECChannelConfigurationDownmixSurround3LhRh_2 wroteDECChannelConfigurationDownmixSurround3X_2(0x04)
+#define wroteDECChannelConfigurationDownmixSurround3LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround3X_2(0x05)
+#define wroteDECChannelConfigurationDownmixSurround4X_2(n) 0xcc00+STD_BETA_DECODE,0x0050,0x020c,(n<<8)
+#define wroteDECChannelConfigurationDownmixSurround4LwRw_2 wroteDECChannelConfigurationDownmixSurround4X_2(0x01)
+#define wroteDECChannelConfigurationDownmixSurround4LhRh_2 wroteDECChannelConfigurationDownmixSurround4X_2(0x04)
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLhRh_2 wroteDECChannelConfigurationDownmixSurround4X_2(0x05)
+
+#define wroteDECChannelConfigurationDownmixHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0050,LL,HH
+
+#define  readDECChannelConfigurationDownmixExtChan         0xc200+STD_BETA_DECODE,0x5300
+#define  readDECChannelConfigurationDownmixExtMask         readDECChannelConfigurationDownmixExtChan
+#define wroteDECChannelConfigurationDownmixExtChanNone     0xca00+STD_BETA_DECODE,0x5300
+#define wroteDECChannelConfigurationDownmixExtChanLhRh     0xca00+STD_BETA_DECODE,(0x5304) // PAF_CC_EXTMASK_LhRh
+#define wroteDECChannelConfigurationDownmixExtChanLwRw     0xca00+STD_BETA_DECODE,(0x5301) // PAF_CC_EXTMASK_LwRw
+#define wroteDECChannelConfigurationDownmixExtChanLwRwLhRh 0xca00+STD_BETA_DECODE, \
+                                                           (0x5305) // PAF_CC_EXTMASK_LhRh|PAF_CC_EXTMASK_LwRw
+
+#define wroteDECChannelConfigurationDownmixAuxUnknown 0xca00+STD_BETA_DECODE,0x5200
+#define wroteDECChannelConfigurationDownmixAuxStereo 0xca00+STD_BETA_DECODE,0x5201
+#define wroteDECChannelConfigurationDownmixAuxLtRt 0xca00+STD_BETA_DECODE,0x5202
+#define wroteDECChannelConfigurationDownmixAuxMono 0xca00+STD_BETA_DECODE,0x5203
+#define wroteDECChannelConfigurationDownmixAuxDual 0xca00+STD_BETA_DECODE,0x5204
+
+//ATMOS
+#define wroteDECChannelConfigurationDownmixSurround2ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5008,0x000a,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationDownmixSurround2ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5008,0x010a,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationDownmixSurround2ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5008,0x020a,0x0003,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5008,0x000a,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5008,0x010a,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5008,0x020a,0x0103,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationDownmixSurround4ATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5008,0x000c,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationDownmixSurround4ATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5008,0x010c,0x0003,(n<<8),0x0000
+#define wroteDECChannelConfigurationDownmixSurround4ATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5008,0x020c,0x0003,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_0(n) 0xce00+STD_BETA_DECODE,0x5008,0x000c,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_1(n) 0xce00+STD_BETA_DECODE,0x5008,0x010c,0x0103,(n<<8),0x0000
+#define wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_2(n) 0xce00+STD_BETA_DECODE,0x5008,0x020c,0x0103,(n<<8),0x0000
+
+#define wroteDECChannelConfigurationDownmixSurround2LtfRtfLtrRtr_0 wroteDECChannelConfigurationDownmixSurround2ATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationDownmixSurround2LtfRtfLtrRtr_1 wroteDECChannelConfigurationDownmixSurround2ATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationDownmixSurround2LtfRtfLtrRtr_2 wroteDECChannelConfigurationDownmixSurround2ATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationDownmixSurround4LtmRtm_0 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_0(0x4)
+#define wroteDECChannelConfigurationDownmixSurround4LtmRtm_1 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_1(0x4)
+#define wroteDECChannelConfigurationDownmixSurround4LtmRtm_2 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_2(0x4)
+
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationDownmixSurround2LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationDownmixSurround2LwRwATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationDownmixSurround4LtfRtfLtrRtr_0 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationDownmixSurround4LtfRtfLtrRtr_1 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationDownmixSurround4LtfRtfLtrRtr_2 wroteDECChannelConfigurationDownmixSurround4ATMOSMono_2(0xA)
+
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLtfRtfLtrRtr_0 wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_0(0xA)
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLtfRtfLtrRtr_1 wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_1(0xA)
+#define wroteDECChannelConfigurationDownmixSurround4LwRwLtfRtfLtrRtr_2 wroteDECChannelConfigurationDownmixSurround4LwRwATMOSMono_2(0xA)
+
+#define readDECChannelConfigurationDownmixATMOSChan         0xc200+STD_BETA_DECODE,0x5500
+#define readDECChannelConfigurationDownmixATMOSMask         readDECChannelConfigurationDownmixATMOSChan
+#define wroteDECChannelConfigurationDownmixATMOSChanNone     0xca00+STD_BETA_DECODE,0x5500
+#define wroteDECChannelConfigurationDownmixATMOSChanLfhRfhLrhRrh     0xca00+STD_BETA_DECODE,(0x5511)//PAF_CC_EXTMASK_LfhRfh|PAF_CC_EXTMASK_LrhRrh
+#define wroteDECChannelConfigurationDownmixATMOSChanLtfRtfLtrRtr     0xca00+STD_BETA_DECODE,(0x550a)//PAF_CC_EXTMASK_LtfRtf|PAF_CC_EXTMASK_LtrRtr
+#define wroteDECChannelConfigurationDownmixATMOSChanLtmRtm 0xca00+STD_BETA_DECODE,(0x5504)//PAF_CC_EXTMASK_LtmRtm
+
+//-------------------------------------------------------------------------------------------------------------
+#define writeDECFrameCountHL(HH,LL) 0xcc00+STD_BETA_DECODE,0x0024,LL,HH
+
+#define wroteDECKaraokeCapableUserQ6 0xce00+STD_BETA_DECODE,0x2806
+#define writeDECKaraokeCapableUserQ6N6(NN0,NN1,NN2,NN3,NN4,NN5) \
+    wroteDECKaraokeCapableUserQ6,((NN1)&0xff)*256+((NN0)&0xff),((NN3)&0xff)*256+((NN2)&0xff),((NN5)&0xff)*256+((NN4)&0xff)
+#define writeDECKaraokeCapableUserVocal1LevelQ6N(NN) 0xca00+STD_BETA_DECODE,0x2800+((NN)&0xff)
+#define writeDECKaraokeCapableUserVocal1PanQ6N(NN) 0xca00+STD_BETA_DECODE,0x2900+((NN)&0xff)