Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
b453c2fd
提交
b453c2fd
authored
4月 20, 2012
作者:
Giovanni Maruzzelli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
gsmopen: reporting git version of files in logging
上级
470005fc
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
3 行删除
+8
-3
Makefile
src/mod/endpoints/mod_gsmopen/Makefile
+1
-2
Makefile.am
src/mod/endpoints/mod_gsmopen/Makefile.am
+1
-1
gsmopen.h
src/mod/endpoints/mod_gsmopen/gsmopen.h
+6
-0
没有找到文件。
src/mod/endpoints/mod_gsmopen/Makefile
浏览文件 @
b453c2fd
MODNAME
=
mod_gsmopen
MODNAME
=
mod_gsmopen
SVNDEF
:=
-D
'GSMOPEN_SVN_VERSION="
$(
shell
svnversion -n .
)
"'
LOCAL_CFLAGS
+=
-I
../../../../libs/spandsp/src
-I
../../../..//libs/tiff-3.8.2/libtiff
-DGSMOPEN_C_VER
=
\"
`
git log
-1
--format
=
"%h"
gsmopen_protocol.cpp
`
\"
-DMODGSMOPEN_C_VER
=
\"
`
git log
-1
--format
=
"%h"
mod_gsmopen.cpp
`
\"
LOCAL_CFLAGS
+=
$(SVNDEF)
-I
../../../../libs/spandsp/src
-I
../../../..//libs/tiff-3.8.2/libtiff
LOCAL_LDFLAGS
=
-L
../../../../libs/spandsp/src
-lspandsp
-lctb-0
.16
-lgsmme
LOCAL_LDFLAGS
=
-L
../../../../libs/spandsp/src
-lspandsp
-lctb-0
.16
-lgsmme
LOCAL_OBJS
=
gsmopen_protocol.o
LOCAL_OBJS
=
gsmopen_protocol.o
include
../../../../build/modmake.rules
include
../../../../build/modmake.rules
src/mod/endpoints/mod_gsmopen/Makefile.am
浏览文件 @
b453c2fd
...
@@ -11,7 +11,7 @@ SPANDSP_LA=$(SPANDSP_BUILDDIR)/src/libspandsp.la
...
@@ -11,7 +11,7 @@ SPANDSP_LA=$(SPANDSP_BUILDDIR)/src/libspandsp.la
mod_LTLIBRARIES
=
mod_gsmopen.la
mod_LTLIBRARIES
=
mod_gsmopen.la
mod_gsmopen_la_SOURCES
=
mod_gsmopen.cpp gsmopen_protocol.cpp
mod_gsmopen_la_SOURCES
=
mod_gsmopen.cpp gsmopen_protocol.cpp
mod_gsmopen_la_CFLAGS
=
$(AM_CFLAGS)
-I
$(SPANDSP_DIR)
/src
-I
$(TIFF_DIR)
/libtiff
-I
$(SPANDSP_BUILDDIR)
/src
-I
$(TIFF_BUILDDIR)
/libtiff
-I
.
-DGSMOPEN_
SVN_VERSION
=
\"
`
cat
$(switch_builddir)
/.version
`
\"
mod_gsmopen_la_CFLAGS
=
$(AM_CFLAGS)
-I
$(SPANDSP_DIR)
/src
-I
$(TIFF_DIR)
/libtiff
-I
$(SPANDSP_BUILDDIR)
/src
-I
$(TIFF_BUILDDIR)
/libtiff
-I
.
-DGSMOPEN_
C_VER
=
\"
`
git log
-1
--format
=
"%h"
gsmopen_protocol.cpp
`
\"
-DMODGSMOPEN_C_VER
=
\"
`
git log
-1
--format
=
"%h"
mod_gsmopen.cpp
`
\"
mod_gsmopen_la_LIBADD
=
$(switch_builddir)
/libfreeswitch.la
$(SPANDSP_LA)
$(TIFF_LA)
mod_gsmopen_la_LIBADD
=
$(switch_builddir)
/libfreeswitch.la
$(SPANDSP_LA)
$(TIFF_LA)
mod_gsmopen_la_LDFLAGS
=
-avoid-version
-module
-no-undefined
-lctb-0
.16
-lgsmme
mod_gsmopen_la_LDFLAGS
=
-avoid-version
-module
-no-undefined
-lctb-0
.16
-lgsmme
...
...
src/mod/endpoints/mod_gsmopen/gsmopen.h
浏览文件 @
b453c2fd
...
@@ -108,6 +108,12 @@
...
@@ -108,6 +108,12 @@
//#define SAMPLERATE_GSMOPEN 16000
//#define SAMPLERATE_GSMOPEN 16000
//#define SAMPLES_PER_FRAME SAMPLERATE_GSMOPEN/50
//#define SAMPLES_PER_FRAME SAMPLERATE_GSMOPEN/50
#ifdef GSMOPEN_C_VER
#ifdef MODGSMOPEN_C_VER
#define GSMOPEN_SVN_VERSION MODGSMOPEN_C_VER"|"GSMOPEN_C_VER
#endif
#endif
#ifndef GSMOPEN_SVN_VERSION
#ifndef GSMOPEN_SVN_VERSION
#define GSMOPEN_SVN_VERSION SWITCH_VERSION_REVISION
#define GSMOPEN_SVN_VERSION SWITCH_VERSION_REVISION
#endif
/* GSMOPEN_SVN_VERSION */
#endif
/* GSMOPEN_SVN_VERSION */
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论