From 1b95e77e1a6417956abf3aa723c09cbcc28c453e Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Wed, 1 Sep 2010 16:02:44 +0300 Subject: [PATCH] Remove duplicate funcionality All proxy functions for accessing a jack patchbay interface belong to the graph proxy. graph_proxy_get_client_pid() must be used instead of the removed jack_proxy_get_client_pid() --- proxies/jack_proxy.c | 16 ---------------- proxies/jack_proxy.h | 7 +------ 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/proxies/jack_proxy.c b/proxies/jack_proxy.c index 80c9cfdd..5db2c16e 100644 --- a/proxies/jack_proxy.c +++ b/proxies/jack_proxy.c @@ -155,22 +155,6 @@ jack_proxy_is_started( } bool -jack_proxy_get_client_pid( - uint64_t client_id, - pid_t * pid_ptr) -{ - int64_t pid; - - if (!dbus_call(JACKDBUS_SERVICE_NAME, JACKDBUS_OBJECT_PATH, JACKDBUS_IFACE_PATCHBAY, "GetClientPID", "t", &client_id, "x", &pid)) - { - return false; - } - - *pid_ptr = pid; - return true; -} - -bool jack_proxy_connect_ports( uint64_t port1_id, uint64_t port2_id) diff --git a/proxies/jack_proxy.h b/proxies/jack_proxy.h index 15b9707c..0bd8ac2e 100644 --- a/proxies/jack_proxy.h +++ b/proxies/jack_proxy.h @@ -2,7 +2,7 @@ /* * LADI Session Handler (ladish) * - * Copyright (C) 2009 Nedko Arnaudov + * Copyright (C) 2009,2010 Nedko Arnaudov * ************************************************************************** * This file contains interface to the helper functionality for accessing @@ -108,11 +108,6 @@ bool jack_proxy_set_buffer_size(uint32_t size); bool jack_proxy_reset_xruns(void); bool -jack_proxy_get_client_pid( - uint64_t client_id, - pid_t * pid_ptr); - -bool jack_proxy_connect_ports( uint64_t port1_id, uint64_t port2_id); -- 2.11.4.GIT