Opened 10 years ago

Closed 10 years ago

#830 closed defect (fixed)

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:

Description

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.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

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

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