[Asterisk-cvs] asterisk/include/asterisk frame.h,1.30,1.31
markster at lists.digium.com
markster at lists.digium.com
Sun Mar 14 13:07:34 CST 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv6781/include/asterisk
Modified Files:
frame.h
Log Message:
Try to make smoother G.729B aware, and able to handle VAD bytes
Index: frame.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/frame.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- frame.h 13 Mar 2004 03:52:14 -0000 1.30
+++ frame.h 14 Mar 2004 18:01:29 -0000 1.31
@@ -210,6 +210,8 @@
/*! Indicate CALL_PROCEEDING or PROGRESS */
#define AST_CONTROL_PROGRESS 14
+#define AST_SMOOTHER_FLAG_G729 (1 << 0)
+
/* Option identifiers and flags */
#define AST_OPTION_FLAG_REQUEST 0
#define AST_OPTION_FLAG_ACCEPT 1
@@ -345,6 +347,8 @@
struct ast_smoother;
extern struct ast_smoother *ast_smoother_new(int bytes);
+extern void ast_smoother_set_flags(struct ast_smoother *smoother, int flags);
+extern int ast_smoother_get_flags(struct ast_smoother *smoother);
extern void ast_smoother_free(struct ast_smoother *s);
extern void ast_smoother_reset(struct ast_smoother *s, int bytes);
extern int ast_smoother_feed(struct ast_smoother *s, struct ast_frame *f);
More information about the svn-commits
mailing list