From 6a58d22b5d7b56a171d24328b8a965771e7947e6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 13 Aug 2007 22:52:51 +0000 Subject: change rank, to make sure we're preferred over alsa git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@57 bb39ca4e-bce3-0310-b5d4-eea78a553289 --- src/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin.c b/src/plugin.c index be52b32..3207fbc 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -31,10 +31,10 @@ GST_DEBUG_CATEGORY(pulse_debug); static gboolean plugin_init(GstPlugin* plugin) { - if (!gst_element_register(plugin, "pulsesink", GST_RANK_SECONDARY-1, GST_TYPE_PULSESINK)) + if (!gst_element_register(plugin, "pulsesink", GST_RANK_PRIMARY+10, GST_TYPE_PULSESINK)) return FALSE; - if (!gst_element_register(plugin, "pulsesrc", GST_RANK_SECONDARY-1, GST_TYPE_PULSESRC)) + if (!gst_element_register(plugin, "pulsesrc", GST_RANK_PRIMARY+10, GST_TYPE_PULSESRC)) return FALSE; if (!gst_element_register(plugin, "pulsemixer", GST_RANK_NONE, GST_TYPE_PULSEMIXER)) -- cgit