mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +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
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GST_TYPE_AUDIO_RESAMPLE \
|
#define GST_TYPE_AUDIO_RESAMPLE (gst_audio_resample_get_type())
|
||||||
(gst_audio_resample_get_type())
|
G_DECLARE_FINAL_TYPE (GstAudioResample, gst_audio_resample, GST, AUDIO_RESAMPLE,
|
||||||
#define GST_AUDIO_RESAMPLE(obj) \
|
GstBaseTransform)
|
||||||
(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;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstAudioResample:
|
* GstAudioResample:
|
||||||
|
@ -75,12 +65,6 @@ struct _GstAudioResample {
|
||||||
GstAudioConverter *converter;
|
GstAudioConverter *converter;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstAudioResampleClass {
|
|
||||||
GstBaseTransformClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gst_audio_resample_get_type(void);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __AUDIO_RESAMPLE_H__ */
|
#endif /* __AUDIO_RESAMPLE_H__ */
|
||||||
|
|
Loading…
Reference in a new issue