diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-08 23:15:54 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-08 23:15:54 +0000 |
commit | 469d4554bdb830e1006ea6f6412bb8e597e257d5 (patch) | |
tree | 9f27c42cf16bd1796d402a5bb067caa8a2f93d27 /include/asterisk | |
parent | 82478d5a62b5199262bbffee5d401411d387d645 (diff) |
Fixes 8khz assumptions
Many calculations assume 8khz is the codec rate. This
is not always the case. This patch only addresses chan_iax.c
and res_rtp_asterisk.c, but I am sure there are other areas
that make this assumption as well.
Review: https://reviewboard.asterisk.org/r/306/
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@205471 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/frame.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index f874643c0..608e95168 100644 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -150,7 +150,7 @@ struct ast_frame { int subclass; /*! Length of data */ int datalen; - /*! Number of 8khz samples in this frame */ + /*! Number of samples in this frame */ int samples; /*! Was the data malloc'd? i.e. should we free it when we discard the frame? */ int mallocd; |