aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-14 18:01:29 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-14 18:01:29 +0000
commitcc1a0ac3e718a5f5258fe5c2bc2d1ced4112c37d (patch)
tree40ba86e9428680e67d2879de91296324f495e2fe /include
parent7284e352767f97aeefb67e2a4e513fc8c0ef7309 (diff)
Try to make smoother G.729B aware, and able to handle VAD bytes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2421 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h
index bf7844e05..c2409a8da 100755
--- a/include/asterisk/frame.h
+++ b/include/asterisk/frame.h
@@ -210,6 +210,8 @@ struct ast_frame_chain {
/*! 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 @@ extern int ast_best_codec(int fmts);
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);