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.

distrho-prom.cpp 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 "prom/DistrhoPluginProM.cpp"
  19. #include "prom/DistrhoUIProM.cpp"
  20. // DISTRHO Code
  21. #define DISTRHO_PLUGIN_TARGET_CARLA
  22. #include "DistrhoPluginMain.cpp"
  23. #include "DistrhoUIMain.cpp"
  24. START_NAMESPACE_DISTRHO
  25. // -----------------------------------------------------------------------
  26. static const NativePluginDescriptor promDesc = {
  27. /* category */ PLUGIN_CATEGORY_OTHER,
  28. /* hints */ static_cast<NativePluginHints>(PLUGIN_HAS_UI|PLUGIN_USES_PARENT_ID),
  29. /* supports */ static_cast<NativePluginSupports>(0x0),
  30. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  31. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  32. /* midiIns */ 0,
  33. /* midiOuts */ 0,
  34. /* paramIns */ 0,
  35. /* paramOuts */ 0,
  36. /* name */ DISTRHO_PLUGIN_NAME,
  37. /* label */ "prom",
  38. /* maker */ "falkTX",
  39. /* copyright */ "LGPL",
  40. PluginDescriptorFILL(PluginCarla)
  41. };
  42. END_NAMESPACE_DISTRHO
  43. // -----------------------------------------------------------------------
  44. CARLA_EXPORT
  45. void carla_register_native_plugin_prom()
  46. {
  47. USE_NAMESPACE_DISTRHO
  48. carla_register_native_plugin(&promDesc);
  49. }
  50. // -----------------------------------------------------------------------