diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-04-21 18:11:40 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-04-21 18:11:40 +0000 |
commit | c7b7b920afe4afccb39c7ea3c8d0bd4e56ad41f9 (patch) | |
tree | 3be8de1bbbce5eb12a63028caa39167d69b54e96 /include/asterisk/channel.h | |
parent | c064284e6c7e022570158f7ac3f1b522e411007a (diff) |
New HD ConfBridge conferencing application.
Includes a new highly optimized and customizable
ConfBridge application capable of mixing audio at
sample rates ranging from 8khz-192khz.
Review: https://reviewboard.asterisk.org/r/1147/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@314598 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 88e9db4bb..46039ac85 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -178,6 +178,7 @@ typedef unsigned long long ast_group_t; */ struct ast_generator { void *(*alloc)(struct ast_channel *chan, void *params); + /*! Channel is locked during this function callback. */ void (*release)(struct ast_channel *chan, void *data); /*! This function gets called with the channel unlocked, but is called in * the context of the channel thread so we know the channel is not going @@ -186,6 +187,9 @@ struct ast_generator { int (*generate)(struct ast_channel *chan, void *data, int len, int samples); /*! This gets called when DTMF_END frames are read from the channel */ void (*digit)(struct ast_channel *chan, char digit); + /*! This gets called when the write format on a channel is changed while + * generating. The channel is locked during this callback. */ + void (*write_format_change)(struct ast_channel *chan, void *data); }; /*! Party name character set enumeration values (values from Q.SIG) */ |