Commit 2fc3c841 authored by aymeric's avatar aymeric
Browse files

Prefer this for sound card that deliver data irregularly.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@579 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent c3307b7b
......@@ -107,7 +107,7 @@ static void speex_ec_process(MSFilter *f){
ms_bufferizer_put(&s->in[0],m);
}
if (s->size_delay<s->playback_delay)
if (s->size_delay<=s->playback_delay)
{
/* make sure we always send block with same size */
while (ms_bufferizer_get_avail(&s->speak_delay)>=nbytes)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment