[asterisk-bugs] [Asterisk 0017934]: [patch] downsampling slinear16 to slinear (or ulaw or alaw or g729) results in truncation
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Aug 31 17:43:26 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17934
======================================================================
Reported By: palbrecht
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17934
Category: Codecs/General
Reproducibility: always
Severity: minor
Priority: normal
Status: acknowledged
Asterisk Version: 1.6.2.11
JIRA: SWP-2136
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-08-31 13:33 CDT
Last Modified: 2010-08-31 17:43 CDT
======================================================================
Summary: [patch] downsampling slinear16 to slinear (or ulaw
or alaw or g729) results in truncation
Description:
When I translate from AST_FORMAT_SLINEAR16 to AST_FORMAT_SLINEAR the output
frame is truncated, specifically, instead of 160 samples I get 137 samples.
The result is the same for ulaw and alaw. For g729, the output is truncated
to 80 samples.
======================================================================
----------------------------------------------------------------------
(0126513) qwell (administrator) - 2010-08-31 17:43
https://issues.asterisk.org/view.php?id=17934#c126513
----------------------------------------------------------------------
so, I reversed that test, just because, and it's also wrong (it upconverted
via g722 first, so I had to remove that). Perhaps not very useful, but...
slin16>slin is off by 23 samples (160 - 137)
slin>slin16 is off by 56 samples (320 - 264)
obvious note: 56 is not 23 * 2
Issue History
Date Modified Username Field Change
======================================================================
2010-08-31 17:43 qwell Note Added: 0126513
======================================================================
More information about the asterisk-bugs
mailing list