[Asterisk-cvs] asterisk/include/asterisk channel.h, 1.76, 1.77 translate.h, 1.6, 1.7

markster at lists.digium.com markster at lists.digium.com
Thu Mar 17 15:34:57 CST 2005


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

Modified Files:
	channel.h translate.h 
Log Message:
Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532, #3400)


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- channel.h	4 Mar 2005 06:47:24 -0000	1.76
+++ channel.h	17 Mar 2005 21:30:19 -0000	1.77
@@ -82,8 +82,12 @@
 	const char * const type;
 	const char * const description;
 
+	/*! Bitmap of formats this channel can handle */
 	int capabilities;
 
+	/*! Technology Properties */
+	int properties;
+
 	struct ast_channel *(* const requester)(const char *type, int format, void *data, int *cause);
 
 	int (* const devicestate)(void *data);
@@ -311,6 +315,10 @@
 
 };
 
+/* Channel tech properties: */
+/* Channels have this property if they can accept input with jitter; i.e. most VoIP channels */
+#define AST_CHAN_TP_WANTSJITTER	(1 << 0)	
+
 #define AST_FLAG_DIGITAL	(1 << 0)	/* if the call is a digital ISDN call */
 #define AST_FLAG_DEFER_DTMF	(1 << 1)	/* if dtmf should be deferred */
 #define AST_FLAG_WRITE_INT	(1 << 2)	/* if write should be interrupt generator */

Index: translate.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/translate.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- translate.h	15 Jan 2005 23:48:12 -0000	1.6
+++ translate.h	17 Mar 2005 21:30:19 -0000	1.7
@@ -21,6 +21,7 @@
 #endif
 
 #include <asterisk/frame.h>
+#include <asterisk/plc.h>
 
 /* Declared by individual translators */
 struct ast_translator_pvt;
@@ -103,7 +104,6 @@
  */
 extern struct ast_frame *ast_translate(struct ast_trans_pvt *tr, struct ast_frame *f, int consume);
 
-
 #if defined(__cplusplus) || defined(c_plusplus)
 }
 #endif




More information about the svn-commits mailing list