"Leif Johnson <leif@ambient.2y.net>"
);
-static void gst_alsa_interface_init (GstInterfaceClass *klass);
+static void gst_alsa_interface_init (GstImplementsInterfaceClass *klass);
static void gst_alsa_mixer_class_init (gpointer g_class,
gpointer class_data);
static void gst_alsa_mixer_init (GstAlsaMixer * mixer);
static void gst_alsa_mixer_dispose (GObject * object);
static void gst_alsa_mixer_interface_init (GstMixerClass* klass);
-static gboolean gst_alsa_mixer_supported (GstInterface * iface,
+static gboolean gst_alsa_mixer_supported (GstImplementsInterface * iface,
GType iface_type);
/* GStreamer stuff */
alsa_mixer_type = g_type_register_static (GST_TYPE_ALSA, "GstAlsaMixer", &alsa_mixer_info, 0);
- g_type_add_interface_static (alsa_mixer_type, GST_TYPE_INTERFACE, &alsa_iface_info);
+ g_type_add_interface_static (alsa_mixer_type, GST_TYPE_IMPLEMENTS_INTERFACE, &alsa_iface_info);
g_type_add_interface_static (alsa_mixer_type, GST_TYPE_MIXER, &alsa_mixer_iface_info);
}
}
static void
-gst_alsa_interface_init (GstInterfaceClass *klass)
+gst_alsa_interface_init (GstImplementsInterfaceClass *klass)
{
klass->supported = gst_alsa_mixer_supported;
}
}
gboolean
-gst_alsa_mixer_supported (GstInterface *iface, GType iface_type)
+gst_alsa_mixer_supported (GstImplementsInterface *iface, GType iface_type)
{
g_assert (iface_type == GST_TYPE_MIXER);