aboutsummaryrefslogtreecommitdiffstats
path: root/src/multiplexer_4420.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
commit0a004fcb5b09812e3a6d4d7ed237034650b90d45 (patch)
treebfde8e2fb4e81ea1913f67ed72b5e54bdcb63193 /src/multiplexer_4420.c
parent2cb99396df0ee23d0c7fa12bb70d69ed45775978 (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/multiplexer_4420.c')
-rw-r--r--src/multiplexer_4420.c11
1 files changed, 0 insertions, 11 deletions
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)