1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334
|
/*
* Copyright (C) 2005-2008 by Pieter Palmers
* Copyright (C) 2005-2009 by Jonathan Woithe
*
* This file is part of FFADO
* FFADO = Free Firewire (pro-)audio drivers for linux
*
* FFADO is based upon FreeBoB.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* This module contains definitions of mixers on devices which utilise the
* original "pre-Mark3" mixer control protocol.
*/
#include "motu/motu_avdevice.h"
#include "motu/motu_mixerdefs.h"
namespace Motu {
// Mixer registers
const MatrixMixBus MixerBuses_Traveler[] = {
{"Mix 1", 0x4000, },
{"Mix 2", 0x4100, },
{"Mix 3", 0x4200, },
{"Mix 4", 0x4300, },
};
const MatrixMixChannel MixerChannels_Traveler[] = {
{"Analog 1", MOTU_CTRL_STD_CHANNEL, 0x0000, },
{"Analog 2", MOTU_CTRL_STD_CHANNEL, 0x0004, },
{"Analog 3", MOTU_CTRL_STD_CHANNEL, 0x0008, },
{"Analog 4", MOTU_CTRL_STD_CHANNEL, 0x000c, },
{"Analog 5", MOTU_CTRL_STD_CHANNEL, 0x0010, },
{"Analog 6", MOTU_CTRL_STD_CHANNEL, 0x0014, },
{"Analog 7", MOTU_CTRL_STD_CHANNEL, 0x0018, },
{"Analog 8", MOTU_CTRL_STD_CHANNEL, 0x001c, },
{"AES/EBU 1", MOTU_CTRL_STD_CHANNEL, 0x0020, },
{"AES/EBU 2", MOTU_CTRL_STD_CHANNEL, 0x0024, },
{"SPDIF 1", MOTU_CTRL_STD_CHANNEL, 0x0028, },
{"SPDIF 2", MOTU_CTRL_STD_CHANNEL, 0x002c, },
{"ADAT 1", MOTU_CTRL_STD_CHANNEL, 0x0030, },
{"ADAT 2", MOTU_CTRL_STD_CHANNEL, 0x0034, },
{"ADAT 3", MOTU_CTRL_STD_CHANNEL, 0x0038, },
{"ADAT 4", MOTU_CTRL_STD_CHANNEL, 0x003c, },
{"ADAT 5", MOTU_CTRL_STD_CHANNEL, 0x0040, },
{"ADAT 6", MOTU_CTRL_STD_CHANNEL, 0x0044, },
{"ADAT 7", MOTU_CTRL_STD_CHANNEL, 0x0048, },
{"ADAT 8", MOTU_CTRL_STD_CHANNEL, 0x004c, },
};
const MixerCtrl MixerCtrls_Traveler[] = {
{"Mix1/Mix_", "Mix 1 ", "", MOTU_CTRL_STD_MIX, 0x0c20, },
{"Mix2/Mix_", "Mix 2 ", "", MOTU_CTRL_STD_MIX, 0x0c24, },
{"Mix3/Mix_", "Mix 3 ", "", MOTU_CTRL_STD_MIX, 0x0c28, },
{"Mix4/Mix_", "Mix 4 ", "", MOTU_CTRL_STD_MIX, 0x0c2c, },
{"Mainout_", "MainOut ", "", MOTU_CTRL_MIX_FADER, 0x0c0c, },
{"Phones_", "Phones ", "", MOTU_CTRL_MIX_FADER, 0x0c10, },
/* For mic/line input controls, the "register" is the zero-based channel number */
{"Control/Ana1_", "Analog 1 input ", "", MOTU_CTRL_TRAVELER_MIC_INPUT_CTRLS, 0},
{"Control/Ana2_", "Analog 2 input ", "", MOTU_CTRL_TRAVELER_MIC_INPUT_CTRLS, 1},
{"Control/Ana3_", "Analog 3 input ", "", MOTU_CTRL_TRAVELER_MIC_INPUT_CTRLS, 2},
{"Control/Ana4_", "Analog 4 input ", "", MOTU_CTRL_TRAVELER_MIC_INPUT_CTRLS, 3},
{"Control/Ana5_", "Analog 5 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 4},
{"Control/Ana6_", "Analog 6 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 5},
{"Control/Ana7_", "Analog 7 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 6},
{"Control/Ana8_", "Analog 8 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 7},
/* For phones source control, "register" is currently unused */
{"Control/Phones_", "Phones source", "", MOTU_CTRL_PHONES_SRC, 0},
/* For optical mode controls, the "register" is used to indicate direction */
{"Control/OpticalIn_mode", "Optical input mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_IN},
{"Control/OpticalOut_mode", "Optical output mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_OUT},
};
const MatrixMixBus MixerBuses_Ultralite[] = {
{"Mix 1", 0x4000, },
{"Mix 2", 0x4100, },
{"Mix 3", 0x4200, },
{"Mix 4", 0x4300, },
};
const MatrixMixChannel MixerChannels_Ultralite[] = {
{"Analog 1", MOTU_CTRL_STD_CHANNEL, 0x0000, },
{"Analog 2", MOTU_CTRL_STD_CHANNEL, 0x0004, },
{"Analog 3", MOTU_CTRL_STD_CHANNEL, 0x0008, },
{"Analog 4", MOTU_CTRL_STD_CHANNEL, 0x000c, },
{"Analog 5", MOTU_CTRL_STD_CHANNEL, 0x0010, },
{"Analog 6", MOTU_CTRL_STD_CHANNEL, 0x0014, },
{"Analog 7", MOTU_CTRL_STD_CHANNEL, 0x0018, },
{"Analog 8", MOTU_CTRL_STD_CHANNEL, 0x001c, },
{"AES/EBU 1", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"AES/EBU 2", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"SPDIF 1", MOTU_CTRL_STD_CHANNEL, 0x0020, },
{"SPDIF 2", MOTU_CTRL_STD_CHANNEL, 0x0024, },
{"ADAT 1", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"ADAT 2", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"ADAT 3", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"ADAT 4", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"ADAT 5", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"ADAT 6", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"ADAT 7", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"ADAT 8", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
};
const MixerCtrl MixerCtrls_Ultralite[] = {
{"Mix1/Mix_", "Mix 1 ", "", MOTU_CTRL_STD_MIX, 0x0c20, },
{"Mix2/Mix_", "Mix 2 ", "", MOTU_CTRL_STD_MIX, 0x0c24, },
{"Mix3/Mix_", "Mix 3 ", "", MOTU_CTRL_STD_MIX, 0x0c28, },
{"Mix4/Mix_", "Mix 4 ", "", MOTU_CTRL_STD_MIX, 0x0c2c, },
{"Mainout_", "MainOut ", "", MOTU_CTRL_MIX_FADER, 0x0c0c, },
{"Phones_", "Phones ", "", MOTU_CTRL_MIX_FADER, 0x0c10, },
/* For mic/line input controls, the "register" is the zero-based channel number */
{"Control/Ana1_", "Analog 1 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 0},
{"Control/Ana2_", "Analog 2 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 1},
{"Control/Ana3_", "Analog 3 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 2},
{"Control/Ana4_", "Analog 4 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 3},
{"Control/Ana5_", "Analog 5 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 4},
{"Control/Ana6_", "Analog 6 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 5},
{"Control/Ana7_", "Analog 7 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 6},
{"Control/Ana8_", "Analog 8 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 7},
{"Control/Spdif1_", "SPDIF 1 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 6},
{"Control/Spdif2_", "SPDIF 2 input ", "", MOTU_CTRL_ULTRALITE_INPUT_CTRLS, 7},
/* For phones source control, "register" is currently unused */
{"Control/Phones_", "Phones source", "", MOTU_CTRL_PHONES_SRC, 0},
/* For optical mode controls, the "register" is used to indicate direction */
{"Control/OpticalIn_mode", "Optical input mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_IN},
{"Control/OpticalOut_mode", "Optical output mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_OUT},
};
const MatrixMixBus MixerBuses_896HD[] = {
{"Mix 1", 0x4000, },
{"Mix 2", 0x4100, },
{"Mix 3", 0x4200, },
{"Mix 4", 0x4300, },
};
const MatrixMixChannel MixerChannels_896HD[] = {
{"Analog 1", MOTU_CTRL_STD_CHANNEL, 0x0000, },
{"Analog 2", MOTU_CTRL_STD_CHANNEL, 0x0004, },
{"Analog 3", MOTU_CTRL_STD_CHANNEL, 0x0008, },
{"Analog 4", MOTU_CTRL_STD_CHANNEL, 0x000c, },
{"Analog 5", MOTU_CTRL_STD_CHANNEL, 0x0010, },
{"Analog 6", MOTU_CTRL_STD_CHANNEL, 0x0014, },
{"Analog 7", MOTU_CTRL_STD_CHANNEL, 0x0018, },
{"Analog 8", MOTU_CTRL_STD_CHANNEL, 0x001c, },
{"AES/EBU 1", MOTU_CTRL_STD_CHANNEL, 0x0020, },
{"AES/EBU 2", MOTU_CTRL_STD_CHANNEL, 0x0024, },
{"SPDIF 1", MOTU_CTRL_STD_CHANNEL, 0x0048, },
{"SPDIF 2", MOTU_CTRL_STD_CHANNEL, 0x004c, },
{"ADAT 1", MOTU_CTRL_STD_CHANNEL, 0x0028, },
{"ADAT 2", MOTU_CTRL_STD_CHANNEL, 0x002c, },
{"ADAT 3", MOTU_CTRL_STD_CHANNEL, 0x0030, },
{"ADAT 4", MOTU_CTRL_STD_CHANNEL, 0x0034, },
{"ADAT 5", MOTU_CTRL_STD_CHANNEL, 0x0038, },
{"ADAT 6", MOTU_CTRL_STD_CHANNEL, 0x003c, },
{"ADAT 7", MOTU_CTRL_STD_CHANNEL, 0x0040, },
{"ADAT 8", MOTU_CTRL_STD_CHANNEL, 0x0044, },
};
const MixerCtrl MixerCtrls_896HD[] = {
{"Mix1/Mix_", "Mix 1 ", "", MOTU_CTRL_STD_MIX, 0x0c20, },
{"Mix2/Mix_", "Mix 2 ", "", MOTU_CTRL_STD_MIX, 0x0c24, },
{"Mix3/Mix_", "Mix 3 ", "", MOTU_CTRL_STD_MIX, 0x0c28, },
{"Mix4/Mix_", "Mix 4 ", "", MOTU_CTRL_STD_MIX, 0x0c2c, },
{"Mainout_", "MainOut ", "", MOTU_CTRL_MIX_FADER, 0x0c0c, },
{"Phones_", "Phones ", "", MOTU_CTRL_MIX_FADER, 0x0c10, },
/* For phones source control, "register" is currently unused */
{"Control/Phones_", "Phones source", "", MOTU_CTRL_PHONES_SRC, 0},
/* For optical mode controls, the "register" is used to indicate direction */
{"Control/OpticalIn_mode", "Optical input mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_IN},
{"Control/OpticalOut_mode", "Optical output mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_OUT},
/* For meter controls the "register" indicates which meter controls are available */
{"Control/Meter_", "Meter ", "", MOTU_CTRL_METER,
MOTU_CTRL_METER_PEAKHOLD | MOTU_CTRL_METER_CLIPHOLD | MOTU_CTRL_METER_AESEBU_SRC |
MOTU_CTRL_METER_PROG_SRC},
};
const MatrixMixBus MixerBuses_828Mk2[] = {
{"Mix 1", 0x4000, },
{"Mix 2", 0x4100, },
{"Mix 3", 0x4200, },
{"Mix 4", 0x4300, },
};
const MatrixMixChannel MixerChannels_828Mk2[] = {
{"Analog 1", MOTU_CTRL_STD_CHANNEL, 0x0000, },
{"Analog 2", MOTU_CTRL_STD_CHANNEL, 0x0004, },
{"Analog 3", MOTU_CTRL_STD_CHANNEL, 0x0008, },
{"Analog 4", MOTU_CTRL_STD_CHANNEL, 0x000c, },
{"Analog 5", MOTU_CTRL_STD_CHANNEL, 0x0010, },
{"Analog 6", MOTU_CTRL_STD_CHANNEL, 0x0014, },
{"Analog 7", MOTU_CTRL_STD_CHANNEL, 0x0018, },
{"Analog 8", MOTU_CTRL_STD_CHANNEL, 0x001c, },
{"Mic 1", MOTU_CTRL_STD_CHANNEL, 0x0020, },
{"Mic 2", MOTU_CTRL_STD_CHANNEL, 0x0024, },
{"SPDIF 1", MOTU_CTRL_STD_CHANNEL, 0x0028, },
{"SPDIF 2", MOTU_CTRL_STD_CHANNEL, 0x002c, },
{"ADAT 1", MOTU_CTRL_STD_CHANNEL, 0x0030, },
{"ADAT 2", MOTU_CTRL_STD_CHANNEL, 0x0034, },
{"ADAT 3", MOTU_CTRL_STD_CHANNEL, 0x0038, },
{"ADAT 4", MOTU_CTRL_STD_CHANNEL, 0x003c, },
{"ADAT 5", MOTU_CTRL_STD_CHANNEL, 0x0040, },
{"ADAT 6", MOTU_CTRL_STD_CHANNEL, 0x0044, },
{"ADAT 7", MOTU_CTRL_STD_CHANNEL, 0x0048, },
{"ADAT 8", MOTU_CTRL_STD_CHANNEL, 0x004c, },
};
const MixerCtrl MixerCtrls_828Mk2[] = {
{"Mix1/Mix_", "Mix 1 ", "", MOTU_CTRL_STD_MIX, 0x0c20, },
{"Mix2/Mix_", "Mix 2 ", "", MOTU_CTRL_STD_MIX, 0x0c24, },
{"Mix3/Mix_", "Mix 3 ", "", MOTU_CTRL_STD_MIX, 0x0c28, },
{"Mix4/Mix_", "Mix 4 ", "", MOTU_CTRL_STD_MIX, 0x0c2c, },
{"Mainout_", "MainOut ", "", MOTU_CTRL_MIX_FADER, 0x0c0c, },
{"Phones_", "Phones ", "", MOTU_CTRL_MIX_FADER, 0x0c10, },
/* For mic/line input controls, the "register" is the zero-based channel number */
{"Control/Ana1_", "Analog 1 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 0},
{"Control/Ana2_", "Analog 2 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 1},
{"Control/Ana3_", "Analog 3 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 2},
{"Control/Ana4_", "Analog 4 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 3},
{"Control/Ana5_", "Analog 5 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 4},
{"Control/Ana6_", "Analog 6 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 5},
{"Control/Ana7_", "Analog 7 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 6},
{"Control/Ana8_", "Analog 8 input ", "", MOTU_CTRL_TRAVELER_LINE_INPUT_CTRLS, 7},
/* For phones source control, "register" is currently unused */
{"Control/Phones_", "Phones source", "", MOTU_CTRL_PHONES_SRC, 0},
/* For optical mode controls, the "register" is used to indicate direction */
{"Control/OpticalIn_mode", "Optical input mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_IN},
{"Control/OpticalOut_mode", "Optical output mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_OUT},
};
const MatrixMixBus MixerBuses_8pre[] = {
{"Mix 1", 0x4000, },
{"Mix 2", 0x4100, },
{"Mix 3", 0x4200, },
{"Mix 4", 0x4300, },
};
const MatrixMixChannel MixerChannels_8pre[] = {
{"Analog 1", MOTU_CTRL_STD_CHANNEL, 0x0000, },
{"Analog 2", MOTU_CTRL_STD_CHANNEL, 0x0004, },
{"Analog 3", MOTU_CTRL_STD_CHANNEL, 0x0008, },
{"Analog 4", MOTU_CTRL_STD_CHANNEL, 0x000c, },
{"Analog 5", MOTU_CTRL_STD_CHANNEL, 0x0010, },
{"Analog 6", MOTU_CTRL_STD_CHANNEL, 0x0014, },
{"Analog 7", MOTU_CTRL_STD_CHANNEL, 0x0018, },
{"Analog 8", MOTU_CTRL_STD_CHANNEL, 0x001c, },
//
// The Ultralite doesn't include AES/EBU or SPDIF mixer controls, but
// "pad" mixer entries are required so the index of the ADAT controls
// within the various matrix mixers remain unchanged compared to other
// interfaces. This in turn means the python ffado-mixer code doesn't
// have to deal with differing layouts within the matrix mixer controls.
{"AES/EBU 1", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"AES/EBU 2", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"SPDIF 1", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
{"SPDIF 2", MOTU_CTRL_STD_CHANNEL, MOTU_CTRL_NONE, },
//
{"ADAT 1", MOTU_CTRL_STD_CHANNEL, 0x0020, },
{"ADAT 2", MOTU_CTRL_STD_CHANNEL, 0x0024, },
{"ADAT 3", MOTU_CTRL_STD_CHANNEL, 0x0028, },
{"ADAT 4", MOTU_CTRL_STD_CHANNEL, 0x002c, },
{"ADAT 5", MOTU_CTRL_STD_CHANNEL, 0x0030, },
{"ADAT 6", MOTU_CTRL_STD_CHANNEL, 0x0034, },
{"ADAT 7", MOTU_CTRL_STD_CHANNEL, 0x0038, },
{"ADAT 8", MOTU_CTRL_STD_CHANNEL, 0x003c, },
};
const MixerCtrl MixerCtrls_8pre[] = {
{"Mix1/Mix_", "Mix 1 ", "", MOTU_CTRL_STD_MIX, 0x0c20, },
{"Mix2/Mix_", "Mix 2 ", "", MOTU_CTRL_STD_MIX, 0x0c24, },
{"Mix3/Mix_", "Mix 3 ", "", MOTU_CTRL_STD_MIX, 0x0c28, },
{"Mix4/Mix_", "Mix 4 ", "", MOTU_CTRL_STD_MIX, 0x0c2c, },
/* For phones source control, "register" is currently unused */
{"Control/Phones_", "Phones source", "", MOTU_CTRL_PHONES_SRC, 0},
/* For optical mode controls, the "register" is used to indicate direction */
{"Control/OpticalIn_mode", "Optical input mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_IN},
{"Control/OpticalOut_mode", "Optical output mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_OUT},
};
const MixerCtrl MixerCtrls_828Mk1[] = {
/* For optical mode controls, the "register" is used to indicate direction */
{"Control/OpticalIn_mode", "Optical input mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_IN},
{"Control/OpticalOut_mode", "Optical output mode ", "", MOTU_CTRL_OPTICAL_MODE, MOTU_CTRL_DIR_OUT},
};
const MotuMixer Mixer_Traveler = MOTUMIXER(
MixerCtrls_Traveler, MixerBuses_Traveler, MixerChannels_Traveler);
const MotuMixer Mixer_Ultralite = MOTUMIXER(
MixerCtrls_Ultralite, MixerBuses_Ultralite, MixerChannels_Ultralite);
const MotuMixer Mixer_828Mk2 = MOTUMIXER(
MixerCtrls_828Mk2, MixerBuses_828Mk2, MixerChannels_828Mk2);
const MotuMixer Mixer_896HD = MOTUMIXER(
MixerCtrls_896HD, MixerBuses_896HD, MixerChannels_896HD);
const MotuMixer Mixer_8pre = MOTUMIXER(
MixerCtrls_8pre, MixerBuses_8pre, MixerChannels_8pre);
// Since we don't have channel or bus lists yet, the mixer definition for
// the 828Mk1 must be done without the use of the MOTUMIXER() macro.
const MotuMixer Mixer_828Mk1 = {
MixerCtrls_828Mk1, N_ELEMENTS(MixerCtrls_828Mk1),
NULL, 0, NULL, 0};
}
|