added changelog entry, added test channel

This commit is contained in:
Volker Fischer 2009-09-02 05:47:25 +00:00
parent 976fb0e23d
commit 625181113b
2 changed files with 12 additions and 1 deletions

View file

@ -1,7 +1,10 @@
3.0.2 3.0.2
- fix for Jack Linux audio interface: ports are only once registered and - fix for Jack Linux audio interface: ports are only once registered and
connect when the software is started up connect when the software is started up
- bug fix: under bad network conditions chat messages were randomly repeated
3.0.1 3.0.1
@ -14,6 +17,7 @@
- use low complexity CELT encoder profile, this lowers audio dropout - use low complexity CELT encoder profile, this lowers audio dropout
probability on slow computers probability on slow computers
3.0.0 3.0.0
- introduced new audio codec "CELT", not compatible to old versions - introduced new audio codec "CELT", not compatible to old versions
@ -27,6 +31,7 @@
- various bug fixes (e.g. disconnecting did not work reliably) - various bug fixes (e.g. disconnecting did not work reliably)
2.3.0 2.3.0
- new system sample rate of 33 kHz to improve audio quality, not compatible - new system sample rate of 33 kHz to improve audio quality, not compatible

View file

@ -308,6 +308,12 @@ bool CProtocol::ParseMessage ( const CVector<uint8_t>& vecbyData,
if ( !ParseMessageFrame ( vecbyData, iNumBytes, iRecCounter, iRecID, vecData ) ) if ( !ParseMessageFrame ( vecbyData, iNumBytes, iRecCounter, iRecID, vecData ) )
{ {
/*
// TEST channel implementation: randomly delete protocol messages (50 % loss)
if ( rand() < ( RAND_MAX / 2 ) ) return false;
*/
// In case we received a message and returned an answer but our answer // In case we received a message and returned an answer but our answer
// did not make it to the receiver, he will resend his message. We check // did not make it to the receiver, he will resend his message. We check
// here if the message is the same as the old one, and if this is the // here if the message is the same as the old one, and if this is the