[asterisk-bugs] [Asterisk 0016912]: [patch] Alignment trap on ARM processor on calculating cost of codec

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 3 10:05:18 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16912 
====================================================================== 
Reported By:                michaelevdokimov
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16912
Category:                   Addons/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-977 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-26 08:40 CST
Last Modified:              2010-03-03 10:05 CST
====================================================================== 
Summary:                    [patch] Alignment trap on ARM processor on
calculating cost of codec
Description: 
Alignment trap on ARM processor on calculating cost of codec
====================================================================== 

---------------------------------------------------------------------- 
 (0118848) michaelevdokimov (reporter) - 2010-03-03 10:05
 https://issues.asterisk.org/view.php?id=16912#c118848 
---------------------------------------------------------------------- 
at file /include/asterisk/sli.h
linear samples are described. Type "uint8_t" is used. However on "ARM"
platform data must be aligned by 2 bytes because at codecs this data is
converted to "uint16_t". So I think type "uint16_t" should be used to
declare this samples. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-03 10:05 michaelevdokimovNote Added: 0118848                          
======================================================================




More information about the asterisk-bugs mailing list