hdspmixer: Add support for RME AIO AEB boards

AIO allows to connect Analogue Extension Boards (4in/4out).

Provide those channels in hdspmixer, too.

The channel maps were copied from the driver, hence the changed casing
in the comments.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Adrian Knoth 2014-01-04 21:38:23 +01:00 committed by Takashi Iwai
parent 772fbde91c
commit f3c2688f9d
6 changed files with 96 additions and 74 deletions

View file

@ -81,28 +81,34 @@ static char const *destinations_raydat_qs[6] = {
};
static char const *destinations_aio_ss[8] = {
static char const *destinations_aio_ss[10] = {
"AN 1+2",
"AES",
"SPDIF",
"A 1+2", "A 3+4", "A 5+6", "A 7+8",
"Phones"
"Phones",
"AEB 1+2",
"AEB 3+4"
};
static char const *destinations_aio_ds[6] = {
static char const *destinations_aio_ds[8] = {
"AN 1+2",
"AES",
"SPDIF",
"A 1+2", "A 3+4",
"Phones"
"Phones",
"AEB 1+2",
"AEB 3+4"
};
static char const *destinations_aio_qs[5] = {
static char const *destinations_aio_qs[7] = {
"AN 1+2",
"AES",
"SPDIF",
"A 1+2",
"Phones"
"Phones",
"AEB 1+2",
"AEB 3+4"
};
static char const *destinations_mf_ss[10] = {
@ -318,15 +324,15 @@ void HDSPMixerSelector::setLabels()
} else if (HDSPeAIO == type) {
switch (sm) {
case 0:
max_dest = 8;
max_dest = 10;
destinations = destinations_aio_ss;
break;
case 1:
max_dest = 6;
max_dest = 8;
destinations = destinations_aio_ds;
break;
case 2:
max_dest = 5;
max_dest = 7;
destinations = destinations_aio_qs;
break;
}