VST3: fetch midi mappings all at once, use it for note/sound-off
[carla.git] / source / backend / utils / JUCE.cpp
blobfb13fd3d6893f5712a6ba2c6ae25ad2f0710ec10
1 // SPDX-FileCopyrightText: 2011-2024 Filipe Coelho <falktx@falktx.com>
2 // SPDX-License-Identifier: GPL-2.0-or-later
4 #include "CarlaUtils.h"
6 #ifdef USING_JUCE
7 # include "carla_juce/carla_juce.h"
8 #endif
10 // -------------------------------------------------------------------------------------------------------------------
12 void carla_juce_init()
14 #ifdef USING_JUCE
15 CarlaJUCE::initialiseJuce_GUI();
16 #endif
19 void carla_juce_idle()
21 #ifdef USING_JUCE
22 CarlaJUCE::idleJuce_GUI();
23 #endif
26 void carla_juce_cleanup()
28 #ifdef USING_JUCE
29 CarlaJUCE::shutdownJuce_GUI();
30 #endif
33 // -------------------------------------------------------------------------------------------------------------------