Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
54d7c13a
提交
54d7c13a
authored
6月 04, 2016
作者:
Piotr Gregor
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-9142 [avmd] Dynamic settings
Add check of per session settings in avmd_callback and init_avmd_session
上级
15d250ed
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
135 行增加
和
226 行删除
+135
-226
avmd_options.h
src/mod/applications/mod_avmd/avmd_options.h
+0
-28
mod_avmd.c
src/mod/applications/mod_avmd/mod_avmd.c
+135
-198
没有找到文件。
src/mod/applications/mod_avmd/avmd_options.h
浏览文件 @
54d7c13a
...
@@ -14,40 +14,12 @@
...
@@ -14,40 +14,12 @@
#define __AVMD_OPTIONS_H__
#define __AVMD_OPTIONS_H__
/* define/undefine this to enable/disable printing of avmd
* intermediate computations to log */
/*#define AVMD_DEBUG*/
/* define/undef this to enable/disable reporting of beep
* detection status after session ended */
#define AVMD_REPORT_STATUS
/* define/undefine this to enable/disable faster computation
/* define/undefine this to enable/disable faster computation
* of arcus cosine - table will be created mapping floats
* of arcus cosine - table will be created mapping floats
* to integers and returning arc cos values given these integer
* to integers and returning arc cos values given these integer
* indices into table */
* indices into table */
/* #define AVMD_FAST_MATH */
/* #define AVMD_FAST_MATH */
/* define/undefine this to classify avmd beep detection as valid
* only when there is required number of consecutive elements
* in the SMA buffer without reset */
#define AVMD_REQUIRE_CONTINUOUS_STREAK
/* define number of samples to skip starting from the beginning
* of the frame and after reset */
#define AVMD_SAMLPE_TO_SKIP_N 6
/* define/undefine this to enable/disable simplified estimation
* of frequency based on approximation of sin(x) with (x)
* in the range x=[0,PI/2] */
#define AVMD_SIMPLIFIED_ESTIMATION
/* define/undefine to enable/disable avmd on internal channel */
/*#define AVMD_INBOUND_CHANNEL*/
/* define/undefine to enable/disable avmd on external channel */
#define AVMD_OUTBOUND_CHANNEL
#endif
/* __AVMD_OPTIONS_H__ */
#endif
/* __AVMD_OPTIONS_H__ */
src/mod/applications/mod_avmd/mod_avmd.c
浏览文件 @
54d7c13a
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论