volume: Use G_DECLARE_FINAL_TYPE

This commit is contained in:
Niels De Graef 2020-03-12 13:32:23 +01:00 committed by GStreamer Merge Bot
parent e5cc81a128
commit 1c08a6088d

View file

@ -32,19 +32,8 @@
G_BEGIN_DECLS G_BEGIN_DECLS
#define GST_TYPE_VOLUME \ #define GST_TYPE_VOLUME (gst_volume_get_type())
(gst_volume_get_type()) G_DECLARE_FINAL_TYPE (GstVolume, gst_volume, GST, VOLUME, GstAudioFilter)
#define GST_VOLUME(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VOLUME,GstVolume))
#define GST_VOLUME_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VOLUME,GstVolumeClass))
#define GST_IS_VOLUME(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VOLUME))
#define GST_IS_VOLUME_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VOLUME))
typedef struct _GstVolume GstVolume;
typedef struct _GstVolumeClass GstVolumeClass;
/** /**
* GstVolume: * GstVolume:
@ -77,12 +66,6 @@ struct _GstVolume {
guint volumes_count; guint volumes_count;
}; };
struct _GstVolumeClass {
GstAudioFilterClass parent_class;
};
GType gst_volume_get_type (void);
G_END_DECLS G_END_DECLS
#endif /* __GST_VOLUME_H__ */ #endif /* __GST_VOLUME_H__ */