Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
a6185618
提交
a6185618
authored
11月 17, 2007
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
set actual default
git-svn-id:
http://svn.openzap.org/svn/openzap/trunk@337
a93c3328-9c30-0410-af19-c9cd2b2d52af
上级
1d06bed6
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
59 行增加
和
30 行删除
+59
-30
pika.conf
libs/freetdm/conf/pika.conf
+28
-29
zap_pika.c
libs/freetdm/src/zap_pika.c
+31
-1
没有找到文件。
libs/freetdm/conf/pika.conf
浏览文件 @
a6185618
...
@@ -8,32 +8,31 @@
...
@@ -8,32 +8,31 @@
;
fxs
-
channel
=>
1
:
0
:
1
-
12
@
default
;
fxs
-
channel
=>
1
:
0
:
1
-
12
@
default
[
default
]
[
default
]
;
rx
-
gain
=>
0
;
rx
-
gain
=>
0
.
00
;
rx
-
agc
-
enabled
=>
0
;
rx
-
agc
-
enabled
=>
false
;
rx
-
agc
-
targetPower
=>
0
;
rx
-
agc
-
targetPower
=> -
15
.
00
;
rx
-
agc
-
minGain
=>
0
;
rx
-
agc
-
minGain
=> -
6
.
00
;
rx
-
agc
-
maxGain
=>
0
;
rx
-
agc
-
maxGain
=>
18
.
00
;
rx
-
agc
-
attackRate
=>
0
;
rx
-
agc
-
attackRate
=>
170
;
rx
-
agc
-
decayRate
=>
0
;
rx
-
agc
-
decayRate
=>
750
;
rx
-
agc
-
speechThreshold
=>
0
;
rx
-
agc
-
speechThreshold
=> -
36
.
00
;
rx
-
vad
-
enabled
=>
0
;
rx
-
vad
-
enabled
=>
false
;
rx
-
vad
-
activationThreshold
=>
0
;
rx
-
vad
-
activationThreshold
=> -
40
.
00
;
rx
-
vad
-
activationDebounceTime
=>
0
;
rx
-
vad
-
activationDebounceTime
=>
72
;
rx
-
vad
-
deactivationThreshold
=>
0
;
rx
-
vad
-
deactivationThreshold
=> -
40
.
00
;
rx
-
vad
-
deactivationDebounceTime
=>
0
;
rx
-
vad
-
deactivationDebounceTime
=>
984
;
rx
-
vad
-
preSpeechBufferSize
=>
0
;
rx
-
vad
-
preSpeechBufferSize
=>
240
;
tx
-
gain
=>
0
;
tx
-
gain
=>
0
.
00
;
tx
-
agc
-
enabled
=>
0
;
tx
-
agc
-
enabled
=>
true
;
tx
-
agc
-
targetPower
=>
0
;
tx
-
agc
-
targetPower
=> -
15
.
00
;
tx
-
agc
-
minGain
=>
0
;
tx
-
agc
-
minGain
=> -
6
.
00
;
tx
-
agc
-
maxGain
=>
0
;
tx
-
agc
-
maxGain
=>
18
.
00
;
tx
-
agc
-
attackRate
=>
0
;
tx
-
agc
-
attackRate
=>
170
;
tx
-
agc
-
decayRate
=>
0
;
tx
-
agc
-
decayRate
=>
750
;
tx
-
agc
-
speechThreshold
=>
0
;
tx
-
agc
-
speechThreshold
=> -
36
.
00
;
ec
-
enabled
=>
0
;
ec
-
doubleTalkerThreshold
=> -
6
.
00
;
ec
-
doubleTalkerThreshold
=>
0
;
ec
-
speechPresentThreshold
=> -
40
.
00
;
ec
-
speechPresentThreshold
=>
0
;
ec
-
echoSuppressionThreshold
=> -
18
.
00
;
ec
-
echoSuppressionThreshold
=>
0
;
ec
-
echoSuppressionEnabled
=>
true
;
ec
-
echoSuppressionEnabled
=>
0
;
ec
-
comfortNoiseEnabled
=>
true
;
ec
-
comfortNoiseEnabled
=>
0
;
ec
-
adaptationModeEnabled
=>
true
;
ec
-
adaptationModeEnabled
=>
0
libs/freetdm/src/zap_pika.c
浏览文件 @
a6185618
...
@@ -912,7 +912,37 @@ zap_status_t pika_init(zap_io_interface_t **zint)
...
@@ -912,7 +912,37 @@ zap_status_t pika_init(zap_io_interface_t **zint)
pika_interface
.
get_alarms
=
pika_get_alarms
;
pika_interface
.
get_alarms
=
pika_get_alarms
;
*
zint
=
&
pika_interface
;
*
zint
=
&
pika_interface
;
zap_log
(
ZAP_LOG_INFO
,
"Dumping Default configs:
\n
"
);
zap_log
(
ZAP_LOG_INFO
,
"rx-gain => %0.2f
\n
"
,
(
float
)
globals
.
record_config
.
gain
);
zap_log
(
ZAP_LOG_INFO
,
"rx-agc-enabled => %s
\n
"
,
globals
.
record_config
.
AGC
.
enabled
?
"true"
:
"false"
);
zap_log
(
ZAP_LOG_INFO
,
"rx-agc-targetPower => %0.2f
\n
"
,
(
float
)
globals
.
record_config
.
AGC
.
targetPower
);
zap_log
(
ZAP_LOG_INFO
,
"rx-agc-minGain => %0.2f
\n
"
,
(
float
)
globals
.
record_config
.
AGC
.
minGain
);
zap_log
(
ZAP_LOG_INFO
,
"rx-agc-maxGain => %0.2f
\n
"
,
(
float
)
globals
.
record_config
.
AGC
.
maxGain
);
zap_log
(
ZAP_LOG_INFO
,
"rx-agc-attackRate => %d
\n
"
,
(
int
)
globals
.
record_config
.
AGC
.
attackRate
);
zap_log
(
ZAP_LOG_INFO
,
"rx-agc-decayRate => %d
\n
"
,
(
int
)
globals
.
record_config
.
AGC
.
decayRate
);
zap_log
(
ZAP_LOG_INFO
,
"rx-agc-speechThreshold => %0.2f
\n
"
,
(
float
)
globals
.
record_config
.
AGC
.
speechThreshold
);
zap_log
(
ZAP_LOG_INFO
,
"rx-vad-enabled => %s
\n
"
,
globals
.
record_config
.
VAD
.
enabled
?
"true"
:
"false"
);
zap_log
(
ZAP_LOG_INFO
,
"rx-vad-activationThreshold => %0.2f
\n
"
,
(
float
)
globals
.
record_config
.
VAD
.
activationThreshold
);
zap_log
(
ZAP_LOG_INFO
,
"rx-vad-activationDebounceTime => %d
\n
"
,
(
int
)
globals
.
record_config
.
VAD
.
activationDebounceTime
);
zap_log
(
ZAP_LOG_INFO
,
"rx-vad-deactivationThreshold => %0.2f
\n
"
,
(
float
)
globals
.
record_config
.
VAD
.
deactivationThreshold
);
zap_log
(
ZAP_LOG_INFO
,
"rx-vad-deactivationDebounceTime => %d
\n
"
,
(
int
)
globals
.
record_config
.
VAD
.
deactivationDebounceTime
);
zap_log
(
ZAP_LOG_INFO
,
"rx-vad-preSpeechBufferSize => %d
\n
"
,
(
int
)
globals
.
record_config
.
VAD
.
preSpeechBufferSize
);
zap_log
(
ZAP_LOG_INFO
,
"tx-gain => %0.2f
\n
"
,
(
float
)
globals
.
play_config
.
gain
);
zap_log
(
ZAP_LOG_INFO
,
"tx-agc-enabled => %s
\n
"
,
globals
.
play_config
.
AGC
.
enabled
?
"true"
:
"false"
);
zap_log
(
ZAP_LOG_INFO
,
"tx-agc-targetPower => %0.2f
\n
"
,
(
float
)
globals
.
play_config
.
AGC
.
targetPower
);
zap_log
(
ZAP_LOG_INFO
,
"tx-agc-minGain => %0.2f
\n
"
,
(
float
)
globals
.
play_config
.
AGC
.
minGain
);
zap_log
(
ZAP_LOG_INFO
,
"tx-agc-maxGain => %0.2f
\n
"
,
(
float
)
globals
.
play_config
.
AGC
.
maxGain
);
zap_log
(
ZAP_LOG_INFO
,
"tx-agc-attackRate => %d
\n
"
,
(
int
)
globals
.
play_config
.
AGC
.
attackRate
);
zap_log
(
ZAP_LOG_INFO
,
"tx-agc-decayRate => %d
\n
"
,
(
int
)
globals
.
play_config
.
AGC
.
decayRate
);
zap_log
(
ZAP_LOG_INFO
,
"tx-agc-speechThreshold => %0.2f
\n
"
,
(
float
)
globals
.
play_config
.
AGC
.
speechThreshold
);
zap_log
(
ZAP_LOG_INFO
,
"ec-doubleTalkerThreshold => %0.2f
\n
"
,
(
float
)
globals
.
ec_config
.
doubleTalkerThreshold
);
zap_log
(
ZAP_LOG_INFO
,
"ec-speechPresentThreshold => %0.2f
\n
"
,
(
float
)
globals
.
ec_config
.
speechPresentThreshold
);
zap_log
(
ZAP_LOG_INFO
,
"ec-echoSuppressionThreshold => %0.2f
\n
"
,
(
float
)
globals
.
ec_config
.
echoSuppressionThreshold
);
zap_log
(
ZAP_LOG_INFO
,
"ec-echoSuppressionEnabled => %s
\n
"
,
globals
.
ec_config
.
echoSuppressionEnabled
?
"true"
:
"false"
);
zap_log
(
ZAP_LOG_INFO
,
"ec-comfortNoiseEnabled => %s
\n
"
,
globals
.
ec_config
.
comfortNoiseEnabled
?
"true"
:
"false"
);
zap_log
(
ZAP_LOG_INFO
,
"ec-adaptationModeEnabled => %s
\n
"
,
globals
.
ec_config
.
adaptationModeEnabled
?
"true"
:
"false"
);
memset
(
&
m
,
0
,
sizeof
(
m
));
memset
(
&
m
,
0
,
sizeof
(
m
));
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论