Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1106 closed defect (fixed)

Audio clipping when stream encoded using IPP G722.1 and decoded using pjmedia G722.1

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

Description

It was very noticeable on music streaming, barely noticeable on speech.

The pjmedia G722.1 implementation applies signal adjustment before encoder and after decoder (configurable via PJMEDIA_G7221_DEFAULT_PCM_SHIFT), while IPP's implementation doesn't.

Change History (2)

comment:1 Changed 14 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

(In [3261]) Fix #1106:

  • Added PCM signal adjustment in IPP G722.1 implementation. The default setting is configurable via (the existing compile-time config) PJMEDIA_G7221_DEFAULT_PCM_SHIFT.
  • Added new APIs to get and set IPP codecs settings: pjmedia_codec_ipp_set/get_config(). At run-time, the G722.1 PCM signal adjustment setting can be set using these functions.

comment:2 Changed 14 years ago by nanang

(In [3263]) Re #1106: Reverted back the IPP codec APIs pjmedia_codec_ipp_set/get_config() as currently to set PCM signal level adjustment can be done using the existing G722.1 API pjmedia_codec_g7221_set_pcm_shift().

Note: See TracTickets for help on using tickets.