diff options
author | David Vossel <dvossel@digium.com> | 2011-04-21 18:11:40 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2011-04-21 18:11:40 +0000 |
commit | 7f23115ad2faeee58865afbec6bc11a43210fde7 (patch) | |
tree | 3be8de1bbbce5eb12a63028caa39167d69b54e96 /include/asterisk/channel.h | |
parent | b8f253161b0bc60953fdd5a82b495dd0ddbf61a3 (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: https://origsvn.digium.com/svn/asterisk/trunk@314598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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) */ |