Skip to content

Commit dacb39d

Browse files
committed
Change synchronizer sample rate tolerance to 5%
1 parent 50bdd8b commit dacb39d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Processors/Synchronizer/Synchronizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void SyncStream::syncWith (const SyncStream* mainStream)
284284
//LOGC (streamKey, " estimatedPulseTime: ", estimatedPulseTime);
285285
//LOGC (streamKey, " diff from global time: ", estimatedPulseTime - pulses[localIndex].globalTimestamp);
286286

287-
if (std::abs (estimatedActualSampleRate - expectedSampleRate) / expectedSampleRate < 0.01)
287+
if (std::abs (estimatedActualSampleRate - expectedSampleRate) / expectedSampleRate < 0.05)
288288
{
289289
if (actualSampleRate == -1.0)
290290
{

0 commit comments

Comments
 (0)