fix API usage after changes 76/23276/1 8.99.2 icefish/8.99.2 icefish_8.99.2
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Sun, 22 Sep 2019 14:43:58 +0000 (17:43 +0300)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Fri, 6 Dec 2019 09:18:23 +0000 (11:18 +0200)
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I4c00d355a2dc452ebae413f0abf39308ba314f56

binding/audiomixer.c

index e09b37b..781424a 100644 (file)
@@ -407,9 +407,7 @@ on_remote_state_changed(void *data, enum pw_remote_state old,
        if (state == PW_REMOTE_STATE_CONNECTED) {
                self->core_proxy = pw_remote_get_core_proxy(self->remote);
                self->registry_proxy = pw_core_proxy_get_registry(
-                       self->core_proxy,
-                       PW_TYPE_INTERFACE_Registry,
-                       PW_VERSION_REGISTRY, 0);
+                       self->core_proxy, PW_VERSION_REGISTRY_PROXY, 0);
                pw_registry_proxy_add_listener(self->registry_proxy,
                        &self->registry_listener,
                        &registry_events, self);