summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-05 08:17:53 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-05 08:21:33 +0100
commit0525abd4af5c24bc2776b10bbf1b21828f429fe1 (patch)
tree50d76192f60da5118eebf94564c0fea10271e0e5
parente1acc8f4da8b4d684153ec7dd0c432b214be858f (diff)
equalizer: Fix code style
-rw-r--r--gst/equalizer/gstiirequalizer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c
index b3c2f81ee..665cae6b5 100644
--- a/gst/equalizer/gstiirequalizer.c
+++ b/gst/equalizer/gstiirequalizer.c
@@ -307,7 +307,6 @@ static void
gst_iir_equalizer_base_init (gpointer g_class)
{
GstAudioFilterClass *audiofilter_class = GST_AUDIO_FILTER_CLASS (g_class);
-
GstCaps *caps;
caps = gst_caps_from_string (ALLOWED_CAPS);
@@ -319,13 +318,10 @@ static void
gst_iir_equalizer_class_init (GstIirEqualizerClass * klass)
{
GstAudioFilterClass *audio_filter_class = (GstAudioFilterClass *) klass;
-
GstBaseTransformClass *btrans_class = (GstBaseTransformClass *) klass;
-
GObjectClass *gobject_class = (GObjectClass *) klass;
gobject_class->finalize = gst_iir_equalizer_finalize;
-
audio_filter_class->setup = gst_iir_equalizer_setup;
btrans_class->transform_ip = gst_iir_equalizer_transform_ip;
}
@@ -340,7 +336,6 @@ static void
gst_iir_equalizer_finalize (GObject * object)
{
GstIirEqualizer *equ = GST_IIR_EQUALIZER (object);
-
gint i;
for (i = 0; i < equ->freq_band_count; i++) {
@@ -535,7 +530,6 @@ static void
set_passthrough (GstIirEqualizer * equ)
{
gint i;
-
gboolean passthrough = TRUE;
for (i = 0; i < equ->freq_band_count; i++) {
@@ -746,9 +740,7 @@ static GstFlowReturn
gst_iir_equalizer_transform_ip (GstBaseTransform * btrans, GstBuffer * buf)
{
GstAudioFilter *filter = GST_AUDIO_FILTER (btrans);
-
GstIirEqualizer *equ = GST_IIR_EQUALIZER (btrans);
-
GstClockTime timestamp;
if (G_UNLIKELY (filter->format.channels < 1 || equ->process == NULL))