Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
corrados committed Nov 21, 2020
1 parent a435961 commit c296542
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@



TODO remove DebugError, TData& operator[](iPos), TData operator[](iPos) const, CVector<TData>& operator=(vecI)

TODO change Clear All Stored Solo Settings to clear Mute as well (#731)

Expand Down
4 changes: 2 additions & 2 deletions src/buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ bool CNetBuf::Put ( const CVector<uint8_t>& vecbyData,
iSeqNumDiff -= 256;
}

// The 1-byte sequence number wraps around at a count of 256. So if a packet is delayed
// The 1-byte sequence number wraps around at a count of 256. So, if a packet is delayed
// further than this we cannot detect it. But it does not matter since such a packet is
// more than 100 ms delayed so we have a bad network situation anyway. Therefore we
// assume that the sequence number difference between the received and local counter is
Expand All @@ -186,7 +186,7 @@ bool CNetBuf::Put ( const CVector<uint8_t>& vecbyData,
if ( iSeqNumDiff < 0 )
{
// the received packet comes too late so we shift the "buffer window" to the past
// until the received packet it the very first packet in the buffer
// until the received packet is the very first packet in the buffer
for ( int i = iSeqNumDiff; i < 0; i++ )
{
// insert an invalid block at the shifted position
Expand Down

0 comments on commit c296542

Please sign in to comment.