0dedecc112
Too many changes to list here: http://pulseaudio.org/milestone/0.9.15 http://pulseaudio.org/milestone/0.9.16 http://pulseaudio.org/milestone/0.9.17 http://pulseaudio.org/milestone/0.9.18 http://pulseaudio.org/milestone/0.9.19 http://pulseaudio.org/milestone/0.9.20 http://pulseaudio.org/milestone/0.9.21
16 lines
754 B
Text
16 lines
754 B
Text
$NetBSD: patch-dc,v 1.1 2010/02/01 15:00:20 jmcneill Exp $
|
|
|
|
--- src/modules/module-hal-detect.c.orig 2009-09-10 00:04:58.000000000 +0000
|
|
+++ src/modules/module-hal-detect.c
|
|
@@ -337,6 +337,11 @@ static int hal_device_load_oss(struct us
|
|
|
|
/* We store only one entry per card, hence we look for the originating device */
|
|
originating_udi = libhal_device_get_property_string(u->context, udi, "oss.originating_device", &error);
|
|
+ if (dbus_error_is_set(&error) || !originating_udi) {
|
|
+ if (dbus_error_is_set(&error))
|
|
+ dbus_error_free(&error);
|
|
+ originating_udi = libhal_device_get_property_string(u->context, udi, "sound.originating_device", &error);
|
|
+ }
|
|
if (dbus_error_is_set(&error) || !originating_udi)
|
|
goto fail;
|
|
|