aboutsummaryrefslogtreecommitdiffstats
path: root/src/slew_limiter_2743.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/slew_limiter_2743.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/slew_limiter_2743.c')
-rw-r--r--src/slew_limiter_2743.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/slew_limiter_2743.c b/src/slew_limiter_2743.c
index 74ba867..fb5ef1c 100644
--- a/src/slew_limiter_2743.c
+++ b/src/slew_limiter_2743.c
@@ -35,11 +35,9 @@
#define SLIM_MAXFALL 2
#define SLIM_OUTPUT 3
-
/* This is an array pointer to the descriptors of the different variants */
LADSPA_Descriptor** slim_descriptors = 0;
-
/* This is the data for a single instance of the plugin */
typedef struct
{
@@ -53,8 +51,6 @@ typedef struct
}
SLim;
-
-
/* LADSPA hosts use this function to get the plugin descriptors */
const LADSPA_Descriptor* ladspa_descriptor(unsigned long index)
{
@@ -63,14 +59,12 @@ const LADSPA_Descriptor* ladspa_descriptor(unsigned long index)
return 0;
}
-
/* Clean up after a plugin instance */
void cleanupSLim (LADSPA_Handle instance)
{
free(instance);
}
-
/* This is called when the hosts connects a port to a buffer */
void connectPortSLim(LADSPA_Handle instance,
unsigned long port, LADSPA_Data* data)
@@ -93,7 +87,6 @@ void connectPortSLim(LADSPA_Handle instance,
}
}
-
/* The host uses this function to create an instance of a plugin */
LADSPA_Handle instantiateSLim(const LADSPA_Descriptor * descriptor,
unsigned long sample_rate)
@@ -103,7 +96,6 @@ LADSPA_Handle instantiateSLim(const LADSPA_Descriptor * descriptor,
return (LADSPA_Handle)plugin;
}
-
/* This is called before the hosts starts to use the plugin instance */
void activateSLim(LADSPA_Handle instance)
{
@@ -111,7 +103,6 @@ void activateSLim(LADSPA_Handle instance)
plugin->last_output = 0;
}
-
/* The run function! */
void runSLim(LADSPA_Handle instance, unsigned long sample_count, int variant)
{
@@ -150,19 +141,16 @@ void runSLim(LADSPA_Handle instance, unsigned long sample_count, int variant)
}
}
-
void runSLim_audio(LADSPA_Handle instance, unsigned long sample_count)
{
runSLim(instance, sample_count, 0);
}
-
void runSLim_control(LADSPA_Handle instance, unsigned long sample_count)
{
runSLim(instance, sample_count, 1);
}
-
/* Called automagically by the dynamic linker - set up global stuff here */
void _init(void)
{
@@ -250,7 +238,6 @@ void _init(void)
}
}
-
/* Called automagically by the dynamic linker - free global stuff here */
void _fini(void)
{