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/power_4400.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/power_4400.c')
-rw-r--r-- | src/power_4400.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/power_4400.c b/src/power_4400.c index b2925dd..bb11e5d 100644 --- a/src/power_4400.c +++ b/src/power_4400.c @@ -33,7 +33,6 @@ #define POWER_EXPONENT 1 #define POWER_RESULT 2 - /* All state information for plugin */ typedef struct { @@ -43,7 +42,6 @@ typedef struct LADSPA_Data* result_buffer; } POWER; - /* Construct a new plugin instance */ LADSPA_Handle POWER_instantiate(const LADSPA_Descriptor* descriptor, @@ -52,7 +50,6 @@ POWER_instantiate(const LADSPA_Descriptor* descriptor, return (LADSPA_Handle)malloc(sizeof(POWER)); } - /* Connect a port to a data location */ void POWER_connect_port(LADSPA_Handle instance, @@ -75,7 +72,6 @@ POWER_connect_port(LADSPA_Handle instance, } } - void POWER_run_cr(LADSPA_Handle instance, unsigned long nframes) { @@ -84,7 +80,6 @@ POWER_run_cr(LADSPA_Handle instance, unsigned long nframes) *plugin->result_buffer = powf(*plugin->base_buffer, *plugin->exponent_buffer); } - void POWER_run_ar(LADSPA_Handle instance, unsigned long nframes) { @@ -98,18 +93,15 @@ POWER_run_ar(LADSPA_Handle instance, unsigned long nframes) result[i] = powf(base[i], exponent[i]); } - void POWER_cleanup(LADSPA_Handle instance) { free(instance); } - LADSPA_Descriptor* power_cr_desc = NULL; LADSPA_Descriptor* power_ar_desc = NULL; - /* Called automatically when the plugin library is first loaded. */ void _init() @@ -192,7 +184,6 @@ _init() } } - void POWER_delete_descriptor(LADSPA_Descriptor* psDescriptor) { @@ -211,7 +202,6 @@ POWER_delete_descriptor(LADSPA_Descriptor* psDescriptor) } } - /* Called automatically when the library is unloaded. */ void _fini() @@ -220,7 +210,6 @@ _fini() POWER_delete_descriptor(power_ar_desc); } - /* Return a descriptor of the requested plugin type. */ const LADSPA_Descriptor* ladspa_descriptor(unsigned long Index) |