Opened 11 years ago

Closed 20 months ago

#532 closed enhancement (wontfix)

Avoid truncated calculation of samples per frame on some 'odd' clock rates.

Reported by: nanang Owned by: nanang
Priority: normal Milestone: Known-Issues-and-Ideas
Component: pjmedia Version: trunk
Keywords: Cc: Fan-Cheng, Wu
Backport to 1.x milestone: Backported: no

Description

Sample cases:

  1. On clock rate 11025, when ptime is set to 10ms, number of samples per frame will be 110.25 which will be truncated to 110.
  2. When a port, which works on clock rate 11025Hz ptime 40ms (which is safe from truncation), is added to a conference bridge that works on clock rate 16000Hz ptime 10ms, the conference will need to resample a frame of 10ms from the port, which can cause truncation.

This may also happen in clock rate 22050Hz.

Change History (2)

comment:1 Changed 11 years ago by bennylp

  • Milestone changed from release-0.9.0 to Known-Issues

comment:2 Changed 20 months ago by nanang

  • Backported unset
  • Cc Fan-Cheng Wu added; Fan-Cheng Wu removed
  • Resolution set to wontfix
  • Status changed from new to closed

TeluuCon? 2018: only applicable to PCM

Note: See TracTickets for help on using tickets.