Commit Graph

75 Commits

Author SHA1 Message Date
Anthony Minessale 6294bc1620 have samples_out reflect what was written to the FH not the file even with buffering 2011-01-24 09:42:11 -06: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 0100eff635 update 2010-11-11 15:37:58 -06:00
Anthony Minessale 17ac6ba9c6 add record overwrite 2010-10-26 19:34:47 -05:00
Anthony Minessale 28046a89de downgrade log message to debug and add more details 2010-09-09 09:27:17 -05: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
Anthony Minessale 9cf0d7f846 add append and truncate to audio file api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 21:40:09 +00:00
Anthony Minessale a58fd5ae15 prevent obscure divide by zero code path
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15413 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-10 23:50:58 +00:00
Anthony Minessale 940ba327e7 fix some sample count issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-06 23:29:36 +00:00
Anthony Minessale df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale 1fd13eeb5e fix playback_ms and record_ms to work right and add playback_seconds and record_seconds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-13 22:29:20 +00:00
Anthony Minessale eab6464f62 fix the crash that was caused by fixing the leak that was preventing the crash in the previous revision
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-08 14:55:16 +00:00
Anthony Minessale 1ad32b8df1 fix file handle mem leak (thanks pressuerman)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-08 14:01:03 +00:00
Anthony Minessale 32e927514d dont enforce existing file check on streams
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-29 19:58:02 +00:00
Brian West b2699403a0 FSCORE-443
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-20 20:16:28 +00:00
Anthony Minessale 67823be168 BOUNTY-9 (regression)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 22:56:30 +00:00
Anthony Minessale bf5e4c30e9 BOUNTY-9 (regression)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14896 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 22:25:21 +00:00
Anthony Minessale 9fb893702b BOUNTY-9 (regression)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14895 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 22:19:36 +00:00
Anthony Minessale 1a774b9d99 BOUNTY-9 (Thank you Xpander Communications)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 20:09:27 +00:00
Anthony Minessale 0573d3cf09 FSCORE-403
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14331 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-23 15:55:13 +00:00
Brian West a99020173d MODAPP-305 FSCORE-401
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 17:18:02 +00:00
Brian West 5460efa78e remove unused code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13243 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-06 17:34:29 +00:00
Anthony Minessale 8d863760c6 fix memory issue in core file resampling code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-05 15:09:32 +00:00
Anthony Minessale 523e0653ed FSCORE-341
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 14:54:13 +00:00
Anthony Minessale c2692bf05a FSCORE-339
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-20 13:58:45 +00:00
Anthony Minessale ea88aed04b avoid operations on closed file handles in embedded languages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 19:52:29 +00:00
Michael Jerris e8e2bf0ee8 fix msvc 2005 build warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-18 06:22:43 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Anthony Minessale c31a7f2563 replace the resampler code with the awesome code from speex
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:35:17 +00:00
Brian West cff0c8b16b do not print waring on record because we can record a file in stereo and mux stereo to mono on playback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:05:44 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale 459649c654 bang it all, MODAPP-205
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11491 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-26 18:05:00 +00:00
Anthony Minessale 6984e63340 add error checking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-24 18:11:42 +00:00
Anthony Minessale 2fd7f0b6bb update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 00:18:00 +00:00
Anthony Minessale 51aea0ea08 mux multi-channel audio files to mono to support playing stereo sound files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 17:47:21 +00:00
Anthony Minessale cbc680adc0 fix buffering issue in mod_shout/core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-14 19:44:14 +00:00
Brian West 6c622d5c27 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-13 05:22:21 +00:00
Brian West 3e40557761 doh I did that wrong
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-13 05:17:07 +00:00
Brian West ad60ae2a1a If you were to be in a 32k or 48k conference and play an 8k or 16k file into either one you would over run this buffer.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-13 03:56:40 +00:00
Anthony Minessale f5ece7dc15 fix another buffering regression
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-12 23:14:55 +00:00
Anthony Minessale 4997507dfe adjust buffering sizes to allow resampling of high defination audio codecs so they can be transcoded to lower and higher levels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11145 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-12 19:12:09 +00:00
Anthony Minessale c711a50846 fix double close of filehandles and add recording of native files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-10 03:52:28 +00:00
Anthony Minessale ea5c385281 numerous fixes from regression testing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-09 20:34:01 +00:00
Brian West df2913511c avoid segfault when playing a 48k wav as a transfer ringback to an 8k ulaw channel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-09 03:28:52 +00:00
Anthony Minessale e6302e9407 fix resampling issues (add to 1.0 branch)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-08 01:42:09 +00:00
Anthony Minessale 722b830652 look out below....(make current)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 19:28:05 +00:00
Michael Jerris 90f79c3f0d better error message.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10356 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 13:41:18 +00:00
Brian West e708b762dc revert previous change so voicemail length check works
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 17:37:52 +00:00
Anthony Minessale 623ba5c271 patch for FSCORE-205
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 12:46:09 +00:00
Brian West b9e0bd8f8d more cleanup polishing things along
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-11 05:44:11 +00:00