diff options
Diffstat (limited to 'src/slew_limiter_2743.c')
-rw-r--r-- | src/slew_limiter_2743.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/slew_limiter_2743.c b/src/slew_limiter_2743.c index 74ba867..fb5ef1c 100644 --- a/src/slew_limiter_2743.c +++ b/src/slew_limiter_2743.c @@ -35,11 +35,9 @@ #define SLIM_MAXFALL 2 #define SLIM_OUTPUT 3 - /* This is an array pointer to the descriptors of the different variants */ LADSPA_Descriptor** slim_descriptors = 0; - /* This is the data for a single instance of the plugin */ typedef struct { @@ -53,8 +51,6 @@ typedef struct } SLim; - - /* LADSPA hosts use this function to get the plugin descriptors */ const LADSPA_Descriptor* ladspa_descriptor(unsigned long index) { @@ -63,14 +59,12 @@ const LADSPA_Descriptor* ladspa_descriptor(unsigned long index) return 0; } - /* Clean up after a plugin instance */ void cleanupSLim (LADSPA_Handle instance) { free(instance); } - /* This is called when the hosts connects a port to a buffer */ void connectPortSLim(LADSPA_Handle instance, unsigned long port, LADSPA_Data* data) @@ -93,7 +87,6 @@ void connectPortSLim(LADSPA_Handle instance, } } - /* The host uses this function to create an instance of a plugin */ LADSPA_Handle instantiateSLim(const LADSPA_Descriptor * descriptor, unsigned long sample_rate) @@ -103,7 +96,6 @@ LADSPA_Handle instantiateSLim(const LADSPA_Descriptor * descriptor, return (LADSPA_Handle)plugin; } - /* This is called before the hosts starts to use the plugin instance */ void activateSLim(LADSPA_Handle instance) { @@ -111,7 +103,6 @@ void activateSLim(LADSPA_Handle instance) plugin->last_output = 0; } - /* The run function! */ void runSLim(LADSPA_Handle instance, unsigned long sample_count, int variant) { @@ -150,19 +141,16 @@ void runSLim(LADSPA_Handle instance, unsigned long sample_count, int variant) } } - void runSLim_audio(LADSPA_Handle instance, unsigned long sample_count) { runSLim(instance, sample_count, 0); } - void runSLim_control(LADSPA_Handle instance, unsigned long sample_count) { runSLim(instance, sample_count, 1); } - /* Called automagically by the dynamic linker - set up global stuff here */ void _init(void) { @@ -250,7 +238,6 @@ void _init(void) } } - /* Called automagically by the dynamic linker - free global stuff here */ void _fini(void) { |