We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b64248 commit 5a66978Copy full SHA for 5a66978
1 file changed
Source/Processors/Synchronizer/Synchronizer.cpp
@@ -218,12 +218,21 @@ void SyncStream::syncWith (const SyncStream* mainStream)
218
{
219
actualSampleRate = estimatedActualSampleRate;
220
221
- if (! isSynchronized)
222
-
+ if (std::abs(estimatedGlobalStartTime) < 1.0)
223
224
- globalStartTime = estimatedGlobalStartTime;
225
- isSynchronized = true;
+ if (! isSynchronized)
+
+ {
226
+ globalStartTime = estimatedGlobalStartTime;
227
+ isSynchronized = true;
228
+ }
229
}
230
+ else
231
232
+ //LOGD ("Estimated global start time of ", estimatedGlobalStartTime, " is out of bounds. Ignoring.");
233
234
235
236
237
else
238
0 commit comments