mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-05 01:40:24 -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
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue