diff options
author | David Vossel <dvossel@digium.com> | 2011-06-30 20:33:15 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2011-06-30 20:33:15 +0000 |
commit | 1339a0a535f42ae51577aa01cfffc5f086915740 (patch) | |
tree | afcca011f073934d3bf0b6e94b9ca2f326b265ad /include/asterisk/dsp.h | |
parent | c81556d8ef7500fbc092637512f1e337933acbc6 (diff) |
Video support for ConfBridge.
Review: https://reviewboard.asterisk.org/r/1288/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@325931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/dsp.h')
-rw-r--r-- | include/asterisk/dsp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/dsp.h b/include/asterisk/dsp.h index 79e4da695..333415200 100644 --- a/include/asterisk/dsp.h +++ b/include/asterisk/dsp.h @@ -109,6 +109,11 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, number of seconds of silence */ int ast_dsp_silence(struct ast_dsp *dsp, struct ast_frame *f, int *totalsilence); +/*! \brief Return non-zero if this is silence. Updates "totalsilence" with the total + number of seconds of silence. Returns the average energy of the samples in the frame + in frames_energy variable. */ +int ast_dsp_silence_with_energy(struct ast_dsp *dsp, struct ast_frame *f, int *totalsilence, int *frames_energy); + /*! * \brief Return non-zero if this is noise. Updates "totalnoise" with the total * number of seconds of noise |