mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
gst-libs/gst/audio/: API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the public API. This is needed for the C...
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_slave_method_get_type), (gst_base_audio_sink_class_init): * gst-libs/gst/audio/gstbaseaudiosink.h: * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_slave_method_get_type), (gst_base_audio_src_class_init): * gst-libs/gst/audio/gstbaseaudiosrc.h: API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the public API. This is needed for the C++ bindings to be able to use this base classes. Fixes bug #564200, #564206.
This commit is contained in:
parent
c5ae184910
commit
04d9ff9a24
5 changed files with 24 additions and 8 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
2008-12-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||
(gst_base_audio_sink_slave_method_get_type),
|
||||
(gst_base_audio_sink_class_init):
|
||||
* gst-libs/gst/audio/gstbaseaudiosink.h:
|
||||
* gst-libs/gst/audio/gstbaseaudiosrc.c:
|
||||
(gst_base_audio_src_slave_method_get_type),
|
||||
(gst_base_audio_src_class_init):
|
||||
* gst-libs/gst/audio/gstbaseaudiosrc.h:
|
||||
API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the
|
||||
public API. This is needed for the C++ bindings to be able
|
||||
to use this base classes. Fixes bug #564200, #564206.
|
||||
|
||||
2008-12-12 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/cdda/gstcddabasesrc.c:
|
||||
|
|
|
@ -89,10 +89,8 @@ enum
|
|||
PROP_SLAVE_METHOD
|
||||
};
|
||||
|
||||
#define GST_TYPE_SLAVE_METHOD (slave_method_get_type ())
|
||||
|
||||
static GType
|
||||
slave_method_get_type (void)
|
||||
GType
|
||||
gst_base_audio_sink_slave_method_get_type (void)
|
||||
{
|
||||
static GType slave_method_type = 0;
|
||||
static const GEnumValue slave_method[] = {
|
||||
|
@ -199,7 +197,7 @@ gst_base_audio_sink_class_init (GstBaseAudioSinkClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_SLAVE_METHOD,
|
||||
g_param_spec_enum ("slave-method", "Slave Method",
|
||||
"Algorithm to use to match the rate of the masterclock",
|
||||
GST_TYPE_SLAVE_METHOD, DEFAULT_SLAVE_METHOD,
|
||||
GST_TYPE_BASE_AUDIO_SINK_SLAVE_METHOD, DEFAULT_SLAVE_METHOD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state =
|
||||
|
|
|
@ -95,6 +95,8 @@ typedef enum
|
|||
GST_BASE_AUDIO_SINK_SLAVE_NONE
|
||||
} GstBaseAudioSinkSlaveMethod;
|
||||
|
||||
#define GST_TYPE_BASE_AUDIO_SINK_SLAVE_METHOD (gst_base_audio_sink_slave_method_get_type ())
|
||||
|
||||
typedef struct _GstBaseAudioSink GstBaseAudioSink;
|
||||
typedef struct _GstBaseAudioSinkClass GstBaseAudioSinkClass;
|
||||
typedef struct _GstBaseAudioSinkPrivate GstBaseAudioSinkPrivate;
|
||||
|
|
|
@ -45,10 +45,10 @@
|
|||
GST_DEBUG_CATEGORY_STATIC (gst_base_audio_src_debug);
|
||||
#define GST_CAT_DEFAULT gst_base_audio_src_debug
|
||||
|
||||
#define GST_TYPE_SLAVE_METHOD (slave_method_get_type ())
|
||||
#define GST_TYPE_SLAVE_METHOD (gst_base_audio_src_slave_method_get_type ())
|
||||
|
||||
static GType
|
||||
slave_method_get_type (void)
|
||||
gst_base_audio_src_slave_method_get_type (void)
|
||||
{
|
||||
static GType slave_method_type = 0;
|
||||
static const GEnumValue slave_method[] = {
|
||||
|
@ -218,7 +218,7 @@ gst_base_audio_src_class_init (GstBaseAudioSrcClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_SLAVE_METHOD,
|
||||
g_param_spec_enum ("slave-method", "Slave Method",
|
||||
"Algorithm to use to match the rate of the masterclock",
|
||||
GST_TYPE_SLAVE_METHOD, DEFAULT_SLAVE_METHOD,
|
||||
GST_TYPE_BASE_AUDIO_SRC_SLAVE_METHOD, DEFAULT_SLAVE_METHOD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state =
|
||||
|
|
|
@ -79,6 +79,8 @@ typedef enum
|
|||
GST_BASE_AUDIO_SRC_SLAVE_NONE
|
||||
} GstBaseAudioSrcSlaveMethod;
|
||||
|
||||
#define GST_TYPE_BASE_AUDIO_SRC_SLAVE_METHOD (gst_base_audio_src_slave_method_get_type ())
|
||||
|
||||
/**
|
||||
* GstBaseAudioSrc:
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue