gstreamer/gst/equalizer/gstiirequalizer3bands.h
Tim-Philipp Müller 730cfd609a equalizer: fix class definitions
Class structures must be based on the parent class struct, not on
the parent instance struct.
2010-09-23 21:22:45 +01:00

51 lines
1.8 KiB
C

/* GStreamer
* Copyright (C) <2007> Stefan Kost <ensonic@users.sf.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GST_IIR_EQUALIZER_3BANDS__
#define __GST_IIR_EQUALIZER_3BANDS__
#include "gstiirequalizer.h"
typedef struct _GstIirEqualizer3Bands GstIirEqualizer3Bands;
typedef struct _GstIirEqualizer3BandsClass GstIirEqualizer3BandsClass;
#define GST_TYPE_IIR_EQUALIZER_3BANDS \
(gst_iir_equalizer_3bands_get_type())
#define GST_IIR_EQUALIZER_3BANDS(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_IIR_EQUALIZER_3BANDS,GstIirEqualizer3Bands))
#define GST_IIR_EQUALIZER_3BANDS_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_IIR_EQUALIZER_3BANDS,GstIirEqualizer3BandsClass))
#define GST_IS_IIR_EQUALIZER_3BANDS(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_IIR_EQUALIZER_3BANDS))
#define GST_IS_IIR_EQUALIZER_3BANDS_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_IIR_EQUALIZER_3BANDS))
struct _GstIirEqualizer3Bands
{
GstIirEqualizer equalizer;
};
struct _GstIirEqualizer3BandsClass
{
GstIirEqualizerClass equalizer_class;
};
extern GType gst_iir_equalizer_3bands_get_type(void);
#endif /* __GST_IIR_EQUALIZER_3BANDS__ */