Table of Contents

TryMeasureMaxSampleDuration

Methods
public bool TryMeasureMaxSampleDuration(out double measuredSampleDuration)

Calculates the maximum duration between two samples frames in the last Coherence.Interpolation.SampleBuffer`1.sampleCountForMeasuringDuration samples. It also stops measuring when it reaches a stopped sample. Used for measuring real SampleRate.

Parameters
Type Name Description
double measuredSampleDuration
Returns
Type Description
bool

True if there are enough samples to measure the duration, with measuredSampleDuration set to maximum duration between two adjecent samples.