mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
twolame: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
58d74f0ec5
commit
5406208f0d
1 changed files with 2 additions and 19 deletions
|
@ -30,19 +30,8 @@ G_BEGIN_DECLS
|
|||
|
||||
#include <twolame.h>
|
||||
|
||||
#define GST_TYPE_TWO_LAME \
|
||||
(gst_two_lame_get_type())
|
||||
#define GST_TWO_LAME(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TWO_LAME,GstTwoLame))
|
||||
#define GST_TWO_LAME_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TWO_LAME,GstTwoLameClass))
|
||||
#define GST_IS_TWO_LAME(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TWO_LAME))
|
||||
#define GST_IS_TWO_LAME_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TWO_LAME))
|
||||
|
||||
typedef struct _GstTwoLame GstTwoLame;
|
||||
typedef struct _GstTwoLameClass GstTwoLameClass;
|
||||
#define GST_TYPE_TWO_LAME (gst_two_lame_get_type())
|
||||
G_DECLARE_FINAL_TYPE (GstTwoLame, gst_two_lame, GST, TWO_LAME, GstAudioEncoder)
|
||||
|
||||
/**
|
||||
* GstTwoLame:
|
||||
|
@ -76,12 +65,6 @@ struct _GstTwoLame {
|
|||
twolame_options *glopts;
|
||||
};
|
||||
|
||||
struct _GstTwoLameClass {
|
||||
GstAudioEncoderClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_two_lame_get_type(void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue