473 Commits

Author SHA1 Message Date
Brian West
8eaaa083ad FS-6622: [mod_shout] set buffer size for streams based on the number of channels to avoid buffer starvation 2014-11-18 09:47:43 -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
Matteo Brancaleoni
3f0d6b3f2d FS-6756 lame_init_params must be called after setting all id3tag stuff, otherwise id3 tags will not be written.
So, instead of calling it early, revert FS-3646 and add a check on free_context to really do lame stuff only
if lame has been set ready, avoid seg faults in some corner cases.
2014-10-22 12:31:21 +02:00
Anthony Minessale
295fcce8a8 add buffer_seconds param to shout filehandles to override the original default of 1 and remove previous code to attempt to buffer several seconds of audio in the open routine. Any experiencing jittery playback from slow shout destinations should add {buffer_seconds=N} to the file path to increase the amount of time allotted for buffering when no audio is discovered on the wire 2014-09-17 04:54:38 +05:00
Anthony Minessale
908dd26559 FS-6815 #comment force 1600hz for native g722 2014-09-10 14:09:32 -04:00
Travis Cross
a0e19e1c7f Use system portaudio library
This removes our in-tree version of portaudio-19 and migrates
mod_portaudio and mod_portaudio_stream to use the system version of
the library.  Our detection of the system library relies on
pkg-config.
2014-07-17 21:15:53 +00:00
Anthony Minessale
c71f89a39b FS-6627 2014-06-24 15:42:07 -05:00
Anthony Minessale
280e816a90 FS-6590 --resolve 2014-06-14 04:56:55 +05:00
Anthony Minessale
579a051867 add channels param the the silence generator function 2014-06-13 04:49:44 +05:00
Chris Rienzo
ab5278c02f stereo: fix mod_flite, mod_ssml, mod_unimrcp compile errors 2014-06-12 17:41:52 -04:00
Anthony Minessale
928a989de1 first pass of stereo support 2014-06-12 22:06:33 +05:00
Chris Rienzo
b7b14209eb CID 1214210: mod_ssml - resource leak when parsing SSML 2014-05-15 11:31:04 -04:00
Chris Rienzo
d055f5b6df CID 1214263: mod_ssml - remove unused pointer value 2014-05-15 11:12:06 -04:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Michael Jerris
885fdbf28c hack harder 2014-03-26 14:49:59 -04:00
Chris Rienzo
0b9e5c82a5 FS-6402 mod_rayo/mod_ssml: add mutex to hashes now that iteration is no longer thread-safe 2014-03-24 17:03:33 -04:00
Jeff Lenk
dd242f3ba6 FS-6346 2014-03-20 18:32:19 -05:00
Travis Cross
1470622292 Require libcurl as a system dependency
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-20 21:15:29 +00:00
Travis Cross
c993962d0b Update some modules to use CPPFLAGS
These modules use curl and we'll be adding in some bits to the
CPPFLAGS.
2014-03-20 21:09:46 +00:00
Michael Jerris
3eb786210d FS-6293: fix mod_shout srcdir build 2014-03-17 10:06:29 -04:00
Michael Jerris
70a3bde76f FS-6293: fix mod_shout srcdir build 2014-03-17 09:46:12 -04:00
Michael Jerris
402d422c90 FS-6293: fix mod_shout srcdir build 2014-03-17 08:51:21 -04:00
Jeff Lenk
de8d92d9ce FS-6346 part 1 2014-03-12 23:49:14 -05:00
Michael Jerris
35020541cc fix mod_shout build 2014-03-10 09:57:09 -04:00
Michael Jerris
beae3aedc3 fix file refrences that subdir-objects doesn't like 2014-03-09 16:06:02 -04: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
Travis Cross
680bc46768 Avoid repeating ourselves in generating silence
We were handling the "send silence but not comfort noise" case in both
silence_stream_file_read and switch_generate_sln_silence.  This
changes the former to rely on the latter.
2014-03-04 00:16:43 +00:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale
67d250324a FS-6198 --resolve 2014-02-07 03:58:55 +05:00
Peter Olsson
93696934b2 Silence more compiler warnings 2014-01-23 12:25:15 +01:00
William King
c3711b81c9 If libvlc fails to initialize, then the module should fail to load. 2014-01-22 13:56:22 -08:00
Peter Olsson
5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson
084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Chris Rienzo
d25d1293bc FS-6083 --resolve mod_ssml fixed <prosody> 2014-01-07 14:50:14 -05:00
Ken Rice
ad8796f581 FS-5930 --resolve 2013-11-02 17:34:16 -05:00
Anthony Minessale
859afe9429 FS-5930 --resolve 2013-11-02 10:31:23 -05:00
Anthony Minessale
c8b80cced6 FS-5930 --resolve this should suppress the message 2013-10-31 14:08:50 -05:00
Chris Rienzo
778ac5341a FS-5773 --resolve mod_ssml: allow rendering of documents if TTS is not configured 2013-10-15 15:51:04 -04:00
Chris Rienzo
a49c3a253a mod_ssml: added ordinal, telephone configuration 2013-09-12 11:58:53 -04:00
Chris Rienzo
580f8c21e7 mod_ssml: add default config for interpret-as='characters' 2013-08-28 13:52:37 -04:00
Stefan Knoblich
cb554fb023 mod_shout: Rework our_mpg123_new() to handle error cases correctly and to clean up the code
Keeping parameter handling quirks for backwards compatibility reasons.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-07-11 03:17:04 +02: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
a29bab368d mod_ssml: valgrind fixes 2013-06-24 22:19:54 -04:00
Anthony Minessale
6b58aea501 FS-5539 --resolve 2013-06-24 09:15:01 -05:00
Chris Rienzo
dc604fd589 mod_ssml: XML decode <audio src=".. attribute since iksemel SAX parser doesn't 2013-06-20 09:25:45 -04:00
William King
5026788c4a Fix minor typo so that the metadata album field can be set. 2013-06-12 17:17:57 -07:00
Brian West
a433b97375 Skip to next file when you hup the stream 2013-06-07 12:29:42 -05:00
Chris Rienzo
acacb342e8 Added mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats. 2013-06-06 15:34:49 -04:00