mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-06 01:40:12 -05:00
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:
parent
cb40769c93
commit
53bcd9d16c
8 changed files with 63 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue