mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
fix: create sfot codec Routing collections
This commit is contained in:
parent
69e83735b8
commit
4d0e3b1943
1 changed files with 5 additions and 2 deletions
|
|
@ -14,6 +14,9 @@ namespace PepperDash.Essentials.Devices.Common.SoftCodec
|
||||||
{
|
{
|
||||||
public GenericSoftCodec(string key, string name, GenericSoftCodecProperties props) : base(key, name)
|
public GenericSoftCodec(string key, string name, GenericSoftCodecProperties props) : base(key, name)
|
||||||
{
|
{
|
||||||
|
InputPorts = new RoutingPortCollection<RoutingInputPort>();
|
||||||
|
OutputPorts = new RoutingPortCollection<RoutingOutputPort>();
|
||||||
|
|
||||||
for(var i = 1; i <= props.OutputCount; i++)
|
for(var i = 1; i <= props.OutputCount; i++)
|
||||||
{
|
{
|
||||||
var outputPort = new RoutingOutputPort($"{Key}-output{i}", eRoutingSignalType.AudioVideo, eRoutingPortConnectionType.Hdmi, null, this);
|
var outputPort = new RoutingOutputPort($"{Key}-output{i}", eRoutingSignalType.AudioVideo, eRoutingPortConnectionType.Hdmi, null, this);
|
||||||
|
|
@ -41,9 +44,9 @@ namespace PepperDash.Essentials.Devices.Common.SoftCodec
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public RoutingPortCollection<RoutingInputPort> InputPorts => throw new NotImplementedException();
|
public RoutingPortCollection<RoutingInputPort> InputPorts { get; private set; }
|
||||||
|
|
||||||
public RoutingPortCollection<RoutingOutputPort> OutputPorts => throw new NotImplementedException();
|
public RoutingPortCollection<RoutingOutputPort> OutputPorts { get; private set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class GenericSoftCodecProperties
|
public class GenericSoftCodecProperties
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue