From 201dff7b2e881228b14c4aa67fb51360f548043c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Oct 2007 02:05:53 +0000 Subject: ignore updates not relevant to us git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1996 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/modules/module-tunnel.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/modules/module-tunnel.c') diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c index c36e70b7..485b6f3b 100644 --- a/src/modules/module-tunnel.c +++ b/src/modules/module-tunnel.c @@ -675,6 +675,9 @@ static void sink_info_cb(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED uint3 goto fail; } + if (strcmp(name, u->sink_name)) + return; + pa_xfree(u->device_description); u->device_description = pa_xstrdup(description); @@ -785,6 +788,9 @@ static void source_info_cb(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED uin goto fail; } + if (strcmp(name, u->source_name)) + return; + pa_xfree(u->device_description); u->device_description = pa_xstrdup(description); -- cgit