|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- /*
- * Carla Native Plugins
- * Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * For a full copy of the GNU General Public License see the doc/GPL.txt file.
- */
-
- // config fix
- #include "CarlaDefines.h"
- #include "distrho-mverb/DistrhoPluginInfo.h"
-
- #if DISTRHO_PLUGIN_HAS_UI && (defined(CARLA_OS_WIN) || ! defined(HAVE_DGL))
- # undef DISTRHO_PLUGIN_HAS_UI
- # define DISTRHO_PLUGIN_HAS_UI 0
- #endif
-
- // Plugin Code
- #include "distrho-mverb/DistrhoArtworkMVerb.cpp"
- #include "distrho-mverb/DistrhoPluginMVerb.cpp"
- #if DISTRHO_PLUGIN_HAS_UI
- #include "distrho-mverb/DistrhoUIMVerb.cpp"
- #include "distrho-mverb/font/Kh-Kangrey.cpp"
- #endif
-
- // DISTRHO Code
- #define DISTRHO_PLUGIN_TARGET_CARLA
- #include "DistrhoPluginMain.cpp"
- #if DISTRHO_PLUGIN_HAS_UI
- #include "DistrhoUIMain.cpp"
- #endif
-
- START_NAMESPACE_DISTRHO
-
- // -----------------------------------------------------------------------
-
- static const NativePluginDescriptor _mverbDesc = {
- /* category */ NATIVE_PLUGIN_CATEGORY_DELAY,
- #if DISTRHO_PLUGIN_HAS_UI
- /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE
- |NATIVE_PLUGIN_HAS_UI
- |NATIVE_PLUGIN_NEEDS_UI_MAIN_THREAD
- |NATIVE_PLUGIN_USES_PARENT_ID),
- #else
- /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE),
- #endif
- /* supports */ static_cast<NativePluginSupports>(0x0),
- /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
- /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
- /* midiIns */ 0,
- /* midiOuts */ 0,
- /* paramIns */ MVerb<float>::NUM_PARAMS,
- /* paramOuts */ 0,
- /* name */ DISTRHO_PLUGIN_NAME,
- /* label */ "mverb",
- /* maker */ "falkTX, Martin Eastwood",
- /* copyright */ "GPL v3+",
- PluginDescriptorFILL(PluginCarla)
- };
-
- END_NAMESPACE_DISTRHO
-
- // -----------------------------------------------------------------------
-
- CARLA_EXPORT
- void carla_register_native_plugin_distrho_mverb();
-
- CARLA_EXPORT
- void carla_register_native_plugin_distrho_mverb()
- {
- USE_NAMESPACE_DISTRHO
- carla_register_native_plugin(&_mverbDesc);
- }
-
- // -----------------------------------------------------------------------
|