From 4a5a0923821b4b80cb8406f38d3d689c0a6f44e2 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Fri, 12 Feb 2010 18:12:22 +0000 Subject: fixed the default sink issue arggg --- src/pulse-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pulse-manager.c b/src/pulse-manager.c index e32d723..d884da7 100644 --- a/src/pulse-manager.c +++ b/src/pulse-manager.c @@ -111,8 +111,8 @@ static gboolean sink_available() // one as opposed to just picking the first g_debug("About to test for to see if the available sink is null"); - gboolean available = (g_strcasecmp(s->name, " auto_null ") != 0) && s->active_port == TRUE; - g_debug("sink_available (auto_null && !active_port) %i", available); + gboolean available = (g_ascii_strncasecmp(s->name, " auto_null ") != 0); + g_debug("sink_available: %i", available); return available; } -- cgit v1.2.3