public Band(Band src) { gain = new DoubleParameter(src.gain); q = new DoubleParameter(src.q); freq = new DoubleParameter(src.freq); bandType = new EnumParameter <EQBandType>(src.bandType); }
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); }
public override void CopyValueFrom(Parameter p, bool copyMinMax = true) { EnumParameter <T> src = (EnumParameter <T>)p; this.value = src.value; this.Enabled = src.Enabled; this.MultipleValues = src.MultipleValues; }
public ChannelSend(int index, ChannelType type) { targetIndex = index; targetType = type; level = 0; level.Min = -99; level.Max = 10; on = true; }
public EnumParameter(EnumParameter <T> src) : base(src) { this.value = src.value; }