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