summaryrefslogtreecommitdiffstats
path: root/sys/oss
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-07 12:11:29 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-07 12:11:29 +0000
commitbac7d40601f9ccb2645f6e3754a39c0ce6d7f57f (patch)
tree2895099fe14199a0a04f1264973a467788aa0864 /sys/oss
parent45aff4bc9c5d546cbfc164b5afae824b6b79e553 (diff)
Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
Original commit message from CVS: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
Diffstat (limited to 'sys/oss')
-rw-r--r--sys/oss/gstosselement.c2
-rw-r--r--sys/oss/gstossmixer.c8
-rw-r--r--sys/oss/gstossmixer.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/oss/gstosselement.c b/sys/oss/gstosselement.c
index 9e1814a5..03aff113 100644
--- a/sys/oss/gstosselement.c
+++ b/sys/oss/gstosselement.c
@@ -110,7 +110,7 @@ gst_osselement_get_type (void)
"GstOssElement",
&osselement_info, 0);
g_type_add_interface_static (osselement_type,
- GST_TYPE_INTERFACE,
+ GST_TYPE_IMPLEMENTS_INTERFACE,
&ossiface_info);
g_type_add_interface_static (osselement_type,
GST_TYPE_MIXER,
diff --git a/sys/oss/gstossmixer.c b/sys/oss/gstossmixer.c
index 19a53e0c..7c5899f9 100644
--- a/sys/oss/gstossmixer.c
+++ b/sys/oss/gstossmixer.c
@@ -40,7 +40,7 @@
static void gst_ossmixer_track_class_init (GstOssMixerTrackClass *klass);
static void gst_ossmixer_track_init (GstOssMixerTrack *track);
-static gboolean gst_ossmixer_supported (GstInterface *iface,
+static gboolean gst_ossmixer_supported (GstImplementsInterface *iface,
GType iface_type);
static const GList *
gst_ossmixer_list_tracks (GstMixer *ossmixer);
@@ -203,7 +203,7 @@ gst_ossmixer_track_new (GstOssElement *oss,
}
void
-gst_oss_interface_init (GstInterfaceClass *klass)
+gst_oss_interface_init (GstImplementsInterfaceClass *klass)
{
/* default virtual functions */
klass->supported = gst_ossmixer_supported;
@@ -221,8 +221,8 @@ gst_ossmixer_interface_init (GstMixerClass *klass)
}
static gboolean
-gst_ossmixer_supported (GstInterface *iface,
- GType iface_type)
+gst_ossmixer_supported (GstImplementsInterface *iface,
+ GType iface_type)
{
g_assert (iface_type == GST_TYPE_MIXER);
diff --git a/sys/oss/gstossmixer.h b/sys/oss/gstossmixer.h
index 24521fd4..dd2fb4fc 100644
--- a/sys/oss/gstossmixer.h
+++ b/sys/oss/gstossmixer.h
@@ -55,7 +55,7 @@ typedef struct _GstOssMixerTrackClass {
GType gst_ossmixer_track_get_type (void);
void gst_ossmixer_interface_init (GstMixerClass *klass);
-void gst_oss_interface_init (GstInterfaceClass *klass);
+void gst_oss_interface_init (GstImplementsInterfaceClass *klass);
void gst_ossmixer_build_list (GstOssElement *oss);
void gst_ossmixer_free_list (GstOssElement *oss);