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/dsp.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/dsp.h')
-rw-r--r-- | include/asterisk/dsp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/dsp.h b/include/asterisk/dsp.h index 10ada9955..79e4da695 100644 --- a/include/asterisk/dsp.h +++ b/include/asterisk/dsp.h @@ -73,9 +73,19 @@ enum threshold { THRESHOLD_MAX = 1, }; +/*! \brief Allocates a new dsp with a specific internal sample rate used + * during processing. */ +struct ast_dsp *ast_dsp_new_with_rate(unsigned int sample_rate); + +/*! \brief Allocates a new dsp, assumes 8khz for internal sample rate */ struct ast_dsp *ast_dsp_new(void); + void ast_dsp_free(struct ast_dsp *dsp); +/*! \brief Retrieve the sample rate this DSP structure was + * created with */ +unsigned int ast_dsp_get_sample_rate(const struct ast_dsp *dsp); + /*! \brief Set threshold value for silence */ void ast_dsp_set_threshold(struct ast_dsp *dsp, int threshold); |