audiorate: Use G_DECLARE_FINAL_TYPE

This commit is contained in:
Niels De Graef 2020-03-12 07:44:28 +01:00 committed by GStreamer Merge Bot
parent a1ef6a1179
commit a42f4be0eb

View file

@ -25,19 +25,8 @@
G_BEGIN_DECLS
#define GST_TYPE_AUDIO_RATE \
(gst_audio_rate_get_type())
#define GST_AUDIO_RATE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_RATE,GstAudioRate))
#define GST_AUDIO_RATE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_RATE,GstAudioRate))
#define GST_IS_AUDIO_RATE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_RATE))
#define GST_IS_AUDIO_RATE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_RATE))
typedef struct _GstAudioRate GstAudioRate;
typedef struct _GstAudioRateClass GstAudioRateClass;
#define GST_TYPE_AUDIO_RATE (gst_audio_rate_get_type())
G_DECLARE_FINAL_TYPE (GstAudioRate, gst_audio_rate, GST, AUDIO_RATE, GstElement)
/**
* GstAudioRate:
@ -72,13 +61,6 @@ struct _GstAudioRate
GstSegment src_segment;
};
struct _GstAudioRateClass
{
GstElementClass parent_class;
};
GType gst_audio_rate_get_type (void);
G_END_DECLS
#endif /* __GST_AUDIO_RATE_H__ */