hdspmixer: Add support for RME RPM

This patch adds support for the RME RPM devices. It's mostly based on
Florian Faber's previous patch against hdspmixer 1.0.23,
forwarded-ported to the current hdspmixer code.

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 2011-07-28 23:45:46 +02:00 committed by Takashi Iwai
parent cb40769c93
commit 53bcd9d16c
8 changed files with 63 additions and 0 deletions

View file

@ -131,6 +131,10 @@ static char const *destinations_df_ds[8] = {
"SPDIF", "Analog"
};
static char const *destinations_rpm[3] = {
"Main", "Mon", "Phones"
};
static char const *destinations_h9652_ss[13] = {
"A1 1+2", "A1 3+4", "A1 5+6", "A1 7+8",
"A2 1+2", "A2 3+4", "A2 5+6", "A2 7+8",
@ -261,6 +265,9 @@ void HDSPMixerSelector::setLabels()
/* should never happen */
break;
}
} else if (type == RPM) {
max_dest = 3;
destinations = destinations_rpm;
} else if (type == H9652) {
switch (sm) {
case 0: