audioresample: Use G_DECLARE_FINAL_TYPE

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

View file

@ -28,19 +28,9 @@
G_BEGIN_DECLS
#define GST_TYPE_AUDIO_RESAMPLE \
(gst_audio_resample_get_type())
#define GST_AUDIO_RESAMPLE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_RESAMPLE,GstAudioResample))
#define GST_AUDIO_RESAMPLE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_RESAMPLE,GstAudioResampleClass))
#define GST_IS_AUDIO_RESAMPLE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_RESAMPLE))
#define GST_IS_AUDIO_RESAMPLE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_RESAMPLE))
typedef struct _GstAudioResample GstAudioResample;
typedef struct _GstAudioResampleClass GstAudioResampleClass;
#define GST_TYPE_AUDIO_RESAMPLE (gst_audio_resample_get_type())
G_DECLARE_FINAL_TYPE (GstAudioResample, gst_audio_resample, GST, AUDIO_RESAMPLE,
GstBaseTransform)
/**
* GstAudioResample:
@ -75,12 +65,6 @@ struct _GstAudioResample {
GstAudioConverter *converter;
};
struct _GstAudioResampleClass {
GstBaseTransformClass parent_class;
};
GType gst_audio_resample_get_type(void);
G_END_DECLS
#endif /* __AUDIO_RESAMPLE_H__ */