Ticket #544: patch-src_modules_module-hal-detect.c

File patch-src_modules_module-hal-detect.c, 493 bytes (added by cmt, 3 years ago)

patch to module-hal-detect.c which fixes the issue on my system

Line 
1--- src/modules/module-hal-detect.c.orig    2009-04-18 11:29:22.000000000 +0200
2+++ src/modules/module-hal-detect.c 2009-04-18 11:50:16.000000000 +0200
3@@ -291,9 +291,8 @@
4         if (pa_startswith(e + 1, "audio"))
5             goto finish;
6 
7-    /* We only care for the main device */
8     device = libhal_device_get_property_int(context, udi, "oss.device", &error);
9-    if (dbus_error_is_set(&error) || device != 0)
10+    if (dbus_error_is_set(&error))
11         goto finish;
12 
13     r = TRUE;