From 80e1bd02b3eb1f8e703e81948554452a9c3b67eb Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Sun, 22 Sep 2019 17:43:58 +0300 Subject: fix API usage after changes Signed-off-by: George Kiagiadakis Change-Id: I4c00d355a2dc452ebae413f0abf39308ba314f56 --- binding/audiomixer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'binding') diff --git a/binding/audiomixer.c b/binding/audiomixer.c index e09b37b..781424a 100644 --- a/binding/audiomixer.c +++ b/binding/audiomixer.c @@ -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, ®istry_events, self); -- cgit 1.2.3-korg