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

@ -255,6 +255,17 @@ void HDSPMixerCard::adjustSettings() {
}
}
if (type == RPM) {
/* RPM has no digital audio connectors, hence channel mappings don't
* depend on speedmode */
channels_input = 5;
channels_playback = channels_output = 6; /* 2xMain,2xMon,2xPH */
channel_map_input = channel_map_playback = channel_map_rpm;
dest_map = dest_map_rpm;
meter_map_input = meter_map_playback = channel_map_rpm;
}
if (type == H9652) {
switch (speed_mode) {
case 0: