From 27ced4c8e6ab62c906016f15a793536445285691 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 15 Jun 2020 13:05:49 +0200 Subject: [PATCH] pulse: fix discovery of newly added devices Fix regression introduced in 7bc5e28d85992b03e5852879b8d4d96043496caf preventing the device provider to send the device-added message for new devices. By early returning the patch was discarding add/remove events. Fix #735 Part-of: --- ext/pulse/pulsedeviceprovider.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/pulse/pulsedeviceprovider.c b/ext/pulse/pulsedeviceprovider.c index 4f69bf2ae6..dbc7c10d92 100644 --- a/ext/pulse/pulsedeviceprovider.c +++ b/ext/pulse/pulsedeviceprovider.c @@ -341,8 +341,6 @@ context_subscribe_cb (pa_context * context, pa_subscription_event_type_t type, if (facility == PA_SUBSCRIPTION_EVENT_SERVER || facility != PA_SUBSCRIPTION_EVENT_CHANGE) { pa_context_get_server_info (self->context, get_server_info_cb, self); - - return; } if (facility != PA_SUBSCRIPTION_EVENT_SOURCE &&