summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-09-22 17:43:58 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-12-06 11:18:23 +0200
commit80e1bd02b3eb1f8e703e81948554452a9c3b67eb (patch)
tree4fe1d6e937616831440ffc743b4dd10a50066281 /binding
parent7680bf7ed3636ede61a334ee8d4bfd2ceecb167d (diff)
fix API usage after changesicefish_8.99.2icefish/8.99.28.99.2
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I4c00d355a2dc452ebae413f0abf39308ba314f56
Diffstat (limited to 'binding')
-rw-r--r--binding/audiomixer.c4
1 files changed, 1 insertions, 3 deletions
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,
&registry_events, self);