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-zamtube.cpp 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 "zamtube/ZamTubeArtwork.cpp"
  19. #include "zamtube/ZamTubePlugin.cpp"
  20. #include "zamtube/ZamTubeUI.cpp"
  21. #include "zamtube/wdf.cpp"
  22. // DISTRHO Code
  23. #define DISTRHO_PLUGIN_TARGET_CARLA
  24. #include "DistrhoPluginMain.cpp"
  25. #include "DistrhoUIMain.cpp"
  26. START_NAMESPACE_DISTRHO
  27. // -----------------------------------------------------------------------
  28. static const NativePluginDescriptor zamtubeDesc = {
  29. /* category */ PLUGIN_CATEGORY_DYNAMICS,
  30. /* hints */ static_cast<NativePluginHints>(PLUGIN_IS_RTSAFE|PLUGIN_HAS_UI|PLUGIN_USES_PARENT_ID),
  31. /* supports */ static_cast<NativePluginSupports>(0x0),
  32. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  33. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  34. /* midiIns */ 0,
  35. /* midiOuts */ 0,
  36. /* paramIns */ ZamTubePlugin::paramCount,
  37. /* paramOuts */ 0,
  38. /* name */ DISTRHO_PLUGIN_NAME,
  39. /* label */ "zamtube",
  40. /* maker */ "Damien Zammit",
  41. /* copyright */ "GPL v2+",
  42. PluginDescriptorFILL(PluginCarla)
  43. };
  44. END_NAMESPACE_DISTRHO
  45. // -----------------------------------------------------------------------
  46. CARLA_EXPORT
  47. void carla_register_native_plugin_zamtube()
  48. {
  49. USE_NAMESPACE_DISTRHO
  50. carla_register_native_plugin(&zamtubeDesc);
  51. }
  52. // -----------------------------------------------------------------------