[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
Wed Sep 10 08:39:57 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:                     new
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-10 08: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.
====================================================================== 

---------------------------------------------------------------------- 
 (0092298) blitzrage (administrator) - 2008-09-10 08:39
 http://bugs.digium.com/view.php?id=13450#c92298 
---------------------------------------------------------------------- 
Patch attached requires code review by a developer. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-10 08:39 blitzrage      Note Added: 0092298                          
======================================================================




More information about the asterisk-bugs mailing list