FS-10530: [mod_opusfile] new module, read and write ogg/opus files (".opus" extension)

This commit is contained in:
Dragos Oancea
2017-07-10 16:29:31 -04:00
parent a1740fb600
commit 2a4cf1f04e
8 changed files with 542 additions and 0 deletions
+17
View File
@@ -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
######################################################################################################################
#