<device>
    <nickname offset-bytes="202" bytes="32" command="23"/>
    <mixer>
        <inputs num="30" pin0="0x300" />
        <mixes  num="16" pin0="0x300" />
    </mixer>
    <inputs offset-bytes="130" bytes="144" >                                             <!-- RedXmlTests<APP_SPACE>::checkInputOffsets -->
        
        <!-- The number of analogue inputs is checked in RedXmlTests<APP_SPACE>::checkInputOffsets -->
        <analogue   name="Analogue 1"   stereo-name="Analogue 1-2"      pin="0x403">
            <air                offset-bytes="170" bits="1" command= "8" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <mode               offset-bytes="162" bits="2" command= "7"  >                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
                <enum value="Mic"   option="0" />
                <enum value="Line"  option="1" />
                <enum value="Inst"  option="2" />
            </mode>
            <phantom            offset-bytes="154" bits="1" command="11" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <phase              offset-bytes="186" bits="1" command="12" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <hpf                offset-bytes="178" bits="1" command="10" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <mic-gain           offset-bytes="130" bits="8" command= "9" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <line-gain          offset-bytes="131" bits="8" command= "9" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <inst-gain          offset-bytes="132" bits="8" command= "9" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <stereo-link        offset-bytes="194" bits="1" command="13" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <line-input-ref     offset-bytes="272" bits="1" command="21" offset-bits="0" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Analogue 2"                                   pin="0x402">
            <air                offset-bytes="171" bits="1" command="8"  />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <mode               offset-bytes="163" bits="2" command="7"   >                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
                <enum value="Mic"   option="0" />
                <enum value="Line"  option="1" />
                <enum value="Inst"  option="2" />
            </mode>
            <phantom            offset-bytes="155" bits="1" command="11" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <phase              offset-bytes="187" bits="1" command="12" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <hpf                offset-bytes="179" bits="1" command="10" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <mic-gain           offset-bytes="133" bits="8" command= "9" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <line-gain          offset-bytes="134" bits="8" command= "9" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <inst-gain          offset-bytes="135" bits="8" command= "9" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <stereo-link        offset-bytes="195" bits="1" command="13" />                 <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
            <line-input-ref     offset-bytes="272" bits="1" command="21" offset-bits="1" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 3"       stereo-name="Line 3-4"          pin="0x401" >
            <line-input-ref     offset-bytes="272" bits="1" command="21" offset-bits="2" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 4"                                       pin="0x400" >
            <line-input-ref     offset-bytes="272" bits="1" command="21" offset-bits="3" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 5"       stereo-name="Line 5-6"          pin="0x407" >
            <line-input-ref     offset-bytes="272" bits="1" command="21" offset-bits="4" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 6"                                       pin="0x406" >
            <line-input-ref     offset-bytes="272" bits="1" command="21" offset-bits="5" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 7"       stereo-name="Line 7-8"          pin="0x405" >
            <line-input-ref     offset-bytes="272" bits="1" command="21" offset-bits="6" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 8"                                       pin="0x404" >
            <line-input-ref     offset-bytes="272" bits="1" command="21" offset-bits="7" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 9"       stereo-name="Line 9-10"         pin="0x40d" >
            <line-input-ref     offset-bytes="273" bits="1" command="21" offset-bits="0" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 10"                                      pin="0x40c" >
            <line-input-ref     offset-bytes="273" bits="1" command="21" offset-bits="1" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 11"      stereo-name="Line 11-12"        pin="0x40b" >
            <line-input-ref     offset-bytes="273" bits="1" command="21" offset-bits="2" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 12"                                      pin="0x40a" >
            <line-input-ref     offset-bytes="273" bits="1" command="21" offset-bits="3" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 13"      stereo-name="Line 13-14"        pin="0x411" >
            <line-input-ref     offset-bytes="273" bits="1" command="21" offset-bits="4" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 14"                                      pin="0x410" >
            <line-input-ref     offset-bytes="273" bits="1" command="21" offset-bits="5" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 15"      stereo-name="Line 15-16"        pin="0x40f" >
            <line-input-ref     offset-bytes="273" bits="1" command="21" offset-bits="6" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>
        <analogue   name="Line 16"                                      pin="0x40e" >
            <line-input-ref     offset-bytes="273" bits="1" command="21" offset-bits="7" /> <!-- RedXmlTests<APP_SPACE>::checkAnalogueInputOffsets -->
        </analogue>


        <spdif-rca  name="S/PDIF L"     stereo-name="S/PDIF L-R"        pin="0x408" />
        <spdif-rca  name="S/PDIF R"                                     pin="0x409" />
        <adat       name="ADAT 1.1"     stereo-name="ADAT 1.1-1.2"      pin="0x200" />
        <adat       name="ADAT 1.2"                                     pin="0x201" />
        <adat       name="ADAT 1.3"     stereo-name="ADAT 1.3-1.4"      pin="0x202" pin-h="0x000" />
        <adat       name="ADAT 1.4"                                     pin="0x203" pin-h="0x000" />
        <adat       name="ADAT 1.5"     stereo-name="ADAT 1.5-1.6"      pin="0x204" pin-m="0x000" />
        <adat       name="ADAT 1.6"                                     pin="0x205" pin-m="0x000" />
        <adat       name="ADAT 1.7"     stereo-name="ADAT 1.7-1.8"      pin="0x206" pin-m="0x000" />
        <adat       name="ADAT 1.8"                                     pin="0x207" pin-m="0x000" />
        <adat       name="ADAT 2.1"     stereo-name="ADAT 2.1-2.2"      pin="0x208" pin-m="0x204" pin-h="0x202" />
        <adat       name="ADAT 2.2"                                     pin="0x209" pin-m="0x205" pin-h="0x203" />
        <adat       name="ADAT 2.3"     stereo-name="ADAT 2.3-2.4"      pin="0x20a" pin-m="0x206" pin-h="0x000" />
        <adat       name="ADAT 2.4"                                     pin="0x20b" pin-m="0x207" pin-h="0x000" />
        <adat       name="ADAT 2.5"     stereo-name="ADAT 2.5-2.6"      pin="0x20c" pin-m="0x000" />
        <adat       name="ADAT 2.6"                                     pin="0x20d" pin-m="0x000" />
        <adat       name="ADAT 2.7"     stereo-name="ADAT 2.7-2.8"      pin="0x20e" pin-m="0x000" />
        <adat       name="ADAT 2.8"                                     pin="0x20f" pin-m="0x000" />
        <dante      name="Dante 1"      stereo-name="Dante 1-2"         pin="0x800" />
        <dante      name="Dante 2"                                      pin="0x801" />
        <dante      name="Dante 3"      stereo-name="Dante 3-4"         pin="0x802" />
        <dante      name="Dante 4"                                      pin="0x803" />
        <dante      name="Dante 5"      stereo-name="Dante 5-6"         pin="0x804" />
        <dante      name="Dante 6"                                      pin="0x805" />
        <dante      name="Dante 7"      stereo-name="Dante 7-8"         pin="0x806" />
        <dante      name="Dante 8"                                      pin="0x807" />
        <dante      name="Dante 9"      stereo-name="Dante 9-10"        pin="0x808" />
        <dante      name="Dante 10"                                     pin="0x809" />
        <dante      name="Dante 11"     stereo-name="Dante 11-12"       pin="0x80a" />
        <dante      name="Dante 12"                                     pin="0x80b" />
        <dante      name="Dante 13"     stereo-name="Dante 13-14"       pin="0x80c" />
        <dante      name="Dante 14"                                     pin="0x80d" />
        <dante      name="Dante 15"     stereo-name="Dante 15-16"       pin="0x80e" />
        <dante      name="Dante 16"                                     pin="0x80f" />
        <dante      name="Dante 17"     stereo-name="Dante 17-18"       pin="0x810" pin-h="0x000" />
        <dante      name="Dante 18"                                     pin="0x811" pin-h="0x000" />
        <dante      name="Dante 19"     stereo-name="Dante 19-20"       pin="0x812" pin-h="0x000" />
        <dante      name="Dante 20"                                     pin="0x813" pin-h="0x000" />
        <dante      name="Dante 21"     stereo-name="Dante 21-22"       pin="0x814" pin-h="0x000" />
        <dante      name="Dante 22"                                     pin="0x815" pin-h="0x000" />
        <dante      name="Dante 23"     stereo-name="Dante 23-24"       pin="0x816" pin-h="0x000" />
        <dante      name="Dante 24"                                     pin="0x817" pin-h="0x000" />
        <dante      name="Dante 25"     stereo-name="Dante 25-26"       pin="0x818" pin-h="0x000" />
        <dante      name="Dante 26"                                     pin="0x819" pin-h="0x000" />
        <dante      name="Dante 27"     stereo-name="Dante 27-28"       pin="0x81a" pin-h="0x000" />
        <dante      name="Dante 28"                                     pin="0x81b" pin-h="0x000" />
        <dante      name="Dante 29"     stereo-name="Dante 29-30"       pin="0x81c" pin-h="0x000" />
        <dante      name="Dante 30"                                     pin="0x81d" pin-h="0x000" />
        <dante      name="Dante 31"     stereo-name="Dante 31-32"       pin="0x81e" pin-h="0x000" />
        <dante      name="Dante 32"                                     pin="0x81f" pin-h="0x000" />
        <playback   name="Playback 1"   stereo-name="Playback 1-2"      pin="0x600" />
        <playback   name="Playback 2"                                   pin="0x601" />
        <playback   name="Playback 3"   stereo-name="Playback 3-4"      pin="0x602" />
        <playback   name="Playback 4"                                   pin="0x603" />
        <playback   name="Playback 5"   stereo-name="Playback 5-6"      pin="0x604" />
        <playback   name="Playback 6"                                   pin="0x605" />
        <playback   name="Playback 7"   stereo-name="Playback 7-8"      pin="0x606" />
        <playback   name="Playback 8"                                   pin="0x607" />
        <playback   name="Playback 9"   stereo-name="Playback 9-10"     pin="0x608" />
        <playback   name="Playback 10"                                  pin="0x609" />
        <playback   name="Playback 11"  stereo-name="Playback 11-12"    pin="0x60a" />
        <playback   name="Playback 12"                                  pin="0x60b" />
        <playback   name="Playback 13"  stereo-name="Playback 13-14"    pin="0x60c" />
        <playback   name="Playback 14"                                  pin="0x60d" />
        <playback   name="Playback 15"  stereo-name="Playback 15-16"    pin="0x60e" />
        <playback   name="Playback 16"                                  pin="0x60f" />
        <playback   name="Playback 17"  stereo-name="Playback 17-18"    pin="0x610" />
        <playback   name="Playback 18"                                  pin="0x611" />
        <playback   name="Playback 19"  stereo-name="Playback 19-20"    pin="0x612" />
        <playback   name="Playback 20"                                  pin="0x613" />
        <playback   name="Playback 21"  stereo-name="Playback 21-22"    pin="0x614" />
        <playback   name="Playback 22"                                  pin="0x615" />
        <playback   name="Playback 23"  stereo-name="Playback 23-24"    pin="0x616" />
        <playback   name="Playback 24"                                  pin="0x617" />
        <playback   name="Playback 25"  stereo-name="Playback 25-26"    pin="0x618" />
        <playback   name="Playback 26"                                  pin="0x619" />
        <playback   name="Playback 27"  stereo-name="Playback 27-28"    pin="0x61a" />
        <playback   name="Playback 28"                                  pin="0x61b" />
        <playback   name="Playback 29"  stereo-name="Playback 29-30"    pin="0x61c" />
        <playback   name="Playback 30"                                  pin="0x61d" />
        <playback   name="Playback 31"  stereo-name="Playback 31-32"    pin="0x61e" />
        <playback   name="Playback 32"                                  pin="0x61f" />
        <playback   name="Playback 33"  stereo-name="Playback 33-34"    pin="0x620" />
        <playback   name="Playback 34"                                  pin="0x621" />
        <playback   name="Playback 35"  stereo-name="Playback 35-36"    pin="0x622" />
        <playback   name="Playback 36"                                  pin="0x623" />
        <playback   name="Playback 37"  stereo-name="Playback 37-38"    pin="0x624" />
        <playback   name="Playback 38"                                  pin="0x625" />
        <playback   name="Playback 39"  stereo-name="Playback 39-40"    pin="0x626" />
        <playback   name="Playback 40"                                  pin="0x627" />
        <playback   name="Playback 41"  stereo-name="Playback 41-42"    pin="0x628" />
        <playback   name="Playback 42"                                  pin="0x629" />
        <playback   name="Playback 43"  stereo-name="Playback 43-44"    pin="0x62a" />
        <playback   name="Playback 44"                                  pin="0x62b" />
        <playback   name="Playback 45"  stereo-name="Playback 45-46"    pin="0x62c" pin-h="0x000" />
        <playback   name="Playback 46"                                  pin="0x62d" pin-h="0x000" />
        <playback   name="Playback 47"  stereo-name="Playback 47-48"    pin="0x62e" pin-h="0x000" />
        <playback   name="Playback 48"                                  pin="0x62f" pin-h="0x000" />
        <playback   name="Playback 49"  stereo-name="Playback 49-50"    pin="0x630" pin-h="0x000" />
        <playback   name="Playback 50"                                  pin="0x631" pin-h="0x000" />
        <playback   name="Playback 51"  stereo-name="Playback 51-52"    pin="0x632" pin-h="0x000" />
        <playback   name="Playback 52"                                  pin="0x633" pin-h="0x000" />
        <playback   name="Playback 53"  stereo-name="Playback 53-54"    pin="0x634" pin-h="0x000" />
        <playback   name="Playback 54"                                  pin="0x635" pin-h="0x000" />
        <playback   name="Playback 55"  stereo-name="Playback 55-56"    pin="0x636" pin-h="0x000" />
        <playback   name="Playback 56"                                  pin="0x637" pin-h="0x000" />
        <playback   name="Playback 57"  stereo-name="Playback 57-58"    pin="0x638" pin-h="0x000" />
        <playback   name="Playback 58"                                  pin="0x639" pin-h="0x000" />
        <playback   name="Playback 59"  stereo-name="Playback 59-60"    pin="0x63a" pin-h="0x000" />
        <playback   name="Playback 60"                                  pin="0x63b" pin-h="0x000" />
        <playback   name="Playback 61"  stereo-name="Playback 61-62"    pin="0x63c" pin-h="0x000" />
        <playback   name="Playback 62"                                  pin="0x63d" pin-h="0x000" />
        <playback   name="Playback 63"  stereo-name="Playback 63-64"    pin="0x63e" pin-h="0x000" />
        <playback   name="Playback 64"                                  pin="0x63f" pin-h="0x000" />
    </inputs>
    <outputs offset-bytes="24" bytes="252">                                                                                  <!-- RedXmlTests<APP_SPACE>::checkInputOffsets -->
        
        <!-- The number of analogue outputs is checked in RedXmlTests<APP_SPACE>::checkOutputOffsets -->
        <!-- ***** The offset-bits attribute of the dim nodes are not currently checked ***** -->
        <analogue   name="Monitor Output 1" stereo-name="Monitor Outputs 1-2"   pin="0x400" monitor="true" input-index="67">
            <gain                       offset-bytes="24"                   bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="68"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="68"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="90"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue name="Monitor Output 2"                                       pin="0x401" monitor="true" >
            <gain                       offset-bytes="26"                   bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="69"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="69"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="91"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Headphone 1 (L)"  stereo-name="Headphones 1"          pin="0x402" headphone="1" hardware-controls="1" independent="true" input-index="67">
            <gain                       offset-bytes="28"                   bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="70"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="70"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="92"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Headphone 1 (R)"                                      pin="0x403" headphone="1" hardware-controls="1" independent="true" >
            <gain                       offset-bytes="30"                   bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="71"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="71"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="93"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Headphone 2 (L)"  stereo-name="Headphones 2"          pin="0x404" headphone="2" hardware-controls="2" independent="true"  input-index="83">
            <gain                       offset-bytes="32"                   bits="16" command= "1"  headphone="2" gain-mode="gain" />   <!-- ***** The headphone attribute breaks the pattern ***** -->
            <mute                       offset-bytes="72"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="72"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="94"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Headphone 2 (R)"                                      pin="0x405" headphone="2" hardware-controls="2" independent="true" >
            <gain                       offset-bytes="34"                   bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="73"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="73"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="95"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 1"    stereo-name="Line Outputs 1-2"      pin="0x406" input-index="67">
            <gain                       offset-bytes="36"                   bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="74"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="74"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="96"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="274"  offset-bits="0" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 2"                                        pin="0x407" >
            <gain                       offset-bytes="38"                   bits="16" command= "1"   gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="75"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="75"   offset-bits="1" bits=" 1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="97"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="274"  offset-bits="1" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 3"    stereo-name="Line Outputs 3-4"      pin="0x408" input-index="69">
            <gain                       offset-bytes="40"                   bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="76"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="76"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="98"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="274"  offset-bits="2" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 4"                                        pin="0x409" >
            <gain                       offset-bytes="42"                   bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes="77"   offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes="77"   offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="99"                   bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="274"  offset-bits="3" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 5"    stereo-name="Line Outputs 5-6"      pin="0x40a" input-index="71">
            <gain                       offset-bytes= "44"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "78"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "78"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="100"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="274"  offset-bits="4" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 6"                                        pin="0x40b" >
            <gain                       offset-bytes= "46"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "79"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "79"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="101"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="274"  offset-bits="5" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 7"    stereo-name="Line Outputs 7-8"     pin="0x40c" input-index="73">
            <gain                       offset-bytes= "48"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "80"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "80"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="102"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="274"  offset-bits="6" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 8"                                       pin="0x40d" >
            <gain                       offset-bytes= "50"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "81"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "81"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="103"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="274"  offset-bits="7" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 9"   stereo-name="Line Output 9-10"     pin="0x40e" input-index="75">
            <gain                       offset-bytes= "52"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "82"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "82"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="104"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="275"  offset-bits="0" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 10"                                       pin="0x40f" >
            <gain                       offset-bytes= "54"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "83"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "83"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="105"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="275"  offset-bits="1" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 11"   stereo-name="Line Output 11-12"     pin="0x410" input-index="77">
            <gain                       offset-bytes= "56"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "84"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "84"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="106"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="275"  offset-bits="2" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 12"                                       pin="0x411" >
            <gain                       offset-bytes= "58"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "85"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "85"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="107"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="275"  offset-bits="3" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 13"   stereo-name="Line Output 13-14"     pin="0x412" input-index="79">
            <gain                       offset-bytes= "60"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "86"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "86"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="108"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="275"  offset-bits="4" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 14"                                       pin="0x413">
            <gain                       offset-bytes= "62"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "87"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "87"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="109"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="275"  offset-bits="5" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 15"   stereo-name="Line Output 15-16"     pin="0x414" input-index="81">
            <gain                       offset-bytes= "64"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "88"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "88"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="110"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="275"  offset-bits="6" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>
        <analogue   name="Line Output 16"                                       pin="0x415" >
            <gain                       offset-bytes= "66"                  bits="16" command= "1"  gain-mode="gain" />     <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <mute                       offset-bytes= "89"  offset-bits="0" bits= "1" command="15" />
            <dim                        offset-bytes= "89"  offset-bits="1" bits= "1" command="15" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <enable-hardware-control    offset-bytes="111"                  bits= "2" command= "3" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
            <line-output-ref            offset-bytes="275"  offset-bits="7" bits= "1" command="21" />                       <!-- RedXmlTests<APP_SPACE>::checkAnalogueOutputOffsets -->
        </analogue>

        <spdif-rca  name="S/PDIF Output L"  stereo-name="S/PDIF Outputs L-R"    pin="0x186" input-index="85" />
        <spdif-rca  name="S/PDIF Output R"                                      pin="0x187" />

        <adat       name="ADAT Output 1.1"  stereo-name="ADAT Outputs 1.1-1.2"  pin="0x200" input-index="87" />
        <adat       name="ADAT Output 1.2"                                      pin="0x201" />
        <adat       name="ADAT Output 1.3"  stereo-name="ADAT Outputs 1.3-1.4"  pin="0x202" pin-h="0x000" input-index="89" />
        <adat       name="ADAT Output 1.4"                                      pin="0x203" pin-h="0x000" />
        <adat       name="ADAT Output 1.5"  stereo-name="ADAT Outputs 1.5-1.6"  pin="0x204" pin-m="0x000" input-index="91" />
        <adat       name="ADAT Output 1.6"                                      pin="0x205" pin-m="0x000" />
        <adat       name="ADAT Output 1.7"  stereo-name="ADAT Outputs 1.7-1.8"  pin="0x206" pin-m="0x000" input-index="93" />
        <adat       name="ADAT Output 1.8"                                      pin="0x207" pin-m="0x000" />
        <adat       name="ADAT Output 2.1"  stereo-name="ADAT Outputs 2.1-2.2"  pin="0x208" pin-m="0x204" pin-h="0x202" input-index="95" />
        <adat       name="ADAT Output 2.2"                                      pin="0x209" pin-m="0x205" pin-h="0x203" />
        <adat       name="ADAT Output 2.3"  stereo-name="ADAT Outputs 2.3-2.4"  pin="0x20a" pin-m="0x206" pin-h="0x000" input-index="97" />
        <adat       name="ADAT Output 2.4"                                      pin="0x20b" pin-m="0x207" pin-h="0x000" />
        <adat       name="ADAT Output 2.5"  stereo-name="ADAT Outputs 2.5-2.6"  pin="0x20c" pin-m="0x000" input-index="99" />
        <adat       name="ADAT Output 2.6"                                      pin="0x20d" pin-m="0x000" />
        <adat       name="ADAT Output 2.7"  stereo-name="ADAT Outputs 2.7-2.8"  pin="0x20e" pin-m="0x000" input-index="101" />
        <adat       name="ADAT Output 2.8"                                      pin="0x20f" pin-m="0x000" />

        <dante      name="Dante 1"          stereo-name="Dante 1-2"             pin="0x800" input-index="103" />
        <dante      name="Dante 2"                                              pin="0x801" />
        <dante      name="Dante 3"          stereo-name="Dante 3-4"             pin="0x802" input-index="105" />
        <dante      name="Dante 4"                                              pin="0x803" />
        <dante      name="Dante 5"          stereo-name="Dante 5-6"             pin="0x804" input-index="107" />
        <dante      name="Dante 6"                                              pin="0x805" />
        <dante      name="Dante 7"          stereo-name="Dante 7-8"             pin="0x806" input-index="109" />
        <dante      name="Dante 8"                                              pin="0x807" />
        <dante      name="Dante 9"          stereo-name="Dante 9-10"            pin="0x808" input-index="111" />
        <dante      name="Dante 10"                                             pin="0x809" />
        <dante      name="Dante 11"         stereo-name="Dante 11-12"           pin="0x80a" input-index="113" />
        <dante      name="Dante 12"                                             pin="0x80b" />
        <dante      name="Dante 13"         stereo-name="Dante 13-14"           pin="0x80c" input-index="115" />
        <dante      name="Dante 14"                                             pin="0x80d" />
        <dante      name="Dante 15"         stereo-name="Dante 15-16"           pin="0x80e" input-index="117" />
        <dante      name="Dante 16"                                             pin="0x80f" />
        <dante      name="Dante 17"         stereo-name="Dante 17-18"           pin="0x810" pin-h="0x000" input-index="119" />
        <dante      name="Dante 18"                                             pin="0x811" pin-h="0x000" />
        <dante      name="Dante 19"         stereo-name="Dante 19-20"           pin="0x812" pin-h="0x000" input-index="121" />
        <dante      name="Dante 20"                                             pin="0x813" pin-h="0x000" />
        <dante      name="Dante 21"         stereo-name="Dante 21-22"           pin="0x814" pin-h="0x000" input-index="123" />
        <dante      name="Dante 22"                                             pin="0x815" pin-h="0x000" />
        <dante      name="Dante 23"         stereo-name="Dante 23-24"           pin="0x816" pin-h="0x000" input-index="125" />
        <dante      name="Dante 24"                                             pin="0x817" pin-h="0x000" />
        <dante      name="Dante 25"         stereo-name="Dante 25-26"           pin="0x818" pin-h="0x000" input-index="127" />
        <dante      name="Dante 26"                                             pin="0x819" pin-h="0x000" />
        <dante      name="Dante 27"         stereo-name="Dante 27-28"           pin="0x81a" pin-h="0x000" input-index="129" />
        <dante      name="Dante 28"                                             pin="0x81b" pin-h="0x000" />
        <dante      name="Dante 29"         stereo-name="Dante 29-30"           pin="0x81c" pin-h="0x000" input-index="67" />
        <dante      name="Dante 30"                                             pin="0x81d" pin-h="0x000" />
        <dante      name="Dante 31"         stereo-name="Dante 31-32"           pin="0x81e" pin-h="0x000" input-index="67" />
        <dante      name="Dante 32"                                             pin="0x81f" pin-h="0x000" />
    </outputs>
    <record-outputs mutable="true" >
        <record pin="0x600" input= "0"/>                            <!--   Mic  1                               -->
        <record pin="0x601" input= "1"/>                            <!--   Mic  2                               -->
        <record pin="0x602" input= "2"/>                            <!--   Mic  3                               -->
        <record pin="0x603" input= "3"/>                            <!--   Mic  4                               -->
        <record pin="0x604" input= "4"/>                            <!--   Mic  5                               -->
        <record pin="0x605" input= "5"/>                            <!--   Mic  6                               -->
        <record pin="0x606" input= "6"/>                            <!--   Mic  7                               -->
        <record pin="0x607" input= "7"/>                            <!--   Mic  8                               -->
        <record pin="0x608" input= "8"/>                            <!--  Line  9                               -->
        <record pin="0x609" input= "9"/>                            <!--  Line 10                               -->
        <record pin="0x60a" input="10"/>                            <!--  Line 11                               -->
        <record pin="0x60b" input="11"/>                            <!--  Line 12                               -->
        <record pin="0x60c" input="12"/>                            <!--  Line 13                               -->
        <record pin="0x60d" input="13"/>                            <!--  Line 14                               -->
        <record pin="0x60e" input="14"/>                            <!--  Line 15                               -->
        <record pin="0x60f" input="15"/>                            <!--  Line 16                               -->

        <loopback   name="Loopback 1"       stereo-name="Loopback 1-2"          pin="0x610" />
        <loopback   name="Loopback 2"                                           pin="0x611" />

        <record pin="0x612" input="16"/>                            <!-- S/PDIF 1                               -->
        <record pin="0x613" input="17"/>                            <!-- S/PDIF 2                               -->

        <record pin="0x614" input="18" />                           <!--  ADAT  1                               -->
        <record pin="0x615" input="19" />                           <!--  ADAT  2                               -->
        <record pin="0x616" input="20"              input-h="26" /> <!--  ADAT  3,                  H:  ADAT  9 -->
        <record pin="0x617" input="21"              input-h="27" /> <!--  ADAT  4,                  H:  ADAT 10 -->
        <record pin="0x618" input="22" input-m="26" input-h="34" /> <!--  ADAT  5,  M:  ADAT  9,    H: Dante  1 -->
        <record pin="0x619" input="23" input-m="27" input-h="35" /> <!--  ADAT  6,  M:  ADAT 10,    H: Dante  2 -->
        <record pin="0x61a" input="24" input-m="28" input-h="36" /> <!--  ADAT  7,  M:  ADAT 11,    H: Dante  3 -->
        <record pin="0x61b" input="25" input-m="29" input-h="37" /> <!--  ADAT  8,  M:  ADAT 12,    H: Dante  4 -->
        <record pin="0x61c" input="26" input-m="34" input-h="38" /> <!--  ADAT  9,  M: Dante  1,    H: Dante  5 -->
        <record pin="0x61d" input="27" input-m="35" input-h="39" /> <!--  ADAT 10,  M: Dante  2,    H: Dante  6 -->
        <record pin="0x61e" input="28" input-m="36" input-h="40" /> <!--  ADAT 11,  M: Dante  3,    H: Dante  7 -->
        <record pin="0x61f" input="29" input-m="37" input-h="41" /> <!--  ADAT 12,  M: Dante  4,    H: Dante  8 -->
        <record pin="0x620" input="30" input-m="38" input-h="42" /> <!--  ADAT 13,  M: Dante  5,    H: Dante  9 -->
        <record pin="0x621" input="31" input-m="39" input-h="43" /> <!--  ADAT 14,  M: Dante  6,    H: Dante 10 -->
        <record pin="0x622" input="32" input-m="40" input-h="44" /> <!--  ADAT 15,  M: Dante  7,    H: Dante 11 -->
        <record pin="0x623" input="33" input-m="41" input-h="45" /> <!--  ADAT 16,  M: Dante  8,    H: Dante 12 -->
        <record pin="0x624" input="34" input-m="42" input-h="46" /> <!-- Dante  1,  M: Dante  9,    H: Dante 13 -->
        <record pin="0x625" input="35" input-m="43" input-h="47" /> <!-- Dante  2,  M: Dante 10,    H: Dante 14 -->
        <record pin="0x626" input="36" input-m="44" input-h="48" /> <!-- Dante  3,  M: Dante 11,    H: Dante 15 -->
        <record pin="0x627" input="37" input-m="45" input-h="49" /> <!-- Dante  4,  M: Dante 12,    H: Dante 16 -->
        <record pin="0x628" input="38" input-m="46" pin-h="0x0"  /> <!-- Dante  5,  M: Dante 13,    H: X        -->
        <record pin="0x629" input="39" input-m="47" pin-h="0x0"  /> <!-- Dante  6,  M: Dante 14,    H: X        -->
        <record pin="0x62a" input="40" input-m="48" pin-h="0x0"  /> <!-- Dante  7,  M: Dante 15,    H: X        -->
        <record pin="0x62b" input="41" input-m="49" pin-h="0x0"  /> <!-- Dante  8,  M: Dante 16,    H: X        -->
        <record pin="0x62c" input="42" input-m="50" pin-h="0x0"  /> <!-- Dante  9,  M: Dante 17,    H: X        -->
        <record pin="0x62d" input="43" input-m="51" pin-h="0x0"  /> <!-- Dante 10,  M: Dante 18,    H: X        -->
        <record pin="0x62e" input="44" input-m="52" pin-h="0x0"  /> <!-- Dante 11,  M: Dante 19,    H: X        -->
        <record pin="0x62f" input="45" input-m="53" pin-h="0x0"  /> <!-- Dante 12,  M: Dante 20,    H: X        -->
        <record pin="0x630" input="46" input-m="54" pin-h="0x0"  /> <!-- Dante 13,  M: Dante 21,    H: X        -->
        <record pin="0x631" input="47" input-m="55" pin-h="0x0"  /> <!-- Dante 14,  M: Dante 22,    H: X        -->
        <record pin="0x632" input="48" input-m="56" pin-h="0x0"  /> <!-- Dante 15,  M: Dante 23,    H: X        -->
        <record pin="0x633" input="49" input-m="57" pin-h="0x0"  /> <!-- Dante 16,  M: Dante 24,    H: X        -->
        <record pin="0x634" input="50" input-m="58" pin-h="0x0"  /> <!-- Dante 17,  M: Dante 25,    H: X        -->
        <record pin="0x635" input="51" input-m="59" pin-h="0x0"  /> <!-- Dante 18,  M: Dante 26,    H: X        -->
        <record pin="0x636" input="52" input-m="60" pin-h="0x0"  /> <!-- Dante 19,  M: Dante 27,    H: X        -->
        <record pin="0x637" input="53" input-m="61" pin-h="0x0"  /> <!-- Dante 20,  M: Dante 28,    H: X        -->
        <record pin="0x638" input="54" input-m="62" pin-h="0x0"  /> <!-- Dante 21,  M: Dante 29,    H: X        -->
        <record pin="0x639" input="55" input-m="63" pin-h="0x0"  /> <!-- Dante 22,  M: Dante 30,    H: X        -->
        <record pin="0x63a" input="56" input-m="64" pin-h="0x0"  /> <!-- Dante 23,  M: Dante 31,    H: X        -->
        <record pin="0x63b" input="57" input-m="65" pin-h="0x0"  /> <!-- Dante 24,  M: Dante 32,    H: X        -->
        <record pin="0x63c" input="58" pin-m="0x0" />               <!-- Dante 25,  M: X                        -->
        <record pin="0x63d" input="59" pin-m="0x0" />               <!-- Dante 26,  M: X                        -->
        <record pin="0x63e" input="60" pin-m="0x0" />               <!-- Dante 27,  M: X                        -->
        <record pin="0x63f" input="61" pin-m="0x0" />               <!-- Dante 28,  M: X                        -->
        <record pin="0x000" input="62" pin-m="0x0" />               <!-- Dante 29,  M: X                        -->
        <record pin="0x001" input="63" pin-m="0x0" />               <!-- Dante 30,  M: X                        -->
        <record pin="0x002" input="64" pin-m="0x0" />               <!-- Dante 31,  M: X                        -->
        <record pin="0x003" input="65" pin-m="0x0" />               <!-- Dante 32,  M: X                        -->
    </record-outputs>
    <monitoring offset-bytes="112" bytes="18"  flexible-monitoring="true">
        <!-- For those under monitor control -->
        <hardware-controls>
            <group knob="encoder" strategy="red" exclusive="false" min-gain="-112.0" max-gain="0.0" snapshotable="true" >
                <mute   offset-bytes="124" bits= "1"                    command="2" />
                <dim    offset-bytes="124" bits= "1"    offset-bits="1" command="2" />
                <gain   offset-bytes="112" bits="16"                    command="6" />
            </group>
            <group knob="encoder" strategy="red" exclusive="false" min-gain="-112.0" max-gain="0.0" snapshotable="true" >
                <mute   offset-bytes="126" bits= "1"                    command="2" />
                <dim    offset-bytes="126" bits= "1"    offset-bits="1" command="2" />
                <gain   offset-bytes="116" bits="16"                    command="6" />
            </group>
            <group knob="encoder" strategy="red" exclusive="false" min-gain="-112.0" max-gain="0.0" snapshotable="true" >
                <mute   offset-bytes="128" bits= "1"                    command="2" />
                <dim    offset-bytes="128" bits= "1"    offset-bits="1" command="2" />
                <gain   offset-bytes="120" bits="16"                    command="6" />
            </group>
        </hardware-controls>
    </monitoring>
    <clocking>
        <clock-source>
            <enum value="Internal"  option="24" />
            <enum value="Wordclock" option= "2" />
            <enum value="ADAT 1"    option= "0" />
            <enum value="ADAT 2"    option= "1" />
            <enum value="S/PDIF"    option= "3" />
            <enum value="Dante"     option= "4" />
            <enum value="Loop Sync" option= "5" />
        </clock-source>
        <sample-rate>
            <enum value="44.1 kHz"  option= "44100" />
            <enum value="48 kHz"    option= "48000" />
            <enum value="88.2 kHz"  option= "88200" />
            <enum value="96 kHz"    option= "96000" />
            <enum value="176.4 kHz" option="176400" />
            <enum value="192 kHz"   option="192000" />
        </sample-rate>
        <dante-preferred-master offset-bytes="264" bits="16" command="16" />
    </clocking>
    <settings>
        <buffer-size>
            <enum value=  "32" />
            <enum value=  "64" />
            <enum value= "128" />
            <enum value= "256" />
            <enum value= "512" />
            <enum value="1024" />
            <enum value="2048" />
        </buffer-size>
        <spdif-mode name="S/PDIF Source" num="0" >
            <mode>
                <enum value="RCA"       option="2" />
                <enum value="Optical"   option="1" />
            </mode>
            <input      offset-bytes="244" bits="2" command= "4" />
            <output     offset-bytes="236" bits="2" command= "4" />
        </spdif-mode>
        <meter-source   offset-bytes="268" bits="8" command="14" >
            <enum value="Analogue Inputs 1-8"   option="0" />
            <enum value="Analogue Inputs 9-16"  option="1" />
            <enum value="Analogue Outputs 1-8"  option="2" />
            <enum value="Analogue Outputs 9-16" option="3" />
            <enum value="S/PDIF Inputs 1-2"     option="4" />
            <enum value="S/PDIF Outputs 1-2"    option="5" />
            <enum value="ADAT Inputs 1-8"       option="6" />
            <enum value="ADAT Inputs 9-16"      option="7" />
            <enum value="ADAT Outputs 1-8"      option="8" />
            <enum value="ADAT Outputs 9-16"     option="9" />
            <enum value="Dante Inputs 1-8"      option="10" />
            <enum value="Dante Inputs 9-16"     option="11" />
            <enum value="Dante Inputs 17-24"    option="12" />
            <enum value="Dante Inputs 25-32"    option="13" />
            <enum value="Dante Outputs 1-8"     option="14" />
            <enum value="Dante Outputs 9-16"    option="15" />
            <enum value="Dante Outputs 17-24"   option="16" />
            <enum value="Dante Outputs 25-32"   option="17" />
        </meter-source>
        <standalone     offset-bytes="248" bits="1" />
        <host-mode      offset-bytes="258" bits="1" command="18" >
            <enum value="Thunderbolt"   option="0" />
            <enum value="Pro Tools"     option="1" />
        </host-mode>
        <delay-compensation>
            <preset>
                <enum value="Small"    option="1" />
                <enum value="Medium"   option="2" />
                <enum value="Large "   option="3" />
            </preset>
            <supported              offset-bytes="295" bits="8"/>
            <analogue-spdif-enabled offset-bytes="291" bits="8" command= "22" />
            <analogue-spdif-value   offset-bytes="292" bits="8" command= "22" />
            <protools-enabled       offset-bytes="293" bits="8" command= "22" />
            <protools-value         offset-bytes="294" bits="8" command= "22" />
        </delay-compensation>
        <phantom-persistence offset-bytes="271" bits="8" command="11" />
        <line-ref-linked offset-bytes="290" bits="1" command="26" />
    </settings>
    <preset>
        <enum value="Default Routing"/>
        <enum value="System Playback"/>
        <enum value="Digital"/>
        <enum value="Analogue + Digital"/>
        <enum value="Dante"/>
        <enum value="Clear Custom Mix"/>
    </preset>
    <notifications>
        <notification name="input-gain"     value="0x00200000" />
        <notification name="input-other"    value="0x00400000" />
        <notification name="output"         value="0x00800000" />
        <notification name="global"         value="0x01000000" />
        <notification name="dante-persist"  value="0x02000000" />
        <notification name="dante-volatile" value="0x04000000" />
        <notification name="temperature"    value="0x40000000" />
    </notifications>
    <appspace appspace-size="8508" app-ofs="316" appstorage-size="8192" flash-command="5" />
    <routing num="170" num-m="154" num-h="114" />
    <firmware start-notification="19" stop-notification="20" >
        <segment name="App_Upgrade"     nickname="App"      version="1036" file="Red16LineApp.tca" >
            <version    offset-bytes= "8" bits="32" />
        </segment>
        
        <segment name="FPGA_Upgrade"    nickname="FPGA"     version="951" file="Red16LineFPGA.bit" >
            <version    offset-bytes="12" bits="32" />
            <type       offset-bytes="16" bits="32" />
        </segment>
        
        <segment name="Front_Upgrade"   nickname="Front"    version="231" file="Red16LineFrontPanel.bin" >
            <version    offset-bytes="20" bits="32" />
        </segment>
    </firmware>
    <dante appspace-size="40" flash-command="5" >
        <available          offset-bytes="262"  bits="1" />
        <network-master     offset-bytes= "28"  bits="1" />
        <external-clock     offset-bytes= "29"  bits="1" />
        <primary-network    offset-bytes= "30"  bits="1" />
        <secondary-network  offset-bytes= "31"  bits="1" />
        <network-locked     offset-bytes= "32"  bits="1" />
        <dante-device-lock  offset-bytes= "33"  bits="1" />
        <mac-address        offset-bytes= "34"  bytes="6" />
    </dante>
    <state appspace-size="8" bytes="8" >
        <temperature-supported offset-bytes="0" bits="32" bytes="4"/>
        <temperature-value offset-bytes="4" bits="16" bytes="2"/>
        <fan-high-speed offset-bytes="6" bits="8" bytes="1"/>
    </state>
    <pairable-devices>
        <pairable-device> <!-- R1 -->
            <paired-state offset-bytes="299" bits="2" command="24">
                <enum value="Not Paired" option="0"/>
                <enum value="Paired" option="1"/>
                <enum value="Pairing Lost" option="2"/>
            </paired-state>
            <heartbeat notification="25">
                <interval-seconds offset-bytes="300" bits="8"/>
            </heartbeat>
        </pairable-device>
    </pairable-devices>
</device>
