[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
- Previous message: [Asterisk-cvs] asterisk/codecs codec_adpcm.c, 1.17,
1.18 codec_alaw.c, 1.10, 1.11 codec_g726.c, 1.9,
1.10 codec_gsm.c, 1.16, 1.17 codec_lpc10.c, 1.14,
1.15 codec_speex.c, 1.12, 1.13 codec_ulaw.c, 1.11, 1.12
- Next message: [Asterisk-cvs] asterisk jitterbuf.c,1.8,1.9 jitterbuf.h,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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
- Previous message: [Asterisk-cvs] asterisk/codecs codec_adpcm.c, 1.17,
1.18 codec_alaw.c, 1.10, 1.11 codec_g726.c, 1.9,
1.10 codec_gsm.c, 1.16, 1.17 codec_lpc10.c, 1.14,
1.15 codec_speex.c, 1.12, 1.13 codec_ulaw.c, 1.11, 1.12
- Next message: [Asterisk-cvs] asterisk jitterbuf.c,1.8,1.9 jitterbuf.h,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list