Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
576766cb
提交
576766cb
authored
6月 20, 2007
作者:
Michael Jerris
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add bufinfo
git-svn-id:
http://svn.openzap.org/svn/openzap/trunk@276
a93c3328-9c30-0410-af19-c9cd2b2d52af
上级
99b76622
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
14 行增加
和
2 行删除
+14
-2
zap_zt.h
libs/freetdm/src/include/zap_zt.h
+14
-2
没有找到文件。
libs/freetdm/src/include/zap_zt.h
浏览文件 @
576766cb
...
...
@@ -131,6 +131,16 @@ struct zt_chanconfig {
char
netdev_name
[
16
];
/* name for the hdlc network device */
};
struct
zt_bufferinfo
{
/* used in ZT_SET_BUFINFO and ZT_GET_BUFINFO */
int
txbufpolicy
;
/* Policy for handling receive buffers */
int
rxbufpolicy
;
/* Policy for handling receive buffers */
int
numbufs
;
/* How many buffers to use */
int
bufsize
;
/* How big each buffer is */
int
readbufs
;
/* How many read buffers are full (read-only) */
int
writebufs
;
/* How many write buffers are full (read-only) */
};
/* Enumerations */
/* Values in zt_params structure for member g711_type */
...
...
@@ -238,8 +248,10 @@ ZT_SIG_EM = (1 << 6) /* E&M */
#define ZT_GETGAINS _IOWR (ZT_CODE, 16, struct zt_gains)
/* Get Channel audio gains */
#define ZT_SETGAINS _IOWR (ZT_CODE, 17, struct zt_gains)
/* Set Channel audio gains */
#define ZT_SPANCONFIG _IOW (ZT_CODE, 18, struct zt_lineconfig)
/*Set Line (T1) Configurations and start system */
#define ZT_CHANCONFIG _IOW (ZT_CODE, 19, struct zt_chanconfig)
/* Set Channel Configuration */
#define ZT_SPANCONFIG _IOW (ZT_CODE, 18, struct zt_lineconfig)
/* Set Line (T1) Configurations and start system */
#define ZT_CHANCONFIG _IOW (ZT_CODE, 19, struct zt_chanconfig)
/* Set Channel Configuration */
#define ZT_SET_BUFINFO _IOW (ZT_CODE, 27, struct zt_bufferinfo)
/* Set buffer policy */
#define ZT_GET_BUFINFO _IOR (ZT_CODE, 28, struct zt_bufferinfo)
/* Get current buffer info */
#define ZT_AUDIOMODE _IOW (ZT_CODE, 32, int)
/* Set a clear channel into audio mode */
#define ZT_ECHOCANCEL _IOW (ZT_CODE, 33, int)
/* Control Echo Canceller */
#define ZT_HDLCRAWMODE _IOW (ZT_CODE, 36, int)
/* Set a clear channel into HDLC w/out FCS checking/calculation mode */
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论