Audio plugin host https://kx.studio/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.

64 lines
2.0KB

  1. /*
  2. * Carla Native Plugins
  3. * Copyright (C) 2012-2014 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. // Plugin Code
  18. #include "zamulticompx2/ZaMultiCompX2Artwork.cpp"
  19. #include "zamulticompx2/ZaMultiCompX2Plugin.cpp"
  20. #include "zamulticompx2/ZaMultiCompX2UI.cpp"
  21. // DISTRHO Code
  22. #define DISTRHO_PLUGIN_TARGET_CARLA
  23. #include "DistrhoPluginMain.cpp"
  24. #include "DistrhoUIMain.cpp"
  25. // FIXME
  26. #include "ImageToggle.cpp"
  27. START_NAMESPACE_DISTRHO
  28. // -----------------------------------------------------------------------
  29. static const NativePluginDescriptor zamulticompx2Desc = {
  30. /* category */ PLUGIN_CATEGORY_DYNAMICS,
  31. /* hints */ static_cast<NativePluginHints>(PLUGIN_IS_RTSAFE|PLUGIN_HAS_UI|PLUGIN_USES_PARENT_ID),
  32. /* supports */ static_cast<NativePluginSupports>(0x0),
  33. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  34. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  35. /* midiIns */ 0,
  36. /* midiOuts */ 0,
  37. /* paramIns */ ZaMultiCompX2Plugin::paramCount,
  38. /* paramOuts */ 0,
  39. /* name */ DISTRHO_PLUGIN_NAME,
  40. /* label */ "zamulticompx2",
  41. /* maker */ "Damien Zammit",
  42. /* copyright */ "GPL v2+",
  43. PluginDescriptorFILL(PluginCarla)
  44. };
  45. END_NAMESPACE_DISTRHO
  46. // -----------------------------------------------------------------------
  47. CARLA_EXPORT
  48. void carla_register_native_plugin_zamulticompx2()
  49. {
  50. USE_NAMESPACE_DISTRHO
  51. carla_register_native_plugin(&zamulticompx2Desc);
  52. }
  53. // -----------------------------------------------------------------------