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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Apr 22 17:00:26 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-22-2008 17:00 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?)
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 04-22-08 17:00  
---------------------------------------------------------------------- 
I think this makes sense to me.  It isn't that it would be getting data
from 10 channels at once, it's that it would be getting it every 10ms
(rather than 1ms).

If I'm understanding it correctly, ZT_CHUNKTIME would be the number of
samples that exist in one chunk. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-22-08 17:00  qwell          Note Added: 0085861                          
======================================================================




More information about the asterisk-bugs mailing list