Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
2a4cf1f0
提交
2a4cf1f0
authored
7月 10, 2017
作者:
Dragos Oancea
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-10530: [mod_opusfile] new module, read and write ogg/opus files (".opus" extension)
上级
a1740fb6
全部展开
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
542 行增加
和
0 行删除
+542
-0
modules.conf.in
build/modules.conf.in
+1
-0
modules.conf.xml
conf/testing/autoload_configs/modules.conf.xml
+1
-0
modules.conf.xml
conf/vanilla/autoload_configs/modules.conf.xml
+1
-0
configure.ac
configure.ac
+9
-0
control-modules
debian/control-modules
+5
-0
freeswitch.spec
freeswitch.spec
+17
-0
Makefile.am
src/mod/formats/mod_opusfile/Makefile.am
+19
-0
mod_opusfile.c
src/mod/formats/mod_opusfile/mod_opusfile.c
+489
-0
没有找到文件。
build/modules.conf.in
浏览文件 @
2a4cf1f0
...
...
@@ -124,6 +124,7 @@ formats/mod_sndfile
#formats/mod_ssml
formats/mod_tone_stream
#formats/mod_vlc
#formats/mod_opusfile
#languages/mod_basic
#languages/mod_java
languages/mod_lua
...
...
conf/testing/autoload_configs/modules.conf.xml
浏览文件 @
2a4cf1f0
...
...
@@ -26,6 +26,7 @@
<load
module=
"mod_opus"
/>
<load
module=
"mod_sndfile"
/>
<load
module=
"mod_native_file"
/>
<load
module=
"mod_opusfile"
/>
<load
module=
"mod_local_stream"
/>
<load
module=
"mod_tone_stream"
/>
<load
module=
"mod_lua"
/>
...
...
conf/vanilla/autoload_configs/modules.conf.xml
浏览文件 @
2a4cf1f0
...
...
@@ -104,6 +104,7 @@
<!--<load module="mod_av"/>-->
<load
module=
"mod_sndfile"
/>
<load
module=
"mod_native_file"
/>
<!--<load module="mod_opusfile"/>-->
<load
module=
"mod_png"
/>
<!-- <load module="mod_shell_stream"/> -->
<!--For icecast/mp3 streams/files-->
...
...
configure.ac
浏览文件 @
2a4cf1f0
...
...
@@ -1383,6 +1383,14 @@ PKG_CHECK_MODULES([OPENCV], [opencv >= 2.4.5],[
AM_CONDITIONAL([HAVE_OPENCV],[true])],[
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_OPENCV],[false])])
PKG_CHECK_MODULES([OPUSFILE_DECODE], [opusfile >= 0.5],[
AM_CONDITIONAL([HAVE_OPUSFILE_DECODE],[true])],[
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_OPUSFILE_DECODE],[false])])
PKG_CHECK_MODULES([OPUSFILE_ENCODE], [libopusenc >= 0.1],[
AM_CONDITIONAL([HAVE_OPUSFILE_ENCODE],[true])],[
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_OPUSFILE_ENCODE],[false])])
PKG_CHECK_MODULES([MAGICK], [ImageMagick >= 6.0.0],[
AM_CONDITIONAL([HAVE_MAGICK],[true])],[
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_MAGICK],[false])])
...
...
@@ -1893,6 +1901,7 @@ AC_CONFIG_FILES([Makefile
src/mod/formats/mod_imagick/Makefile
src/mod/formats/mod_local_stream/Makefile
src/mod/formats/mod_native_file/Makefile
src/mod/formats/mod_opusfile/Makefile
src/mod/formats/mod_shell_stream/Makefile
src/mod/formats/mod_shout/Makefile
src/mod/formats/mod_sndfile/Makefile
...
...
debian/control-modules
浏览文件 @
2a4cf1f0
...
...
@@ -616,6 +616,11 @@ Module: formats/mod_webm
Description: Adds mod_webm
Adds mod_webm.
Module: formats/mod_opusfile
Description: mod_opusfile
Adds mod_opusfile.
Build-Depends: libopusfile-dev
## mod/languages
Module: languages/mod_basic
...
...
freeswitch.spec
浏览文件 @
2a4cf1f0
...
...
@@ -38,6 +38,7 @@
%define build_mod_rayo 1
%define build_mod_ssml 1
%define build_mod_shout 0
%define build_mod_opusfile 0
%{?with_sang_tc:%define build_sng_tc 1 }
%{?with_sang_isdn:%define build_sng_isdn 1 }
...
...
@@ -46,6 +47,7 @@
%{?with_timerfd:%define build_timerfd 1 }
%{?with_mod_esl:%define build_mod_esl 1 }
%{?with_mod_shout:%define build_mod_shout 1 }
%{?with_mod_opusfile:%define build_mod_opusfile 1 }
%define version 1.7.0
%define release 1
...
...
@@ -1149,6 +1151,18 @@ Mod Shout is a FreeSWITCH module to allow you to stream audio from MP3s or a i
shoutcast stream.
%endif
%if %{build_mod_opusfile}
%package format-mod-opusfile
Summary: Plays Opus encoded files
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: opusfile >= 0.5
BuildRequires: opusfile-devel >= 0.5
%description format-mod-opusfile
Mod Opusfile is a FreeSWITCH module to allow you to play Opus encoded files
%endif
%if %{build_mod_ssml}
%package format-ssml
Summary: Adds Speech Synthesis Markup Language (SSML) parser format for the FreeSWITCH open source telephony platform
...
...
@@ -1537,6 +1551,9 @@ FORMATS_MODULES+=" formats/mod_shout "
%if %{build_mod_ssml}
FORMATS_MODULES+=" formats/mod_ssml"
%endif
%if %{build_mod_opusfile}
FORMATS_MODULES+=" formats/mod_opusfile"
%endif
######################################################################################################################
#
...
...
src/mod/formats/mod_opusfile/Makefile.am
0 → 100644
浏览文件 @
2a4cf1f0
include
$(top_srcdir)/build/modmake.rulesam
MODNAME
=
mod_opusfile
mod_LTLIBRARIES
=
mod_opusfile.la
mod_opusfile_la_SOURCES
=
mod_opusfile.c
mod_opusfile_la_CFLAGS
=
$(AM_CFLAGS)
mod_opusfile_la_LIBADD
=
$(switch_builddir)
/libfreeswitch.la
mod_opusfile_la_LDFLAGS
=
-avoid-version
-module
-no-undefined
-shared
if
HAVE_OPUSFILE_DECODE
mod_opusfile_la_CFLAGS
+=
-I
$(OPUSFILE_DECODE_CFLAGS)
mod_opusfile_la_LIBADD
+=
$(OPUSFILE_DECODE_LIBS)
endif
if
HAVE_OPUSFILE_ENCODE
mod_opusfile_la_CFLAGS
+=
-I
$(OPUSFILE_ENCODE_CFLAGS)
-DHAVE_OPUSFILE_ENCODE
mod_opusfile_la_LIBADD
+=
$(OPUSFILE_ENCODE_LIBS)
endif
src/mod/formats/mod_opusfile/mod_opusfile.c
0 → 100644
浏览文件 @
2a4cf1f0
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论