Table of Contents

TryMeasureMaxSampleInterval

Methods
public bool TryMeasureMaxSampleInterval(out double measuredSampleInterval)

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

Parameters
Type Name Description
double measuredSampleInterval
Returns
Type Description
bool

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