Skip to content

Commit f31453c

Browse files
committed
Remove constraint on global start time required for synchronization
1 parent 327910d commit f31453c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

Source/Processors/Synchronizer/Synchronizer.cpp

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -218,18 +218,11 @@ void SyncStream::syncWith (const SyncStream* mainStream)
218218
{
219219
actualSampleRate = estimatedActualSampleRate;
220220

221-
if (std::abs (estimatedGlobalStartTime) < 0.1)
222-
{
223-
if (! isSynchronized)
221+
if (! isSynchronized)
224222

225-
{
226-
globalStartTime = estimatedGlobalStartTime;
227-
isSynchronized = true;
228-
}
229-
}
230-
else
231223
{
232-
//LOGD ("Estimated global start time of ", estimatedGlobalStartTime, " is out of bounds. Ignoring.")
224+
globalStartTime = estimatedGlobalStartTime;
225+
isSynchronized = true;
233226
}
234227
}
235228
else

0 commit comments

Comments
 (0)