changeset 1641:e7b8bb47f7af

ladspa: C99
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 05:52:14 -0500
parents a5045f10f80c
children 56eb8c79d115
files src/ladspa/ladspa.c
diffstat 1 files changed, 5 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/ladspa/ladspa.c	Fri Sep 07 05:50:49 2007 -0500
+++ b/src/ladspa/ladspa.c	Fri Sep 07 05:52:14 2007 -0500
@@ -117,14 +117,11 @@
 static GtkWidget *config_window = NULL, *run_clist = NULL;
 
 static EffectPlugin ladspa_ep = {
-  NULL, NULL,
-  PLUGIN_NAME,
-  start,
-  stop,
-  NULL,
-  configure,
-  apply_effect,
-  NULL
+  .description = PLUGIN_NAME,
+  .init = start,
+  .cleanup = stop,
+  .configure = configure,
+  .mod_samples = apply_effect,
 };
 
 EffectPlugin *ladspa_eplist[] = { &ladspa_ep, NULL };