2 * Carla JACK API for external applications
3 * Copyright (C) 2016-2022 Filipe Coelho <falktx@falktx.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * For a full copy of the GNU General Public License see the doc/GPL.txt file.
18 #include "libjack.hpp"
20 CARLA_BACKEND_USE_NAMESPACE
22 // --------------------------------------------------------------------------------------------------------------------
25 int jack_client_name_size(void)
27 carla_debug("%s()", __FUNCTION__
);
33 char* jack_get_client_name(jack_client_t
* client
)
35 carla_debug("%s(%p)", __FUNCTION__
, client
);
37 JackClientState
* const jclient
= (JackClientState
*)client
;
38 CARLA_SAFE_ASSERT_RETURN(jclient
!= nullptr, nullptr);
43 // --------------------------------------------------------------------------------------------------------------------
46 int jack_internal_client_new(const char*, const char*, const char*)
52 void jack_internal_client_close(const char*)
56 // --------------------------------------------------------------------------------------------------------------------
59 int jack_get_client_pid(const char*)
64 // --------------------------------------------------------------------------------------------------------------------