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-pingpongpan.cpp 2.0KB

10 years ago
11 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 "pingpongpan/DistrhoArtworkPingPongPan.cpp"
  19. #include "pingpongpan/DistrhoPluginPingPongPan.cpp"
  20. #include "pingpongpan/DistrhoUIPingPongPan.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 pingpongpanDesc = {
  28. /* category */ PLUGIN_CATEGORY_UTILITY,
  29. /* hints */ static_cast<NativePluginHints>(PLUGIN_IS_RTSAFE|PLUGIN_HAS_UI),
  30. /* supports */ static_cast<NativePluginSupports>(0x0),
  31. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  32. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  33. /* midiIns */ 0,
  34. /* midiOuts */ 0,
  35. /* paramIns */ DistrhoPluginPingPongPan::paramCount,
  36. /* paramOuts */ 0,
  37. /* name */ DISTRHO_PLUGIN_NAME,
  38. /* label */ "pingpongpan",
  39. /* maker */ "falkTX, Michael Gruhn",
  40. /* copyright */ "LGPL",
  41. PluginDescriptorFILL(PluginCarla)
  42. };
  43. END_NAMESPACE_DISTRHO
  44. // -----------------------------------------------------------------------
  45. CARLA_EXPORT
  46. void carla_register_native_plugin_pingpongpan()
  47. {
  48. USE_NAMESPACE_DISTRHO
  49. carla_register_native_plugin(&pingpongpanDesc);
  50. }
  51. // -----------------------------------------------------------------------