dssiactivate Plugin Hosting:DSSI and LADSPA dssiactivate dssiactivate Activates or deactivates a DSSI or LADSPA plugin. plugin: Requires dssi4cs plugin Syntax dssiactivate ihandle, ktoggle Description Plugin opcode in dssi4cs. dssiactivate is used to activate or deactivate a DSSI or LADSPA plugin. It calles the plugin's activate() and deactivate() functions if they are provided. Initialization ihandle - the number which identifies the plugin, generated by dssiinit. Performance ktoggle - Selects between activation (ktoggle=1) and deactivation (ktoggle=0). dssiactivate is used to turn on and off plugins if they provide this facility. This may help conserve CPU processing in some cases. For consistency, all plugins must be activated to produce sound. An inactive plugin produces silence. Depending on the plugin's implementation, this may cause interruptions in the realtime audio process, so use with caution. dssiactivate may cause audio stream breakups when used in realtime, so it is recommended to load all plugins to be used before playing. Please note that even if activate() and deactivate() functions are not present in a plugin, dssiactivate must be called for the plugin to produce sound. Examples Here is an example of the dssiactivate opcode. It uses the file dssiactivate.csd. Example of the dssiactivate opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also DSSI and LADSPA Credits 2005 By: &nameandres; Uses code from Richard Furse's LADSPA sdk.