[asterisk-dev] #define SAMPLE_RATE 8000 somewhere ?
Jeffrey C. Ollie
jeff at ocjtech.us
Thu Feb 23 07:38:09 MST 2006
On Thu, 2006-02-23 at 05:50 -0800, Luigi Rizzo wrote:
> it is well know that most of asterisk code
> assumes the sample rate is 8 KHz. However, i think
> the various '8000' (or derived values) hardwired in the code
> should be replaced by some #define to make the code easier
> to read.
Sounds like a great idea to me. Symbolic constants can make the code
much easier to understand.
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20060223/c3470e92/attachment.pgp
More information about the asterisk-dev
mailing list