}
}
+ 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:
#include "channelmap.h"
#include "HDSPMixerWindow.h"
+/* temporary workaround until hdsp.h (HDSP_IO_Type gets fixed */
+#ifndef RPM
+# define RPM 5
+#endif
+
class HDSPMixerWindow;
class HDSPMixerCard
"SP.L", "SP.R"
};
+static char const *labels_rpm_output[6] = {
+ "Main L", "Main R", "Mon L", "Mon R", "PH L", "PH R"
+};
+
+static char const *labels_rpm_input[5] = {
+ "Phono 1.L", "Phono 1.R",
+ "Phono 2.L", "Phono 2.R",
+ "Mic"
+};
static char const *labels_aio_ss_input[14] = {
"AN 1", "AN 2",
labels_input = labels_playback = labels_mf_ss;
return;
};
+
+ if (type == RPM) {
+ labels_input = labels_rpm_input;
+ labels_playback = labels_rpm_output;
+ return;
+ };
if (type == Digiface || type == H9652) {
if (sm)
"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",
/* should never happen */
break;
}
+ } else if (type == RPM) {
+ max_dest = 3;
+ destinations = destinations_rpm;
} else if (type == H9652) {
switch (sm) {
case 0:
maxdest[0] = 14;
maxdest[1] = 8;
break;
+ case RPM:
+ chnls[0] = chnls[1] = 6;
+ maxdest[0] = maxdest[1] = 3;
+ break;
case H9652:
chnls[0] = 26;
chnls[1] = 14;
0, 2, 8, 10, 16, 18, 24, 26
};
+/* RPM */
+char dest_map_rpm[3] = {
+ 0, 2, 4
+};
+
+char channel_map_rpm[26] = {
+ 0, 1, 2, 3, 4, 5, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1
+};
+
// HDSP 9652
char dest_map_h9652_ss[13] = {
extern char dest_map_ds[8];
+// RPM
+
+extern char dest_map_rpm[3];
+extern char channel_map_rpm[26];
+
// HDSP 9652
extern char dest_map_h9652_ss[13];
printf("Digiface found!\n");
hdsp_cards[cards] = new HDSPMixerCard(Digiface, card, shortname);
cards++;
+ } else if (!strncmp(name, "RME Hammerfall DSP + RPM", 24)) {
+ printf("RPM found!\n");
+ hdsp_cards[cards] = new HDSPMixerCard(RPM, card, shortname);
+ cards++;
} else if (!strncmp(name, "RME Hammerfall HDSP 9652", 24)) {
printf("HDSP 9652 found!\n");
hdsp_cards[cards] = new HDSPMixerCard(H9652, card, shortname);