External plugins for Carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.0KB

  1. /*
  2. * Carla Native Plugins
  3. * Copyright (C) 2012-2022 Filipe Coelho <falktx@falktx.com>
  4. *
  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.
  9. *
  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.
  14. *
  15. * For a full copy of the GNU General Public License see the doc/GPL.txt file.
  16. */
  17. // config fix
  18. #include "distrho-kars/DistrhoPluginInfo.h"
  19. #include "CarlaJuceUtils.hpp"
  20. // Plugin Code
  21. #include "distrho-kars/DistrhoPluginKars.cpp"
  22. // DISTRHO Code
  23. #define DISTRHO_PLUGIN_TARGET_CARLA
  24. #include "DistrhoPluginMain.cpp"
  25. START_NAMESPACE_DISTRHO
  26. // -----------------------------------------------------------------------
  27. static const NativePluginDescriptor karsDesc = {
  28. /* category */ NATIVE_PLUGIN_CATEGORY_SYNTH,
  29. /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE
  30. |NATIVE_PLUGIN_IS_SYNTH),
  31. /* supports */ NATIVE_PLUGIN_SUPPORTS_NOTHING,
  32. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  33. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  34. /* midiIns */ 1,
  35. /* midiOuts */ 0,
  36. /* paramIns */ DistrhoPluginKars::paramCount,
  37. /* paramOuts */ 0,
  38. /* name */ DISTRHO_PLUGIN_NAME,
  39. /* label */ "kars",
  40. /* maker */ "falkTX, Chris Cannam",
  41. /* copyright */ "ISC",
  42. PluginDescriptorFILL(PluginCarla)
  43. };
  44. END_NAMESPACE_DISTRHO
  45. // -----------------------------------------------------------------------
  46. CARLA_API_EXPORT
  47. void carla_register_native_plugin_distrho_kars();
  48. CARLA_API_EXPORT
  49. void carla_register_native_plugin_distrho_kars()
  50. {
  51. USE_NAMESPACE_DISTRHO
  52. carla_register_native_plugin(&karsDesc);
  53. }
  54. // -----------------------------------------------------------------------