diff options
author | jmls <jmls@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-04-21 11:27:27 +0000 |
---|---|---|
committer | jmls <jmls@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-04-21 11:27:27 +0000 |
commit | f3be709455a2b44e437d1b05ac1970c75b98facc (patch) | |
tree | 0ab377462883dca1275581d02f2266f58e8fbb02 /include/asterisk/frame.h | |
parent | 1a2a1549db0c0d26158df49131b9e29d027003f7 (diff) |
Added MixMonitorMute manager command
Added a new manager command to mute/unmute MixMonitor audio on a channel.
Added a new feature to audiohooks so that you can mute either read / write
(or both) types of frames - this allows for MixMonitor to mute either side
of the conversation without affecting the conversation itself.
(closes issue #16740)
Reported by: jmls
Review: https://reviewboard.asterisk.org/r/487/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@258190 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/frame.h')
-rw-r--r-- | include/asterisk/frame.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index 68a0c7eb6..0d8d557d2 100644 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -728,6 +728,11 @@ static force_inline int ast_format_rate(format_t format) } } +/*! + * \brief Clear all audio samples from an ast_frame. The frame must be AST_FRAME_VOICE and AST_FORMAT_SLINEAR + */ +int ast_frame_clear(struct ast_frame *frame); + #if defined(__cplusplus) || defined(c_plusplus) } #endif |