53 Commits

Author SHA1 Message Date
Piotr Gregor
2197794e55 FS-9031: [avmd] Check session initialization
Now avmd session's initialization is checked
for errors. Error reporting is improved.
2016-04-07 17:14:56 +01:00
Piotr Gregor
7dd77c781e FS-9028: [avmd] Check SMA buffer
Now SMA buffer is checked for successful memory
allocation dynamically with assertion omitted.
2016-04-07 16:10:34 +01:00
Piotr Gregor
cc05abc0d4 FS-9027: [avmd] Check buffer
Now buffer is checked for successful memory
allocation dynamically with assertion omitted.
2016-04-06 23:08:21 +01:00
Piotr Gregor
73cc5ae3c1 FS-9020 Avmd internal/external channel
Implement checking of proper configuration
of avmd session being started on internal/external
channels. Check for read/write codec, CF_MEDIA_SET.
2016-04-06 17:57:15 +01:00
Piotr Gregor
4fa43a2442 [avmd] FS-9023 Add console auto completion
Now auto completion is enabled.
2016-04-05 17:09:17 +01:00
Piotr Gregor
439be5d122 [avmd] FS-9019 Extend syntax description
Add commands to syntax description.
2016-04-05 15:48:48 +01:00
Mike Jerris
f32edbb936 FS-8875: [mod_avmd] fix windows build from this change 2016-04-04 17:00:25 -04:00
Piotr Gregor
0a893bac2f FS-9016 Avmd segfaults on NULL read codec
Now it will simply exit. Also added more
descriptive and clear error reporting.
2016-04-04 17:03:30 +01:00
Piotr Gregor
c9d027ea91 FS-8875 Enable faster beep detection
Unnecessary computation of arc cosine is omitted
and convergence is checked on partial results.
Original frequency is easily retrieved when needed.
2016-03-29 23:41:13 +01:00
Piotr Gregor
906e844010 FS-8988 Rename files 2016-03-29 20:53:31 +01:00
Piotr Gregor
6658f61ccd FS-8983 [avmd] Enable avmd on outbound channel
It is possible now to do avmd on outgoing channel
which is very handy while debugging.
2016-03-28 02:51:07 +01:00
Mike Jerris
9e6593aa73 Merge pull request #762 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8961-avmd-increase-robustness-of-variance to master
* commit '63a30499dbb8d280dbf4d18b393aa68ac3ce8c15':
  FS-8961 Increase robustness of estimation
2016-03-21 15:36:41 -05:00
Piotr Gregor
63a30499db FS-8961 Increase robustness of estimation
Add optional requirement of consecutive streak
of estimations in SMA buffer. Fix definitions.
Add options to control debugging/printing.
2016-03-21 00:10:36 +00:00
Piotr Gregor
fce7cfee35 FS-8960 Set buffer position to beginning on reset
Now buffer position is reset to 0.
2016-03-19 23:43:50 +00:00
Piotr Gregor
f561f1cdd6 FS-8855 fix calc of variance of tone's freq estimator
Change SMA buffer APPEND_SMA_VAL macro so now the variance
of tone's frequency estimation is correctly calculated.
Change frequency advertised in log on beep detection from
most recently computed value to average of all values used
in DESA computation.
2016-03-17 12:39:03 +00:00
Mike Jerris
000fdbd2d8 Merge pull request #742 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8853-enable-change-of-resolution-and-size-2 to master
* commit 'da7be641bac16dbe5575c0f266a10d1819ab0026':
  FS-8853 enable change of resolution of fast arc cos table
2016-03-15 16:13:22 -05:00
Piotr Gregor
1c39305fad FS-8810 fix crash on FS startup
The float-int-float fast arc cosine
mapping is now properly constructed (reused).
2016-03-12 00:20:17 +00:00
Piotr Gregor
da7be641ba FS-8853 enable change of resolution of fast arc cos table
It is possible now to apply lower resolution to mapping
of float-integer-float and decrease size of mapped file.
2016-03-11 19:27:21 +00:00
Mike Jerris
9f9078b6f6 Merge pull request #713 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8854-initialize-circular-buffer to master
* commit '3af3e54a6f287b9b045cbe62249b5eecde2b4f80':
  FS-8854 initialize circular buffer
2016-03-10 14:09:06 -06:00
Piotr Gregor
3af3e54a6f FS-8854 initialize circular buffer
Now all members of buffer are initialized
in INIT_CIRC_BUFFER macro.
2016-02-22 11:15:10 +00:00
Piotr Gregor
1e8d315178 FS-8852 change stop condition in for loop
Now we use predefined table length instead
of hardcoded computation in stop condition
of for loop.
2016-02-20 18:02:16 +00:00
Piotr Gregor
b8a8c88572 FS-8809 fix MAP_POPULATE undeclared
Add AM_MOD_AVMD_CXXFLAGS compile flag to mod avmd
and set this flag to -std=gnu99 in configure.ac
in case compiler vendor is xgnu.
2016-02-08 23:02:22 +00:00
Piotr Gregor
6d8fd0def6 refactor: fix comments
Applying code guidelines. No side effects.
2016-02-05 21:42:09 +00:00
Piotr Gregor
2e30c94c35 refactor: fix comments
Applying code guidelines. No side effects.
2016-02-05 00:37:33 +00:00
Piotr Gregor
43d89f0258 refactor: fix comments
Applying code guidelines. No side effects.
2016-02-05 00:07:00 +00:00
Anthony Minessale
f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Mike Jerris
46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04: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
William King
5a94bfefd3 Build fix: updated to better support new video changes 2015-05-28 12:47:24 -05:00
Brian West
a79a9ea9ed FS-6373 2014-07-09 08:25:54 -05:00
Michael Jerris
bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Jeff Lenk
7ebb663ce6 FS-5401 --resolve whitespace only 2014-01-02 17:51:09 -06:00
Jeff Lenk
4e6852fd88 FS-5989 --resolve 2013-11-29 22:23:08 -06:00
Anthony Minessale
29c38decab add execute_on_avmd_beep 2013-11-21 01:41:28 +05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Ken Rice
babeca40dd FS-5128 --resolve 2013-02-26 10:44:32 -06:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Anthony Minessale
83007777a0 lower console output to debug for avmd 2012-09-14 11:24:23 -05:00
Anthony Minessale
02e5eaefec FS-4118 --resolve 2012-04-16 16:14:20 -05:00
Anthony Minessale
9f6000a74e FS-4090 --resolve 2012-04-09 12:31:48 -05:00
Marc Olivier Chouinard
ba7dc9fde8 Fix for -Wunused-but-set-variable required compiler. : mod_freetdm mod_avmd mod_cidlookup mod_ladspa mod_lcr mod_nibblebill mod_rss mod_vdm mod_dahdi_codec mod_skinny mod_cdr_pg_csv 2011-04-22 22:49:41 -04:00
Anthony Minessale
cd95138427 FS-2839 2010-11-11 12:32:29 -06:00
Jeff Lenk
1977aa8684 VS2010 add missing project filters 2010-08-19 10:38:54 -05:00
Jeff Lenk
68fef16e37 more tweaks for VS2010 2010-07-06 16:10:35 -05:00
Jeff Lenk
a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Jeff Lenk
df4bd93545 add mod_avmd for win 2010-05-26 13:30:29 -05:00