aboutsummaryrefslogtreecommitdiffstats
path: root/src/sample_and_hold_4430.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/sample_and_hold_4430.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/sample_and_hold_4430.c')
-rw-r--r--src/sample_and_hold_4430.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sample_and_hold_4430.c b/src/sample_and_hold_4430.c
index ae5144d..2548818 100644
--- a/src/sample_and_hold_4430.c
+++ b/src/sample_and_hold_4430.c
@@ -33,7 +33,6 @@
#define SH_CONTINUOUS 3
#define SH_OUTPUT 4
-
/* All state information for plugin */
typedef struct
{
@@ -48,7 +47,6 @@ typedef struct
float last_trigger; /* trigger port value from the previous frame */
} SH;
-
/* Construct a new plugin instance */
LADSPA_Handle
SH_instantiate(const LADSPA_Descriptor * descriptor, unsigned long srate)
@@ -56,7 +54,6 @@ SH_instantiate(const LADSPA_Descriptor * descriptor, unsigned long srate)
return (LADSPA_Handle)malloc(sizeof(SH));
}
-
/* Connect a port to a data location */
void
SH_connect_port(LADSPA_Handle instance,
@@ -126,7 +123,6 @@ SH_run_cr(LADSPA_Handle instance, unsigned long nframes)
}
}
-
void
SH_run_ar(LADSPA_Handle instance, unsigned long nframes)
{
@@ -156,18 +152,15 @@ SH_run_ar(LADSPA_Handle instance, unsigned long nframes)
}
}
-
void
SH_cleanup(LADSPA_Handle instance)
{
free(instance);
}
-
LADSPA_Descriptor* SH_cr_desc = NULL;
LADSPA_Descriptor* SH_ar_desc = NULL;
-
/* Called automatically when the plugin library is first loaded. */
void
_init()
@@ -260,7 +253,6 @@ _init()
}
}
-
void
SH_delete_descriptor(LADSPA_Descriptor* psDescriptor)
{
@@ -279,7 +271,6 @@ SH_delete_descriptor(LADSPA_Descriptor* psDescriptor)
}
}
-
/* Called automatically when the library is unloaded. */
void
_fini()
@@ -288,7 +279,6 @@ _fini()
SH_delete_descriptor(SH_ar_desc);
}
-
/* Return a descriptor of the requested plugin type. */
const LADSPA_Descriptor*
ladspa_descriptor(unsigned long Index)