G_BEGIN_DECLS
-
-#define GST_TYPE_AUDIO_TEST_SRC \
- (gst_audio_test_src_get_type())
-#define GST_AUDIO_TEST_SRC(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_TEST_SRC,GstAudioTestSrc))
-#define GST_AUDIO_TEST_SRC_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_TEST_SRC,GstAudioTestSrcClass))
-#define GST_IS_AUDIO_TEST_SRC(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_TEST_SRC))
-#define GST_IS_AUDIO_TEST_SRC_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_TEST_SRC))
+#define GST_TYPE_AUDIO_TEST_SRC (gst_audio_test_src_get_type())
+G_DECLARE_FINAL_TYPE (GstAudioTestSrc, gst_audio_test_src, GST, AUDIO_TEST_SRC,
+ GstBaseSrc)
/**
* GstAudioTestSrcWave:
gdouble state; /* noise state */
} GstRedNoise;
-typedef struct _GstAudioTestSrc GstAudioTestSrc;
-typedef struct _GstAudioTestSrcClass GstAudioTestSrcClass;
-
typedef void (*ProcessFunc) (GstAudioTestSrc*, guint8 *);
/**
guint tick_counter;
};
-struct _GstAudioTestSrcClass {
- GstBaseSrcClass parent_class;
-};
-
-GType gst_audio_test_src_get_type (void);
-
G_END_DECLS
#endif /* __GST_AUDIO_TEST_SRC_H__ */