[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, stable-queue, updated. v0.9.21-12-g9b37dce

Lennart Poettering gitmailer-noreply at 0pointer.de
Wed Jan 13 10:41:33 PST 2010


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The stable-queue branch has been updated
      from  21b484e056be445fdaf00f91ce50bc40b1ac9623 (commit)

- Log -----------------------------------------------------------------
9b37dce udev: make sure we get events only for sound devices
-----------------------------------------------------------------------

Summary of changes:
 src/modules/module-udev-detect.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

-----------------------------------------------------------------------

commit 9b37dce4223aaf7a5f48b04b52c89b46ad97cf73
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Jan 13 19:41:44 2010 +0100

    udev: make sure we get events only for sound devices

diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c
index 7508d9a..58635a5 100644
--- a/src/modules/module-udev-detect.c
+++ b/src/modules/module-udev-detect.c
@@ -639,6 +639,11 @@ int pa__init(pa_module *m) {
         goto fail;
     }
 
+    if (udev_monitor_filter_add_match_subsystem_devtype(u->monitor, "sound", NULL) < 0) {
+        pa_log("Failed to subscribe to sound devices.");
+        goto fail;
+    }
+
     errno = 0;
     if (udev_monitor_enable_receiving(u->monitor) < 0) {
         pa_log("Failed to enable monitor: %s", pa_cstrerror(errno));

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list