ladspa: code cleanup

Whitespace cleanup and unify codeing style.
diff --git a/ext/ladspa/gstladspasource.c b/ext/ladspa/gstladspasource.c
index 943da62..c078664 100644
--- a/ext/ladspa/gstladspasource.c
+++ b/ext/ladspa/gstladspasource.c
@@ -256,7 +256,7 @@
 gst_ladspa_source_type_fill (GstBaseSrc * base, guint64 offset,
     guint length, GstBuffer * buffer)
 {
-  GstLADSPASource *ladspa;
+  GstLADSPASource *ladspa = GST_LADSPA_SOURCE (base);
   GstClockTime next_time;
   gint64 next_sample, next_byte;
   gint bytes, samples;
@@ -264,8 +264,6 @@
   GstMapInfo map;
   gint samplerate, bpf;
 
-  ladspa = GST_LADSPA_SOURCE (base);
-
   /* example for tagging generated data */
   if (!ladspa->tags_pushed) {
     GstTagList *taglist;
diff --git a/ext/ladspa/gstladspautils.c b/ext/ladspa/gstladspautils.c
index 716446a..d55db6f 100644
--- a/ext/ladspa/gstladspautils.c
+++ b/ext/ladspa/gstladspautils.c
@@ -1,4 +1,4 @@
-/* GStreamer LADSPA utils 
+/* GStreamer LADSPA utils
  * Copyright (C) 1999 Erik Walthinsen <omega@cse.ogi.edu>
  *               2001 Steve Baker <stevebaker_org@yahoo.co.uk>
  *               2003 Andy Wingo <wingo at pobox.com>
@@ -21,7 +21,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-/* 
+/*
  * This module is smartly shared between the source, transform and
  * sink elements. Handling any specific LADSPA <-> gstreamer interaction.
  *
@@ -65,7 +65,7 @@
 GST_DEBUG_CATEGORY_EXTERN (ladspa_debug);
 #define GST_CAT_DEFAULT ladspa_debug
 
-/* 
+/*
  * Interleaved buffer: (c1c2c1c2...)
  * De-interleaved buffer: (c1c1...c2c2...)
  */
@@ -81,7 +81,7 @@
       outdata[i * samples + j] = ((LADSPA_Data *) indata)[j * audio_in + i];
 }
 
-/* 
+/*
  * Interleaved buffer: (c1c2c1c2...)
  * De-interleaved buffer: (c1c1...c2c2...)
  */
@@ -573,7 +573,7 @@
     GST_DEBUG ("LADSPA uri (id=%lu) : %s", desc->UniqueID, uri);
 
     /* we can take this directly from 'desc', keep this example for future
-       attributes. 
+       attributes.
 
        if ((str = lrdf_get_setting_metadata (uri, "title"))) {
        GST_DEBUG ("LADSPA title : %s", str);
@@ -726,15 +726,14 @@
   ladspa->activated = FALSE;
   ladspa->rate = 0;
 
-  ladspa->ports.audio.in =
-      g_new0 (LADSPA_Data *, ladspa->klass->count.audio.in);
+  ladspa->ports.audio.in = g_new0 (LADSPA_Data *, ladspa_class->count.audio.in);
   ladspa->ports.audio.out =
-      g_new0 (LADSPA_Data *, ladspa->klass->count.audio.out);
+      g_new0 (LADSPA_Data *, ladspa_class->count.audio.out);
 
   ladspa->ports.control.in =
-      g_new0 (LADSPA_Data, ladspa->klass->count.control.in);
+      g_new0 (LADSPA_Data, ladspa_class->count.control.in);
   ladspa->ports.control.out =
-      g_new0 (LADSPA_Data, ladspa->klass->count.control.out);
+      g_new0 (LADSPA_Data, ladspa_class->count.control.out);
 }
 
 void
@@ -836,7 +835,7 @@
   ladspa_class->plugin = NULL;
 }
 
-/* 
+/*
  * Create the type & register the element.
  */
 void