Commit f4841754 authored by Niels De Graef's avatar Niels De Graef

jack: Use G_DECLARE_FINAL_TYPE

parent 9f494290
......@@ -32,15 +32,9 @@
G_BEGIN_DECLS
#define GST_TYPE_JACK_AUDIO_SINK (gst_jack_audio_sink_get_type())
#define GST_JACK_AUDIO_SINK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_JACK_AUDIO_SINK,GstJackAudioSink))
#define GST_JACK_AUDIO_SINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_JACK_AUDIO_SINK,GstJackAudioSinkClass))
#define GST_JACK_AUDIO_SINK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),GST_TYPE_JACK_AUDIO_SINK,GstJackAudioSinkClass))
#define GST_IS_JACK_AUDIO_SINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_JACK_AUDIO_SINK))
#define GST_IS_JACK_AUDIO_SINK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_JACK_AUDIO_SINK))
typedef struct _GstJackAudioSink GstJackAudioSink;
typedef struct _GstJackAudioSinkClass GstJackAudioSinkClass;
#define GST_TYPE_JACK_AUDIO_SINK (gst_jack_audio_sink_get_type())
G_DECLARE_FINAL_TYPE (GstJackAudioSink, gst_jack_audio_sink,
GST, JACK_AUDIO_SINK, GstAudioBaseSink)
/**
* GstJackAudioSink:
......@@ -71,12 +65,6 @@ struct _GstJackAudioSink {
sample_t **buffers;
};
struct _GstJackAudioSinkClass {
GstAudioBaseSinkClass parent_class;
};
GType gst_jack_audio_sink_get_type (void);
G_END_DECLS
#endif /* __GST_JACK_AUDIO_SINK_H__ */
......@@ -53,15 +53,9 @@
G_BEGIN_DECLS
#define GST_TYPE_JACK_AUDIO_SRC (gst_jack_audio_src_get_type())
#define GST_JACK_AUDIO_SRC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_JACK_AUDIO_SRC,GstJackAudioSrc))
#define GST_JACK_AUDIO_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_JACK_AUDIO_SRC,GstJackAudioSrcClass))
#define GST_JACK_AUDIO_SRC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),GST_TYPE_JACK_AUDIO_SRC,GstJackAudioSrcClass))
#define GST_IS_JACK_AUDIO_SRC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_JACK_AUDIO_SRC))
#define GST_IS_JACK_AUDIO_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_JACK_AUDIO_SRC))
typedef struct _GstJackAudioSrc GstJackAudioSrc;
typedef struct _GstJackAudioSrcClass GstJackAudioSrcClass;
#define GST_TYPE_JACK_AUDIO_SRC (gst_jack_audio_src_get_type())
G_DECLARE_FINAL_TYPE (GstJackAudioSrc, gst_jack_audio_src,
GST, JACK_AUDIO_SRC, GstAudioBaseSrc)
struct _GstJackAudioSrc
{
......@@ -88,13 +82,6 @@ struct _GstJackAudioSrc
sample_t **buffers;
};
struct _GstJackAudioSrcClass
{
GstAudioBaseSrcClass parent_class;
};
GType gst_jack_audio_src_get_type (void);
G_END_DECLS
#endif /* __GST_JACK_AUDIO_SRC_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment