public void OutputLevelNotification(uint numLevels, ref double levels, uint numPeakLevels, ref double peakLevels) { var l = BlackMagicDesignSdk.ConvertDoubleArray(numLevels, ref levels); var p = BlackMagicDesignSdk.ConvertDoubleArray(numPeakLevels, ref peakLevels); _mediator.Publish(new VolumeLevelNotify(_source.Input.Id, _source.Id, numLevels, l, numPeakLevels, p)); }
public void MasterOutLevelNotification(uint numLevels, ref double levels, uint numPeakLevels, ref double peakLevels) { var l = BlackMagicDesignSdk.ConvertDoubleArray(numLevels, ref levels); var p = BlackMagicDesignSdk.ConvertDoubleArray(numPeakLevels, ref peakLevels); _mediator.Publish(new MasterOutLevelNotify(numLevels, l, numPeakLevels, p)); }