From 355e9cde12b76b0433018f98652cff4aa96b0be8 Mon Sep 17 00:00:00 2001 From: jkdevito Date: Thu, 2 Nov 2023 11:55:48 -0500 Subject: [PATCH] chore(wip): save updates --- .../Essentials_DM/Chassis/HdPsXxxController.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/essentials-framework/Essentials DM/Essentials_DM/Chassis/HdPsXxxController.cs b/essentials-framework/Essentials DM/Essentials_DM/Chassis/HdPsXxxController.cs index f676c80c..9a2a17f4 100644 --- a/essentials-framework/Essentials DM/Essentials_DM/Chassis/HdPsXxxController.cs +++ b/essentials-framework/Essentials DM/Essentials_DM/Chassis/HdPsXxxController.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; +using System.Runtime.InteropServices; using Crestron.SimplSharpPro; using Crestron.SimplSharpPro.DeviceSupport; using Crestron.SimplSharpPro.DM; @@ -207,6 +208,14 @@ namespace PepperDash_Essentials_DM.Chassis VideoOutputRouteFeedbacks.Add(new IntFeedback(index.ToString(CultureInfo.InvariantCulture), () => output.VideoOutFeedback == null ? 0 : (int)output.VideoOutFeedback.Number)); + + var audioKey = string.Format("audioOut{0}", index); + var audioPort = new RoutingOutputPort(audioKey, eRoutingSignalType.Audio, eRoutingPortConnectionType.DigitalAudio, + output, this) + { + FeedbackMatchObject = output, + Port = output.OutputPort.AudioOutput; + }; } _chassis.DMOutputChange += _chassis_OutputChange;