fixes audio source feedback and setting audio source

4kz302C does not support audio breakway routing.
This commit is contained in:
Andrew Welker
2020-05-06 15:35:54 -06:00
parent 2eacaec577
commit f7a41f08c4

View File

@@ -109,7 +109,8 @@ namespace PepperDash.Essentials.DM
});
AudioSourceNumericFeedback = new IntFeedback(() =>
{
return (int)Tx.AudioSourceFeedback;
//Doing this because 4kz302 does not allow for breakaway audio source selection
return (int)Tx.VideoSourceFeedback;
});
HdmiIn1HdcpCapabilityFeedback = new IntFeedback("HdmiIn1HdcpCapability", () =>
@@ -250,7 +251,11 @@ namespace PepperDash.Essentials.DM
// NOTE: It's possible that this particular TX model may not like the AudioSource property being set.
// The SIMPL definition only shows a single analog for AudioVideo Source
if ((signalType | eRoutingSignalType.Audio) == eRoutingSignalType.Audio)
Tx.AudioSource = (eAst)inputSelector;
{
//it doesn't...
Debug.Console(2, this, "Unable to execute audio-only switch for tx {0}", Key);
//Tx.AudioSource = (eAst) inputSelector;
}
}
void InputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)