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
1.9KB

  1. /*
  2. * Carla Native Plugins
  3. * Copyright (C) 2012-2013 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 GPL.txt file
  16. */
  17. #include "CarlaNative.hpp"
  18. // Plugin Code
  19. #include "notes/DistrhoPluginNotes.cpp"
  20. #include "notes/DistrhoUINotes.cpp"
  21. // FIXME - link to widgets
  22. #include "notes/ParamProgressBar.cpp"
  23. #include "moc_ParamProgressBar.cpp"
  24. // Carla DISTRHO Plugin
  25. #include "distrho/DistrhoPluginCarla.cpp"
  26. START_NAMESPACE_DISTRHO
  27. #include "moc_DistrhoUINotes.cpp"
  28. // -----------------------------------------------------------------------
  29. static const PluginDescriptor notesDesc = {
  30. /* category */ ::PLUGIN_CATEGORY_UTILITY,
  31. /* hints */ static_cast<PluginHints>(::PLUGIN_IS_RTSAFE | ::PLUGIN_HAS_GUI | ::PLUGIN_USES_SINGLE_THREAD),
  32. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  33. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  34. /* midiIns */ 0,
  35. /* midiOuts */ 0,
  36. /* paramIns */ 1,
  37. /* paramOuts */ 0,
  38. /* name */ DISTRHO_PLUGIN_NAME,
  39. /* label */ "Notes",
  40. /* maker */ "falkTX",
  41. /* copyright */ "GPL v2+",
  42. PluginDescriptorFILL(PluginCarla)
  43. };
  44. END_NAMESPACE_DISTRHO
  45. // -----------------------------------------------------------------------
  46. void carla_register_native_plugin_Notes()
  47. {
  48. USE_NAMESPACE_DISTRHO
  49. carla_register_native_plugin(&notesDesc);
  50. }
  51. // -----------------------------------------------------------------------