Ticket #830 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Echo canceller/suppressor produces tick noises.

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-1.3
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:


Currently there are two known noise sources in echo_common.c:

  • Before the latency buffer ready, pjmedia_echo_playback() doesn't modify the input frame. However, once latency buffer is ready, input frame is modified/replaced by internal pjmedia_delay_buf_put(). This transition causes zero-samples gap somewhere in the early stage of playback.
  • Inappropriate usage of delaybuf in echo_common.c may produce periodic noises when there is sound device clock drift, i.e: capturer works faster than player.


ec_noise_test.c (3.3 KB) - added by nanang 10 years ago.
Test application to reproduce the tick noises.

Change History

Changed 10 years ago by nanang

Test application to reproduce the tick noises.

comment:1 Changed 10 years ago by nanang

In r2757:

  • Fixed noise from EC by keeping the playing frames unmodified pjmedia_delay_buf_put() may modify the input frames and there is a case that the modified frames are not aligned anymore).

comment:2 Changed 10 years ago by nanang

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.