Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I4c00d355a2dc452ebae413f0abf39308ba314f56
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,
®istry_events, self);