[Asterisk-cvs] asterisk/include/asterisk frame.h,1.49,1.50

russell at lists.digium.com russell at lists.digium.com
Thu May 12 14:55:08 CDT 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv18412/include/asterisk

Modified Files:
	frame.h 
Log Message:
fixes for the new jitter buffer (bug #4249)


Index: frame.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/frame.h,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- frame.h	21 Apr 2005 06:02:44 -0000	1.49
+++ frame.h	12 May 2005 19:01:03 -0000	1.50
@@ -399,6 +399,12 @@
 /* Shift a codec preference list up or down 65 bytes so that it becomes an ASCII string */
 extern void ast_codec_pref_convert(struct ast_codec_pref *pref, char *buf, size_t size, int right);
 
+/* Gets duration in ms of interpolation frame for a format */
+static inline int ast_codec_interp_len(int format) 
+{ 
+	return (format == AST_FORMAT_ILBC) ? 30 : 20;
+}
+
 #if defined(__cplusplus) || defined(c_plusplus)
 }
 #endif




More information about the svn-commits mailing list