[asterisk-bugs] [Asterisk 0013450]: [patch] Audible clicks when playing a file with header larger than AU_HEADER_SIZE
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Sep 22 17:39:08 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13450
======================================================================
Reported By: jamessan
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13450
Category: Formats/format_pcm
Reproducibility: always
Severity: minor
Priority: normal
Status: confirmed
Asterisk Version: 1.4.21.2
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-09-09 13:11 CDT
Last Modified: 2008-09-22 17:39 CDT
======================================================================
Summary: [patch] Audible clicks when playing a file with
header larger than AU_HEADER_SIZE
Description:
format_pcm.c:check_header ignores the defined header size in the file and
instead simply expects the header to be AU_HEADER_SIZE bytes long. If the
headers are actually longer than that, this causes the audio to "click"
since the rest of the headers are played as part of the file.
I ran across this as sox adds it's own "Processed by SoX" comment to the
header when it transcodes files.
======================================================================
----------------------------------------------------------------------
(0092774) svnbot (reporter) - 2008-09-22 17:39
http://bugs.digium.com/view.php?id=13450#c92774
----------------------------------------------------------------------
Repository: asterisk
Revision: 143903
U branches/1.4/formats/format_pcm.c
------------------------------------------------------------------------
r143903 | seanbright | 2008-09-22 17:39:06 -0500 (Mon, 22 Sep 2008) | 8
lines
Use the advertised header size in .au files instead of just assuming they
are 24 bytes (the minimum).
(closes issue http://bugs.digium.com/view.php?id=13450)
Reported by: jamessan
Patches:
pcm-header.diff uploaded by jamessan (license 246)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=143903
Issue History
Date Modified Username Field Change
======================================================================
2008-09-22 17:39 svnbot Checkin
2008-09-22 17:39 svnbot Note Added: 0092774
======================================================================
More information about the asterisk-bugs
mailing list