Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
carla_discovery.h
Go to the documentation of this file.
1// clang-format off
2// SPDX-FileCopyrightText: © 2020-2021, 2024 Alexandros Theodotou <alex@zrythm.org>
3// SPDX-License-Identifier: LicenseRef-ZrythmLicense
4// clang-format on
5
12#ifndef __PLUGINS_CARLA_DISCOVERY_H__
13#define __PLUGINS_CARLA_DISCOVERY_H__
14
15#include "zrythm-config.h"
16
17#ifdef HAVE_CARLA
18
21# include "utils/types.h"
22
23# include <CarlaUtils.h>
24
25TYPEDEF_STRUCT (PluginDescriptor);
26TYPEDEF_STRUCT (PluginManager);
27
34typedef struct ZCarlaDiscovery
35{
39 GPtrArray * handles;
40
42 GArray * handles_done;
43
44 PluginManager * owner;
45} ZCarlaDiscovery;
46
47ZCarlaDiscovery *
48z_carla_discovery_new (PluginManager * owner);
49
50void
51z_carla_discovery_free (ZCarlaDiscovery * self);
52
53void
54z_carla_discovery_start (
55 ZCarlaDiscovery * self,
56 BinaryType btype,
57 ZPluginProtocol protocol);
58
62bool
63z_carla_discovery_idle (ZCarlaDiscovery * self);
64
69z_carla_discovery_create_au_descriptor_from_info (
70 const CarlaCachedPluginInfo * info);
71
76#endif
77#endif
ZPluginProtocol
Plugin protocol.
Plugin settings.
The PluginManager is responsible for scanning and keeping track of available Plugin's.
Custom types.