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

Modified Files:
        frame.h 
Log Message:
Add remainder of rtp fixes, iax2 patch (bug #3961)


Index: frame.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/frame.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- frame.h     12 May 2005 19:01:03 -0000      1.50
+++ frame.h     14 May 2005 23:57:44 -0000      1.51
@@ -399,6 +399,9 @@
 /* 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);
 
+/* Returns the number of samples contained in the frame */
+extern int ast_codec_get_samples(struct ast_frame *f);
+
 /* Gets duration in ms of interpolation frame for a format */
 static inline int ast_codec_interp_len(int format) 
 { 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to