summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2018-09-21 16:43:11 +0200
committerWim Taymans <wtaymans@redhat.com>2018-09-21 16:43:11 +0200
commit59f10ad45333866ad1c2583110e71ba4a533f979 (patch)
tree7a51e12f8217be9d75f83e6b8ee713e4aedbe787 /src/tools
parentce4cfd78e73f4cff23c69105e64614d306fbb98d (diff)
Add proxy destroy
Make the current destroy method on the core for proxies to remove the server side resource. Make a new destroy method on the registry to destroy globals. Remove the destroy method on the client-node media-session: monitor the dsp and device node states to manage the session state
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pipewire-cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/pipewire-cli.c b/src/tools/pipewire-cli.c
index 3f28ebcf..775d0be9 100644
--- a/src/tools/pipewire-cli.c
+++ b/src/tools/pipewire-cli.c
@@ -992,7 +992,7 @@ static bool do_destroy(struct data *data, const char *cmd, char *args, char **er
asprintf(error, "%s: unknown global %d", cmd, id);
return false;
}
- pw_core_proxy_destroy(rd->core_proxy, id);
+ pw_registry_proxy_destroy(rd->registry_proxy, id);
return true;
}