Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
5e0b3fa0
提交
5e0b3fa0
authored
2月 24, 2014
作者:
Steve Underwood
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixes for things picked up by clang compilation
上级
7682d96b
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
21 行增加
和
3 行删除
+21
-3
sig_tone.c
libs/spandsp/src/sig_tone.c
+18
-0
t31.h
libs/spandsp/src/spandsp/private/t31.h
+1
-1
v17rx.h
libs/spandsp/src/spandsp/v17rx.h
+1
-1
v17rx.c
libs/spandsp/src/v17rx.c
+1
-1
没有找到文件。
libs/spandsp/src/sig_tone.c
浏览文件 @
5e0b3fa0
...
@@ -154,9 +154,15 @@ static const sig_tone_descriptor_t sig_tones[3] =
...
@@ -154,9 +154,15 @@ static const sig_tone_descriptor_t sig_tones[3] =
},
},
&
flat_coeffs
[
NOTCH_COEFF_SET_2280HZ
],
&
flat_coeffs
[
NOTCH_COEFF_SET_2280HZ
],
#if defined(SPANDSP_USE_FIXED_POINT)
13
,
-
30
,
-
30
#else
13
.
0
f
,
13
.
0
f
,
-
30
.
0
f
,
-
30
.
0
f
,
-
30
.
0
f
-
30
.
0
f
#endif
},
},
{
{
/* 2600Hz (e.g. many US protocols) */
/* 2600Hz (e.g. many US protocols) */
...
@@ -176,9 +182,15 @@ static const sig_tone_descriptor_t sig_tones[3] =
...
@@ -176,9 +182,15 @@ static const sig_tone_descriptor_t sig_tones[3] =
},
},
NULL
,
NULL
,
#if defined(SPANDSP_USE_FIXED_POINT)
16
,
-
30
,
-
30
#else
15
.
6
f
,
15
.
6
f
,
-
30
.
0
f
,
-
30
.
0
f
,
-
30
.
0
f
-
30
.
0
f
#endif
},
},
{
{
/* 2400Hz/2600Hz (e.g. SS5 and SS5bis) */
/* 2400Hz/2600Hz (e.g. SS5 and SS5bis) */
...
@@ -198,9 +210,15 @@ static const sig_tone_descriptor_t sig_tones[3] =
...
@@ -198,9 +210,15 @@ static const sig_tone_descriptor_t sig_tones[3] =
},
},
NULL
,
NULL
,
#if defined(SPANDSP_USE_FIXED_POINT)
16
,
-
30
,
-
30
#else
15
.
6
f
,
15
.
6
f
,
-
30
.
0
f
,
-
30
.
0
f
,
-
30
.
0
f
-
30
.
0
f
#endif
}
}
};
};
...
...
libs/spandsp/src/spandsp/private/t31.h
浏览文件 @
5e0b3fa0
...
@@ -140,7 +140,7 @@ typedef struct
...
@@ -140,7 +140,7 @@ typedef struct
/*! \brief True if we are using ECM mode. This is used to select HDLC faking, necessary
/*! \brief True if we are using ECM mode. This is used to select HDLC faking, necessary
with clunky class 1 modems. */
with clunky class 1 modems. */
bool
ecm_mode
;
int
ecm_mode
;
/*! \brief Counter for trailing non-ECM bytes, used to flush out the far end's modem. */
/*! \brief Counter for trailing non-ECM bytes, used to flush out the far end's modem. */
int
non_ecm_trailer_bytes
;
int
non_ecm_trailer_bytes
;
...
...
libs/spandsp/src/spandsp/v17rx.h
浏览文件 @
5e0b3fa0
...
@@ -241,7 +241,7 @@ SPAN_DECLARE(v17_rx_state_t *) v17_rx_init(v17_rx_state_t *s, int bit_rate, put_
...
@@ -241,7 +241,7 @@ SPAN_DECLARE(v17_rx_state_t *) v17_rx_init(v17_rx_state_t *s, int bit_rate, put_
\param bit_rate The bit rate of the modem. Valid values are 7200, 9600, 12000 and 14400.
\param bit_rate The bit rate of the modem. Valid values are 7200, 9600, 12000 and 14400.
\param short_train True if a short training sequence is expected.
\param short_train True if a short training sequence is expected.
\return 0 for OK, -1 for bad parameter */
\return 0 for OK, -1 for bad parameter */
SPAN_DECLARE
(
int
)
v17_rx_restart
(
v17_rx_state_t
*
s
,
int
bit_rate
,
bool
short_train
);
SPAN_DECLARE
(
int
)
v17_rx_restart
(
v17_rx_state_t
*
s
,
int
bit_rate
,
int
short_train
);
/*! Release a V.17 modem receive context.
/*! Release a V.17 modem receive context.
\brief Release a V.17 modem receive context.
\brief Release a V.17 modem receive context.
...
...
libs/spandsp/src/v17rx.c
浏览文件 @
5e0b3fa0
...
@@ -1392,7 +1392,7 @@ SPAN_DECLARE(logging_state_t *) v17_rx_get_logging_state(v17_rx_state_t *s)
...
@@ -1392,7 +1392,7 @@ SPAN_DECLARE(logging_state_t *) v17_rx_get_logging_state(v17_rx_state_t *s)
}
}
/*- End of function --------------------------------------------------------*/
/*- End of function --------------------------------------------------------*/
SPAN_DECLARE
(
int
)
v17_rx_restart
(
v17_rx_state_t
*
s
,
int
bit_rate
,
bool
short_train
)
SPAN_DECLARE
(
int
)
v17_rx_restart
(
v17_rx_state_t
*
s
,
int
bit_rate
,
int
short_train
)
{
{
int
i
;
int
i
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论