Beispiel #1
0
        private void AggregatorReportHandler(object sender, SamplesReportEventArgs e)
        {
            var value = Math.Max(e.MaxSample, Math.Abs(e.MinSample)) * 100;

            OnProgressEvent(new RecordingProgressEventArgs {
                VolumeLevelAsPercentage = GetDampedVolumeLevel(value)
            });
        }
Beispiel #2
0
 private void OnReportEvent(SamplesReportEventArgs e)
 {
     ReportEvent?.Invoke(this, e);
 }