diff options
Diffstat (limited to 'jitterbuf.c')
-rwxr-xr-x | jitterbuf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jitterbuf.c b/jitterbuf.c index 431fff8a1..7e6232df0 100755 --- a/jitterbuf.c +++ b/jitterbuf.c @@ -526,11 +526,16 @@ static int _jb_get(jitterbuf *jb, jb_frame *frameout, long now, long interpl) { jb_frame *frame; long diff; + static int dbg_cnt = 0; /*if ((now - jb_next(jb)) > 2 * jb->info.last_voice_ms) jb_warn("SCHED: %ld", (now - jb_next(jb))); */ /* get jitter info */ history_get(jb); + if (dbg_cnt && dbg_cnt % 50 == 0) { + jb_dbg("\n"); + } + dbg_cnt++; /* target */ jb->info.target = jb->info.jitter + jb->info.min + JB_TARGET_EXTRA; |