|
@@ -340,7 +340,7 @@ end:
|
|
}
|
|
}
|
|
|
|
|
|
/* Clock source control for special firmware */
|
|
/* Clock source control for special firmware */
|
|
-static char *const special_clk_labels[] = {
|
|
|
|
|
|
+static const char *const special_clk_labels[] = {
|
|
SND_BEBOB_CLOCK_INTERNAL " with Digital Mute", "Digital",
|
|
SND_BEBOB_CLOCK_INTERNAL " with Digital Mute", "Digital",
|
|
"Word Clock", SND_BEBOB_CLOCK_INTERNAL};
|
|
"Word Clock", SND_BEBOB_CLOCK_INTERNAL};
|
|
static int special_clk_get(struct snd_bebob *bebob, unsigned int *id)
|
|
static int special_clk_get(struct snd_bebob *bebob, unsigned int *id)
|
|
@@ -438,7 +438,7 @@ static struct snd_kcontrol_new special_sync_ctl = {
|
|
};
|
|
};
|
|
|
|
|
|
/* Digital input interface control for special firmware */
|
|
/* Digital input interface control for special firmware */
|
|
-static char *const special_dig_in_iface_labels[] = {
|
|
|
|
|
|
+static const char *const special_dig_in_iface_labels[] = {
|
|
"S/PDIF Optical", "S/PDIF Coaxial", "ADAT Optical"
|
|
"S/PDIF Optical", "S/PDIF Coaxial", "ADAT Optical"
|
|
};
|
|
};
|
|
static int special_dig_in_iface_ctl_info(struct snd_kcontrol *kctl,
|
|
static int special_dig_in_iface_ctl_info(struct snd_kcontrol *kctl,
|
|
@@ -539,7 +539,7 @@ static struct snd_kcontrol_new special_dig_in_iface_ctl = {
|
|
};
|
|
};
|
|
|
|
|
|
/* Digital output interface control for special firmware */
|
|
/* Digital output interface control for special firmware */
|
|
-static char *const special_dig_out_iface_labels[] = {
|
|
|
|
|
|
+static const char *const special_dig_out_iface_labels[] = {
|
|
"S/PDIF Optical and Coaxial", "ADAT Optical"
|
|
"S/PDIF Optical and Coaxial", "ADAT Optical"
|
|
};
|
|
};
|
|
static int special_dig_out_iface_ctl_info(struct snd_kcontrol *kctl,
|
|
static int special_dig_out_iface_ctl_info(struct snd_kcontrol *kctl,
|
|
@@ -631,7 +631,7 @@ end:
|
|
}
|
|
}
|
|
|
|
|
|
/* Hardware metering for special firmware */
|
|
/* Hardware metering for special firmware */
|
|
-static char *const special_meter_labels[] = {
|
|
|
|
|
|
+static const char *const special_meter_labels[] = {
|
|
ANA_IN, ANA_IN, ANA_IN, ANA_IN,
|
|
ANA_IN, ANA_IN, ANA_IN, ANA_IN,
|
|
SPDIF_IN,
|
|
SPDIF_IN,
|
|
ADAT_IN, ADAT_IN, ADAT_IN, ADAT_IN,
|
|
ADAT_IN, ADAT_IN, ADAT_IN, ADAT_IN,
|
|
@@ -671,30 +671,30 @@ end:
|
|
}
|
|
}
|
|
|
|
|
|
/* last 4 bytes are omitted because it's clock info. */
|
|
/* last 4 bytes are omitted because it's clock info. */
|
|
-static char *const fw410_meter_labels[] = {
|
|
|
|
|
|
+static const char *const fw410_meter_labels[] = {
|
|
ANA_IN, DIG_IN,
|
|
ANA_IN, DIG_IN,
|
|
ANA_OUT, ANA_OUT, ANA_OUT, ANA_OUT, DIG_OUT,
|
|
ANA_OUT, ANA_OUT, ANA_OUT, ANA_OUT, DIG_OUT,
|
|
HP_OUT
|
|
HP_OUT
|
|
};
|
|
};
|
|
-static char *const audiophile_meter_labels[] = {
|
|
|
|
|
|
+static const char *const audiophile_meter_labels[] = {
|
|
ANA_IN, DIG_IN,
|
|
ANA_IN, DIG_IN,
|
|
ANA_OUT, ANA_OUT, DIG_OUT,
|
|
ANA_OUT, ANA_OUT, DIG_OUT,
|
|
HP_OUT, AUX_OUT,
|
|
HP_OUT, AUX_OUT,
|
|
};
|
|
};
|
|
-static char *const solo_meter_labels[] = {
|
|
|
|
|
|
+static const char *const solo_meter_labels[] = {
|
|
ANA_IN, DIG_IN,
|
|
ANA_IN, DIG_IN,
|
|
STRM_IN, STRM_IN,
|
|
STRM_IN, STRM_IN,
|
|
ANA_OUT, DIG_OUT
|
|
ANA_OUT, DIG_OUT
|
|
};
|
|
};
|
|
|
|
|
|
/* no clock info */
|
|
/* no clock info */
|
|
-static char *const ozonic_meter_labels[] = {
|
|
|
|
|
|
+static const char *const ozonic_meter_labels[] = {
|
|
ANA_IN, ANA_IN,
|
|
ANA_IN, ANA_IN,
|
|
STRM_IN, STRM_IN,
|
|
STRM_IN, STRM_IN,
|
|
ANA_OUT, ANA_OUT
|
|
ANA_OUT, ANA_OUT
|
|
};
|
|
};
|
|
/* TODO: need testers. these positions are based on authour's assumption */
|
|
/* TODO: need testers. these positions are based on authour's assumption */
|
|
-static char *const nrv10_meter_labels[] = {
|
|
|
|
|
|
+static const char *const nrv10_meter_labels[] = {
|
|
ANA_IN, ANA_IN, ANA_IN, ANA_IN,
|
|
ANA_IN, ANA_IN, ANA_IN, ANA_IN,
|
|
DIG_IN,
|
|
DIG_IN,
|
|
ANA_OUT, ANA_OUT, ANA_OUT, ANA_OUT,
|
|
ANA_OUT, ANA_OUT, ANA_OUT, ANA_OUT,
|