From 4fc4098a76ee668f2d3535d0becc1a9b02519c0b Mon Sep 17 00:00:00 2001 From: dvossel Date: Wed, 8 Jul 2009 23:19:09 +0000 Subject: Merged revisions 205471 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r205471 | dvossel | 2009-07-08 18:15:54 -0500 (Wed, 08 Jul 2009) | 10 lines 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/trunk@205479 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/frame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/frame.h') diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index 56d76d927..c2022d683 100644 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -151,7 +151,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; -- cgit v1.2.3