Added an API for removing an active ladspa effect on a channel. For conformance reasons, the uuid_ladspa command now accepts 'stop' and 'start', while the previous functionality (without any verb) which will simply add ladspa remains intact.
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>
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>