[asterisk-bugs] [Zaptel 0010880]: Make ZT_CHUNKSIZE variable (Again?)

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Oct 5 02:21:52 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10880 
====================================================================== 
Reported By:                0x0b0b
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   10880
Category:                   zaptel (the module)
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Zaptel Version:             1.4.5.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-04-2007 00:02 CDT
Last Modified:              10-05-2007 02:21 CDT
====================================================================== 
Summary:                    Make ZT_CHUNKSIZE variable (Again?)
Description: 
The values of the time constants in zaptel.h should be based on their
sample rate wich is ZT_CHUNKSIZE. If ZT_CHUNKSIZE is left at 8, there is no
effect of patching zaptel to calculate the time values base on it.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010244 Allow modification of ZT_CHUNKSIZE
====================================================================== 

---------------------------------------------------------------------- 
 tzafrir - 10-05-07 02:21  
---------------------------------------------------------------------- 
One small matter of style:

#define CHUNKS_PER_MS (8 / ZT_CHUNKSIZE)

As that 8/ZT_CHUNKSIZE occours too much there. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-05-07 02:21  tzafrir        Note Added: 0071513                          
======================================================================




More information about the asterisk-bugs mailing list