diff options
Diffstat (limited to 'src/hz_voct_4200.c')
-rw-r--r-- | src/hz_voct_4200.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/hz_voct_4200.c b/src/hz_voct_4200.c index 86c8dae..ea0aad8 100644 --- a/src/hz_voct_4200.c +++ b/src/hz_voct_4200.c @@ -30,7 +30,6 @@ #define HZVOCT_INPUT 0 #define HZVOCT_OUTPUT 1 - /* All state information for plugin */ typedef struct { @@ -39,7 +38,6 @@ typedef struct LADSPA_Data* output_buffer; } HzVoct; - /* Construct a new plugin instance */ LADSPA_Handle hzvoct_instantiate(const LADSPA_Descriptor* descriptor, @@ -51,7 +49,6 @@ hzvoct_instantiate(const LADSPA_Descriptor* descriptor, return (LADSPA_Handle)plugin; } - /* Connect a port to a data location */ void hzvoct_connect_port(LADSPA_Handle instance, @@ -71,7 +68,6 @@ hzvoct_connect_port(LADSPA_Handle instance, } } - void hzvoct_run_cr(LADSPA_Handle instance, unsigned long nframes) { @@ -86,7 +82,6 @@ hzvoct_run_cr(LADSPA_Handle instance, unsigned long nframes) *plugin->output_buffer = logf(*plugin->input_buffer * eighth) * log2inv - offset; } - void hzvoct_run_ar(LADSPA_Handle instance, unsigned long nframes) { @@ -109,18 +104,15 @@ hzvoct_run_ar(LADSPA_Handle instance, unsigned long nframes) *output++ = logf((*input++) * eighth) * log2inv - offset; } - void hzvoct_cleanup(LADSPA_Handle instance) { free(instance); } - LADSPA_Descriptor* hz_voct_cr_desc = NULL; LADSPA_Descriptor* hz_voct_ar_desc = NULL; - /* Called automatically when the plugin library is first loaded. */ void _init() @@ -197,7 +189,6 @@ _init() } } - void hzvoct_delete_descriptor(LADSPA_Descriptor* psDescriptor) { @@ -216,7 +207,6 @@ hzvoct_delete_descriptor(LADSPA_Descriptor* psDescriptor) } } - /* Called automatically when the library is unloaded. */ void _fini() @@ -225,7 +215,6 @@ _fini() hzvoct_delete_descriptor(hz_voct_ar_desc); } - /* Return a descriptor of the requested plugin type. */ const LADSPA_Descriptor* ladspa_descriptor(unsigned long Index) |