6 Commits

Author SHA1 Message Date
Stefan Knoblich
b6826180f3 mod_ladspa: Set setenv() overwrite flag to replace empty LADSPA_PATH variables.
For complete putenv()-like behaviour.

Further investigation on why putenv() caused EFAULTs on execve() and
segfaults on reload:

putenv(3):

   "The string pointed to by string becomes part of the environment,
    so altering the string changes the environment."

setenv(3):

   "This function makes copies of the strings pointed to by name and value
    (by contrast with putenv(3))."

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-07-04 01:18:51 +02:00
Stefan Knoblich
f6dadb587c mod_ladspa: putenv() breaks the process environment variables, use setenv() instead.
Use of putenv() to set LADSPA_PATH broke the proccess environment variables, for some
unknown reason, causing segfaults on "reload mod_ladspa" and restarting
FreeSWITCH (with "fcstl shutdown restart").

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-07-03 14:01:08 +02: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
72f52aae19 only all one file to be bound per instance 2011-03-21 10:32:33 -05:00
Anthony Minessale
b7891511db add string params to ladspa so you can connect files to audio ports (string params don't count towards number params) 2011-03-18 17:58:13 -05:00
Anthony Minessale
2d3d8f8d34 Add mod_ladspa (Audio plugin framework for linux) http://http://www.ladspa.org/ try it with autotalent http://web.mit.edu/tbaran/www/autotalent.html 2011-03-16 16:19:57 -05:00