141 Commits

Author SHA1 Message Date
Dragos Oancea
a83b7db5a7 [unit-tests] fix sps-related race in the sndfile test. 2021-08-09 18:52:49 +03:00
Dragos Oancea
970e32e574 [unit-tests] [mod_sndfile] increase SPS limit 2021-08-09 18:51:36 +03:00
Mike Jerris
0f1dbc2540 [mod_sndfile] fix test build on osx 2021-08-09 18:49:59 +03:00
Dragos Oancea
cbcf6f2e2d [unit-tests] [mod_sndfile] fix build for Debian Jessie 2021-08-09 18:47:55 +03:00
Dragos Oancea
8abd936ded [unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session. 2021-08-09 17:07:35 +03:00
Seven Du
561a31d723 [mod_sndfile] fix read sndfiles with float data 2021-03-16 20:22:34 +03:00
Andrey Volk
0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk
06dfe2e3a4 [mod_sndfile] Reduce error level to warning for "Error Opening File" 2020-05-07 02:48:21 +04:00
Dragos Oancea
08317fc5c3 [mod_sndfile] fix playing "raw" and other formats ("r8", "r16", "r24", "r32"), add unit-test
[mod_sndfile] add stereo to mono support for file formats that need it (eg: gsm, vox), add unit test for stereo

[mod_sndfile] mono to stereo and stereo to mono unit tests.

[unit-tests] mod_sndfile: don't wait for recording file to be flushed to disk by the core, use switch_ivr_stop_record_session()

[mod_sndfile] fix format "wve" (Psion Series 3)

[mod_sndfile] fix format "htk" (Hidden Markov Model Tool Kit)

[mod_sndfile] fix file format "iff" (AIFF)

[mod_sndfile] fix file format "xi" (FastTracker 2)

[mod_sndfile] fix file format "sds" (Midi Sample Dump Standard)

[uni-tests] add more audio file extensions to sndfile unit tests.

[mod_sndfile] add config file support (with one param currently: "allowed-extensions")

[mod_sndfile] add sample file sndfile.conf.xml to 'testing' and 'vanilla' cfg trees.

[mod_sndfile] free() cfg xml

[unit-tests] mod_sndfile: unload module test.

[unit-tests] mod_sndfile: add conf file unit-test (param that allows only certain file extensions)

[unit-tests] adjusts Makefile.am for new CI (tests)

[unit-tests] adjust path to sound file.

[unit-tests] [mod_sndfile] remove Makefile.am from test/

[unit-tests] [mod_sndfile] fix build (Andrey)
2020-01-21 22:12:08 +00:00
Dragos Oancea
60746cc07c [mod_tts_commandline, mod_sndfile] fix crash on file not found 2019-11-11 23:02:21 +04:00
Dragos Oancea
45219aef6f [mod_sndfile] don't force channels and sample rate with .raw extension 2019-10-29 21:47:22 +04:00
Andrey Volk
671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
Andrey Volk
32c16669c4 FS-11091: [mod_sndfile] Remove libsndfile from the code base, use pre-compiled binaries on Windows, update to libsndfile 1.0.28 2018-07-24 07:21:49 +00:00
Dragos Oancea
f1b756c631 FS-10115: [mod_sndfile] add ".ogg" extension to mod_sndfile (map audio OGG format to ".ogg" extension too, not only to ".oga")
(and change mem pool)
2017-03-17 18:09:59 +00:00
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Michael Jerris
164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Michael Giagnocavo
5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Michael Giagnocavo
f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Jeff Lenk
345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Michael Jerris
91a6fc82c0 FS-7338: remove libsndfile from tree, use system lib instead
FS-7338: remove libsilk from tree, use system lib instead
FS-7338: change to always use system liblua
FS-7338: remove libbroadvoice from tree, use system lib instead
FS-7338: remove libilbc from tree, use system lib instead
FS-7338: remove libs using system libs from bootstrap
FS-7338: remove libg722_1 from tree, use system lib instead
FS-7338: remove mod_celt, it has be superseded by mod_opus
FS-7338: remove libcodec2 from tree, use system lib instead
FS-7338: remove libopus from tree, use system lib instead
FS-7338: remove libsoundtouch build from tree, use system lib instead
FS-7338: remove flite build from tree, use system lib instead
FS-7338: remove openldap build from tree, use system lib instead
FS-7338: remove libmongoc build from tree, use system lib instead
FS-7338: remove mod_mongo deps that are no longer actually required
FS-7338: remove some dup demo modules and don't include demo code in packages
2015-05-28 12:47:24 -05:00
Flavio Grossi
378d35058f FS-7004 mod_sndfile: use correct permissions to create new files
libsndfile's sf_open() function doesn't allow to pass file permissions. To fix
this, new files are created with the correct mode before passing them to
libsndfile.
2015-01-14 14:22:02 +01:00
Brian West
65631ed36b Revert FS-7004 pending updated fixed for that issue from the original author. 2014-12-29 10:02:33 -06:00
Flavio Grossi
c73afe1c85 FS-7004 mod_sndfile: respect umask when creating new files
Files created by mod_sndfile use sf_open() which uses hardcoded permissions. To
respect the process' umask, manually open files with the correct permissions
and then call sf_open_fd().
2014-11-17 11:26:31 +01:00
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Michael Jerris
bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Chris Rienzo
5f83c708ef added .vox (Dialogic/OKI ADPCM 8kHz format) to mod_sndfile 2013-04-23 16:21:02 -04:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Jeff Lenk
33b22c485d FS-4099 --resolve windows only regression 2012-09-17 23:28:10 -05:00
Anthony Minessale
d0117d5c91 missed a spot 2012-09-10 16:57:39 -05:00
Anthony Minessale
a696e4a743 sndfile tweak 2012-09-10 14:13:12 -05:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale
02a604f715 FS-1197 --resolve do make sndfile-reconf if your build breaks 2011-11-08 15:04:40 -06:00
Anthony Minessale
73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Brian West
3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Anthony Minessale
17ac6ba9c6 add record overwrite 2010-10-26 19:34:47 -05:00
Anthony Minessale
564dc7e493 return break in mod_sndfile when seek returns failure 2010-10-21 22:35:24 -05:00
Brian West
facf09b839 MODFORM-41 2010-08-24 11:58:53 -05:00
Jeff Lenk
a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Anthony Minessale
a3e6beadd0 FSCORE-591 2010-05-26 09:51:26 -05:00
Rupa Schomaker
35dc511c67 remove patch left-overs (.orig and .rej files) 2010-05-12 03:31:27 -05:00
Anthony Minessale
a7f74af7d0 add bind method to EventConsumer takes same args as constructor to bind more events to an existing consumer 2010-05-10 13:07:34 -05:00
Anthony Minessale
95665f0096 JANITOR-4 2010-04-21 10:11:13 -05:00
Brian West
b19869fd9f fix MODFORM-39
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-16 03:45:56 +00:00
Anthony Minessale
886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Michael Jerris
34d5446e9d fix --srcdir builds for mod_sndfile and mod_siren
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15914 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 19:04:20 +00:00
Michael Jerris
a977524425 more --srcdir fixes (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 20:31:12 +00:00
Michael Jerris
ae05a0c5de cleanup makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-30 15:21:04 +00:00