diff options
author | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
commit | 0a004fcb5b09812e3a6d4d7ed237034650b90d45 (patch) | |
tree | bfde8e2fb4e81ea1913f67ed72b5e54bdcb63193 /src/formant_filter_4300.c | |
parent | 2cb99396df0ee23d0c7fa12bb70d69ed45775978 (diff) |
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/omins@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/formant_filter_4300.c')
-rw-r--r-- | src/formant_filter_4300.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/formant_filter_4300.c b/src/formant_filter_4300.c index c80af3f..1cbe3e5 100644 --- a/src/formant_filter_4300.c +++ b/src/formant_filter_4300.c @@ -36,7 +36,6 @@ #define FORMANT_INPUT 1 #define FORMANT_OUTPUT 2 - /* Vowel Coefficients */ const double coeff[5][11] = { { /* A */ 8.11044e-06, @@ -61,7 +60,6 @@ const double coeff[5][11] = { } }; - /* All state information for plugin */ typedef struct { @@ -73,7 +71,6 @@ typedef struct double memory[5][10]; } Formant; - /* Linear interpolation */ inline static float linear(float bot, float top, float pos, float val1, float val2) @@ -82,7 +79,6 @@ linear(float bot, float top, float pos, float val1, float val2) return val1 * t + val2 * (1.0f - t); } - /* Construct a new plugin instance */ LADSPA_Handle formant_instantiate(const LADSPA_Descriptor* descriptor, @@ -91,7 +87,6 @@ formant_instantiate(const LADSPA_Descriptor* descriptor, return (LADSPA_Handle)malloc(sizeof(Formant)); } - /** Activate an instance */ void formant_activate(LADSPA_Handle instance) @@ -104,7 +99,6 @@ formant_activate(LADSPA_Handle instance) plugin->memory[i][j] = 0.0; } - /* Connect a port to a data location */ void formant_connect_port(LADSPA_Handle instance, @@ -127,7 +121,6 @@ formant_connect_port(LADSPA_Handle instance, } } - void formant_run_vc(LADSPA_Handle instance, unsigned long nframes) { @@ -202,18 +195,15 @@ formant_run_va(LADSPA_Handle instance, unsigned long nframes) Formant* plugin = (Formant*)instance; }*/ - void formant_cleanup(LADSPA_Handle instance) { free(instance); } - LADSPA_Descriptor* formant_vc_desc = NULL; //LADSPA_Descriptor* formant_va_desc = NULL; - /* Called automatically when the plugin library is first loaded. */ void _init() @@ -299,7 +289,6 @@ _init() }*/ } - void formant_delete_descriptor(LADSPA_Descriptor* psDescriptor) { @@ -318,7 +307,6 @@ formant_delete_descriptor(LADSPA_Descriptor* psDescriptor) } } - /* Called automatically when the library is unloaded. */ void _fini() @@ -327,7 +315,6 @@ _fini() //formant_delete_descriptor(formant_va_desc); } - /* Return a descriptor of the requested plugin type. */ const LADSPA_Descriptor* ladspa_descriptor(unsigned long Index) |