+1
-14
lines changedFilter options
+1
-14
lines changed Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ endforeach()
94
94
95
95
# SRT_ENABLE_ECN 1 /* Early Congestion Notification (for source bitrate control) */
96
96
# SRT_DEBUG_TSBPD_OUTJITTER 1 /* Packet Delivery histogram */
97
-
# SRT_DEBUG_TSBPD_DRIFT 1 /* Debug Encoder-Decoder Drift) */
97
+
# SRT_DEBUG_TRACE_DRIFT 1 /* Create a trace log for Encoder-Decoder Clock Drift */
98
98
# SRT_DEBUG_TSBPD_WRAP 1 /* Debug packet timestamp wraparound */
99
99
# SRT_DEBUG_TLPKTDROP_DROPSEQ 1
100
100
# SRT_DEBUG_SNDQ_HIGHRATE 1
Original file line number Diff line number Diff line change
@@ -816,14 +816,6 @@ void CSndBuffer::increase()
816
816
* m_iMaxPos: none? (modified on add and ack
817
817
*/
818
818
819
-
// XXX Init values moved to in-class.
820
-
// const uint32_t CRcvBuffer::TSBPD_WRAP_PERIOD = (30*1000000); //30 seconds (in usec)
821
-
// const int CRcvBuffer::TSBPD_DRIFT_MAX_VALUE = 5000; // usec
822
-
// const int CRcvBuffer::TSBPD_DRIFT_MAX_SAMPLES = 1000; // ACK-ACK packets
823
-
#ifdef SRT_DEBUG_TSBPD_DRIFT
824
-
// const int CRcvBuffer::TSBPD_DRIFT_PRT_SAMPLES = 200; // ACK-ACK packets
825
-
#endif
826
-
827
819
CRcvBuffer::CRcvBuffer(CUnitQueue* queue, int bufsize_pkts)
828
820
: m_pUnit(NULL)
829
821
, m_iSize(bufsize_pkts)
@@ -842,11 +834,6 @@ CRcvBuffer::CRcvBuffer(CUnitQueue* queue, int bufsize_pkts)
842
834
for (int i = 0; i < m_iSize; ++i)
843
835
m_pUnit[i] = NULL;
844
836
845
-
#ifdef SRT_DEBUG_TSBPD_DRIFT
846
-
memset(m_TsbPdDriftHisto100us, 0, sizeof(m_TsbPdDriftHisto100us));
847
-
memset(m_TsbPdDriftHisto1ms, 0, sizeof(m_TsbPdDriftHisto1ms));
848
-
#endif
849
-
850
837
setupMutex(m_BytesCountLock, "BytesCount");
851
838
}
852
839
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4