File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -717,6 +717,8 @@ bool RecordNode::isSynchronized()
717717 {
718718 SyncStatus status = synchronizer.getStatus (stream->getKey ());
719719
720+ LOGD (stream->getKey (), " sync status: " , status);
721+
720722 if (status != SYNCED && status != HARDWARE_SYNCED && status != HARP_CLOCK)
721723 return false ;
722724 }
Original file line number Diff line number Diff line change @@ -954,13 +954,13 @@ bool Synchronizer::isHarpStream (String streamKey)
954954
955955SyncStatus Synchronizer::getStatus (String streamKey)
956956{
957+
958+ if (streamGeneratesTimestamps (streamKey))
959+ return SyncStatus::HARDWARE_SYNCED;
957960
958961 if (streams.count (streamKey) == 0 || ! streamKey.length () || ! acquisitionIsActive)
959962 return SyncStatus::OFF;
960963
961- if (streamGeneratesTimestamps (streamKey))
962- return SyncStatus::HARDWARE_SYNCED;
963-
964964 if (streams[streamKey]->isHarpStream )
965965 {
966966 if (isStreamSynced (streamKey))
You can’t perform that action at this time.
0 commit comments