aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/abstract_jb.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-23 16:49:12 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-23 16:49:12 +0000
commit604972725d6443e145cc1344d5b91a94f3a6874d (patch)
tree9df57ec67d82e432a214c23cd83cc42f9889c78f /include/asterisk/abstract_jb.h
parent782273ca463cc47bf63cb11429ce97e49fcac58f (diff)
revert my changes that converted the jb on the channel to be dynamically
allocated. These changes caused crashes when using a channel type that did not support the jitterbuffer. Instead of fixing why it's crashing, I'm going to implement this in a better way next week. The way I did it caused a jitterbuffer to be allocated on every channel where the channel type supported jitterbuffers, even if they were disabled. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35746 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/abstract_jb.h')
-rw-r--r--include/asterisk/abstract_jb.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/asterisk/abstract_jb.h b/include/asterisk/abstract_jb.h
index 8f365a860..014902be8 100644
--- a/include/asterisk/abstract_jb.h
+++ b/include/asterisk/abstract_jb.h
@@ -202,22 +202,16 @@ int ast_jb_read_conf(struct ast_jb_conf *conf, char *varname, char *value);
*
* Called from a channel driver when a channel is created and its jitterbuffer needs
* to be configured.
- *
- * \retval 0 success
- * \retval -1 failure
*/
-int ast_jb_configure(struct ast_channel *chan, const struct ast_jb_conf *conf);
+void ast_jb_configure(struct ast_channel *chan, const struct ast_jb_conf *conf);
/*!
* \brief Copies a channel's jitterbuffer configuration.
* \param chan channel.
* \param conf destination.
- *
- * \retval 0 success
- * \retval -1 failure
*/
-int ast_jb_get_config(const struct ast_channel *chan, struct ast_jb_conf *conf);
+void ast_jb_get_config(const struct ast_channel *chan, struct ast_jb_conf *conf);
#if defined(__cplusplus) || defined(c_plusplus)