[asterisk-bugs] [Zaptel 0010244]: Allow modification of ZT_CHUNKSIZE

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Apr 28 15:12:53 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10244 
====================================================================== 
Reported By:                UVSoft
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   10244
Category:                   General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     feedback
Zaptel Version:              1.2.19  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-20-2007 02:37 CDT
Last Modified:              04-28-2008 15:12 CDT
====================================================================== 
Summary:                    Allow modification of ZT_CHUNKSIZE
Description: 
I've made a patch that makes ZT_CHUNKSIZE variable, thus someone can change
it to whatever he wants. It's very useful, e.g. I'm working on a driver for
some device and the device requires ZT_CHUNKSIZE to be much more, it's hard
for the device to operate with chunks of 8 samples, but 80 will do. The
problem is that there are some pieces of the code, where ZT_CHUNKSIZE is
implied to be 8, and if I just change ZT_CHUNKSIZE to 80, all the timeouts
will become crazy, the patch tries to fix this issue.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010880 Make ZT_CHUNKSIZE variable (Again?)
====================================================================== 

---------------------------------------------------------------------- 
 kpfleming - 04-28-08 15:12  
---------------------------------------------------------------------- 
I think it is fine to have the Zaptel core able to tolerate a chunk size
that is not 8 samples; many drivers will not work properly in that
configuration, but if someone has a driver that does, then Zaptel should be
able to support it.

The most recent patch on this bug seems to be headed in that direction and
if someone wants to bring this up to date against Zaptel branch 1.4 and
test it with the chunk size set to 8 (to verify no regressions) I'll be
happy to review it and move it along. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-28-08 15:12  kpfleming      Note Added: 0086111                          
======================================================================




More information about the asterisk-bugs mailing list