public void Assign(MixerSession mixerSession) { assigned = true; assignment = mixerSession; identifier = mixerSession.sessionIdentifier; SetSelectLight(true); SetRecordLight(false); if (faderDef.delta) { parent.SetVolumeIndicator(faderNumber, mixerSession.GetVolume()); } }
public void Assign(MixerSession mixerSession) { assigned = true; assignment = mixerSession; identifier = mixerSession.sessionIdentifier; convertToApplicationPath(identifier); applicationName = mixerSession.label; SetSelectLight(true); SetRecordLight(false); if (faderDef.delta) { parent.SetVolumeIndicator(faderNumber, mixerSession.GetVolume()); } }
public void SetCurve(float _pow) { pow = _pow; steps = calculateSteps(); parent.SetVolumeIndicator(faderNumber, assignment != null ? assignment.GetVolume() : -1); }