r3246 - trunk/libminisip/source/subsystem_media/soundcard
erik at minisip.org
erik at minisip.org
Fri Mar 16 13:13:08 CET 2007
Author: erik
Date: 2007-03-16 13:13:07 +0100 (Fri, 16 Mar 2007)
New Revision: 3246
Modified:
trunk/libminisip/source/subsystem_media/soundcard/SoundSource.cxx
Log:
* libmisip, bug fix: The audio jitter buffer had a bug if more than 20ms
of audio was received in per RTP packet.
If a packet contains 30ms, and we call the first 10 ms A, the middle
10ms B, and the last 10 ms C, then the processing resulted in the
following:
RTP{[ABC]} -> jitterbuffer{[ABA]}
This bug was found and fixed by Philippe Torrelli.
Modified: trunk/libminisip/source/subsystem_media/soundcard/SoundSource.cxx
===================================================================
--- trunk/libminisip/source/subsystem_media/soundcard/SoundSource.cxx 2007-03-13 01:12:23 UTC (rev 3245)
+++ trunk/libminisip/source/subsystem_media/soundcard/SoundSource.cxx 2007-03-16 12:13:07 UTC (rev 3246)
@@ -176,6 +176,7 @@
temp[ tempVal ] = samples[i];
}
writeRet = cbuff->write( temp, cur * 2, true );
+ samples += cur;
nSamples -= cur;
}
}
More information about the Minisip-devel
mailing list