mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
audioresample: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
f91659ba92
commit
a1ef6a1179
1 changed files with 3 additions and 19 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Reference in a new issue