diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-10-12 11:36:06 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-10-12 11:36:06 -0500 |
commit | 8b58db0962bea3ba62da202f452cde5a20e201eb (patch) | |
tree | a4418e36671fcd1b81012c74eb99b31318e934f1 /include/asterisk/channel.h | |
parent | c44456db9d7b4791ad10fe714ff2d0b3f032a62d (diff) | |
parent | c4558236573ac599e6664c47e4db19d8a8eb953e (diff) |
Merge "Binaural synthesis (confbridge): interleaved two-channel audio."
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 3293dd77b..df752c902 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -2017,6 +2017,16 @@ int ast_set_write_format_from_cap(struct ast_channel *chan, struct ast_format_ca int ast_set_write_format(struct ast_channel *chan, struct ast_format *format); /*! + * \brief Sets write format for a channel. + * All internal data will than be handled in an interleaved format. (needed by binaural opus) + * + * \param chan channel to change + * \param format format to set for writing + * \return Returns 0 on success, -1 on failure + */ +int ast_set_write_format_interleaved_stereo(struct ast_channel *chan, struct ast_format *format); + +/*! * \brief Sends text to a channel * * \param chan channel to act upon |