Beispiel #1
0
 public EQ(EQ src)
 {
     eqBands = new ObservableCollection <Band>(src.eqBands.Select(x => new Band(x)));
     on      = new BoolParameter(src.on);
     mix     = new DoubleParameter(src.mix);
     gain    = new DoubleParameter(src.gain);
 }
Beispiel #2
0
 public ChannelSend(ChannelSend src)
 {
     targetIndex = new IntParameter(src.targetIndex);
     targetType  = new EnumParameter <ChannelType>(src.targetType);
     level       = new DoubleParameter(src.level);
     on          = new BoolParameter(src.on);
 }
Beispiel #3
0
        public override void CopyValueFrom(Parameter p, bool copyMinMax = true)
        {
            BoolParameter src = (BoolParameter)p;

            this.value          = src.value;
            this.Enabled        = src.Enabled;
            this.MultipleValues = src.MultipleValues;
        }
Beispiel #4
0
 public ChannelRouting(int index)
 {
     busIndex = index;
     on       = false;
     if (index == -1)
     {
         on = true;
     }
 }
Beispiel #5
0
 public ChannelSend(int index, ChannelType type)
 {
     targetIndex = index;
     targetType  = type;
     level       = 0;
     level.Min   = -99;
     level.Max   = 10;
     on          = true;
 }
Beispiel #6
0
        public Channel(Channel src)
        {
            faderLevel = new DoubleParameter(src.faderLevel);
            on         = new BoolParameter(src.on);
            solo       = new BoolParameter(src.solo);

            scribbleStrip = new ScribbleStrip(src.scribbleStrip);
            selected      = new BoolParameter(src.selected);

            channelIndex = src.channelIndex;
            channelType  = src.channelType;
        }
Beispiel #7
0
 public ChannelRouting(ChannelRouting src)
 {
     busIndex = new IntParameter(src.busIndex);
     on       = new BoolParameter(src.on);
 }
Beispiel #8
0
 public BoolParameter(BoolParameter src) : base(src)
 {
     this.value = src.value;
 }