mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
volume: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
e5cc81a128
commit
1c08a6088d
1 changed files with 2 additions and 19 deletions
|
@ -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__ */
|
||||||
|
|
Loading…
Reference in a new issue