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.

68 lines
2.2KB

  1. /*
  2. * Carla Native Plugins
  3. * Copyright (C) 2012-2017 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. #include "CarlaJuceUtils.hpp"
  18. // Plugin Code
  19. #include "distrho-prom/DistrhoPluginProM.cpp"
  20. #include "distrho-prom/DistrhoUIProM.cpp"
  21. // DISTRHO Code
  22. #define DISTRHO_PLUGIN_TARGET_CARLA
  23. #include "DistrhoPluginMain.cpp"
  24. #include "DistrhoUIMain.cpp"
  25. START_NAMESPACE_DISTRHO
  26. // -----------------------------------------------------------------------
  27. static const NativePluginDescriptor promDesc = {
  28. /* category */ NATIVE_PLUGIN_CATEGORY_UTILITY,
  29. /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE
  30. |NATIVE_PLUGIN_HAS_UI
  31. |NATIVE_PLUGIN_NEEDS_UI_MAIN_THREAD
  32. |NATIVE_PLUGIN_USES_PARENT_ID),
  33. /* supports */ NATIVE_PLUGIN_SUPPORTS_NOTHING,
  34. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  35. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  36. /* midiIns */ 0,
  37. /* midiOuts */ 0,
  38. /* paramIns */ 0,
  39. /* paramOuts */ 0,
  40. /* name */ DISTRHO_PLUGIN_NAME,
  41. /* label */ "prom",
  42. /* maker */ "falkTX",
  43. /* copyright */ "LGPL",
  44. PluginDescriptorFILL(PluginCarla)
  45. };
  46. END_NAMESPACE_DISTRHO
  47. // -----------------------------------------------------------------------
  48. CARLA_EXPORT
  49. void carla_register_native_plugin_distrho_prom();
  50. CARLA_EXPORT
  51. void carla_register_native_plugin_distrho_prom()
  52. {
  53. USE_NAMESPACE_DISTRHO
  54. carla_register_native_plugin(&promDesc);
  55. }
  56. // -----------------------------------------------------------------------