From 0a004fcb5b09812e3a6d4d7ed237034650b90d45 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Apr 2011 19:02:36 +0000 Subject: Squeeze blank lines and delete trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/omins@3152 a436a847-0d15-0410-975c-d299462d15a1 --- src/multiplexer_4420.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/multiplexer_4420.c') diff --git a/src/multiplexer_4420.c b/src/multiplexer_4420.c index ce7c192..1d680fa 100644 --- a/src/multiplexer_4420.c +++ b/src/multiplexer_4420.c @@ -33,7 +33,6 @@ #define MUX_ON 2 #define MUX_OUTPUT 3 - /* All state information for plugin */ typedef struct { @@ -44,7 +43,6 @@ typedef struct LADSPA_Data* output_buffer; } MUX; - /* Construct a new plugin instance */ LADSPA_Handle MUX_instantiate(const LADSPA_Descriptor* descriptor, @@ -53,7 +51,6 @@ MUX_instantiate(const LADSPA_Descriptor* descriptor, return (LADSPA_Handle)malloc(sizeof(MUX)); } - /* Connect a port to a data location */ void MUX_connect_port(LADSPA_Handle instance, @@ -79,7 +76,6 @@ MUX_connect_port(LADSPA_Handle instance, } } - void MUX_run_cr(LADSPA_Handle instance, unsigned long nframes) { @@ -91,7 +87,6 @@ MUX_run_cr(LADSPA_Handle instance, unsigned long nframes) *plugin->output_buffer = *plugin->on_buffer; } - void MUX_run_ar(LADSPA_Handle instance, unsigned long nframes) { @@ -106,18 +101,15 @@ MUX_run_ar(LADSPA_Handle instance, unsigned long nframes) output[i] = (gate[i] <= 0) ? off[i] : on[i]; } - void MUX_cleanup(LADSPA_Handle instance) { free(instance); } - LADSPA_Descriptor* MUX_cr_desc = NULL; LADSPA_Descriptor* MUX_ar_desc = NULL; - /* Called automatically when the plugin library is first loaded. */ void _init() @@ -204,7 +196,6 @@ _init() } } - void MUX_delete_descriptor(LADSPA_Descriptor* psDescriptor) { @@ -223,7 +214,6 @@ MUX_delete_descriptor(LADSPA_Descriptor* psDescriptor) } } - /* Called automatically when the library is unloaded. */ void _fini() @@ -232,7 +222,6 @@ _fini() MUX_delete_descriptor(MUX_ar_desc); } - /* Return a descriptor of the requested plugin type. */ const LADSPA_Descriptor* ladspa_descriptor(unsigned long Index) -- cgit v1.2.1