[pulseaudio-commits] r1612 - /branches/lennart/src/modules/module-hal-detect.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Aug 9 17:29:29 PDT 2007


Author: lennart
Date: Fri Aug 10 02:29:28 2007
New Revision: 1612

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1612&root=3Dpulseaudio&vi=
ew=3Drev
Log:
handle ACLAdded messages for previously unknown devices identically to a re=
ally new device

Modified:
    branches/lennart/src/modules/module-hal-detect.c

Modified: branches/lennart/src/modules/module-hal-detect.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/mo=
dule-hal-detect.c?rev=3D1612&root=3Dpulseaudio&r1=3D1611&r2=3D1612&view=3Dd=
iff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/modules/module-hal-detect.c (original)
+++ branches/lennart/src/modules/module-hal-detect.c Fri Aug 10 02:29:28 20=
07
@@ -502,7 +502,6 @@
         /* capability we care about, pretend it was removed */
         device_removed_cb(context, udi);
 }
-
 =

 static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *messa=
ge, void *userdata) {
     struct userdata*u =3D userdata;
@@ -565,7 +564,7 @@
                 }
                 =

             } else if (!suspend)
-                hal_device_add(u, udi);
+                device_added_cb(u->context, udi);
         }
         =

     } else if (dbus_message_is_signal(message, "org.pulseaudio.Server", "D=
irtyGiveUpMessage")) {
@@ -605,7 +604,7 @@
             =

         } else =

             /* Yes, we don't check the UDI for validity, but hopefully HAL=
 will */
-            hal_device_add(u, udi);
+            device_added_cb(u->context, udi);
     }
 =

 finish:




More information about the pulseaudio-commits mailing list