mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
added IDspPreset Interface
Implemented IDspPreset Interface on internal Tesira DSP Resolves #457
This commit is contained in:
parent
f95b50c99d
commit
1484c26434
4 changed files with 21 additions and 4 deletions
|
|
@ -296,8 +296,13 @@ namespace PepperDash.Essentials.Devices.Common.DSP
|
|||
|
||||
if(!CommandQueueInProgress)
|
||||
SendNextQueuedCommand();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public override void RunPreset(int data)
|
||||
{
|
||||
SendLine(String.Format("Device recallPreset {0}", data ));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds a raw string command to the queue
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ using PepperDash.Essentials.Core;
|
|||
|
||||
namespace PepperDash.Essentials.Devices.Common.DSP
|
||||
{
|
||||
public abstract class DspBase : EssentialsDevice
|
||||
public abstract class DspBase : EssentialsDevice, IDspPreset
|
||||
{
|
||||
public Dictionary<string, DspControlPoint> LevelControlPoints { get; private set; }
|
||||
|
||||
|
|
@ -17,7 +17,9 @@ namespace PepperDash.Essentials.Devices.Common.DSP
|
|||
|
||||
public Dictionary<string, DspControlPoint> SwitcherControlPoints { get; private set; }
|
||||
|
||||
public abstract void RunPreset(string name);
|
||||
public abstract void RunPreset(string name);
|
||||
|
||||
public abstract void RunPreset(int data);
|
||||
|
||||
public DspBase(string key, string name) :
|
||||
base(key, name) { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue