fix(cpn): inputs and mixes conversion references (#6751)
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
void ExpoData::convert(RadioDataConversionState & cstate)
|
void ExpoData::convert(RadioDataConversionState & cstate)
|
||||||
{
|
{
|
||||||
cstate.setComponent(tr("INP"), 3);
|
cstate.setComponent(tr("INP"), 3);
|
||||||
cstate.setSubComp(RawSource(SOURCE_TYPE_VIRTUAL_INPUT, chn).toString(cstate.fromModel(), cstate.fromGS(), cstate.fromType) % tr(" (@%1)").arg(cstate.subCompIdx));
|
cstate.setSubComp(RawSource(SOURCE_TYPE_VIRTUAL_INPUT, chn + 1).toString(cstate.fromModel(), cstate.fromGS(), cstate.fromType) % tr(" (@%1)").arg(cstate.subCompIdx));
|
||||||
srcRaw.convert(cstate);
|
srcRaw.convert(cstate);
|
||||||
swtch.convert(cstate);
|
swtch.convert(cstate);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
void MixData::convert(RadioDataConversionState & cstate)
|
void MixData::convert(RadioDataConversionState & cstate)
|
||||||
{
|
{
|
||||||
cstate.setComponent(tr("MIX"), 4);
|
cstate.setComponent(tr("MIX"), 4);
|
||||||
cstate.setSubComp(RawSource(SOURCE_TYPE_CH, destCh-1).toString(cstate.fromModel(), cstate.fromGS(), cstate.fromType) % tr(" (@%1)").arg(cstate.subCompIdx));
|
cstate.setSubComp(RawSource(SOURCE_TYPE_CH, destCh).toString(cstate.fromModel(), cstate.fromGS(), cstate.fromType) % tr(" (@%1)").arg(cstate.subCompIdx));
|
||||||
srcRaw.convert(cstate);
|
srcRaw.convert(cstate);
|
||||||
swtch.convert(cstate);
|
swtch.convert(cstate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user