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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 doc/GPL.txt file.
  16. */
  17. #include "CarlaNative.hpp"
  18. // Plugin Code
  19. #include "bigmeterM/DistrhoPluginBigMeter.cpp"
  20. #include "bigmeterM/DistrhoUIBigMeter.cpp"
  21. // Carla DISTRHO Plugin
  22. #include "distrho/DistrhoPluginCarla.cpp"
  23. START_NAMESPACE_DISTRHO
  24. // -----------------------------------------------------------------------
  25. static const NativePluginDescriptor bigMeterMDesc = {
  26. /* category */ PLUGIN_CATEGORY_UTILITY,
  27. /* hints */ static_cast<NativePluginHints>(PLUGIN_IS_RTSAFE|PLUGIN_HAS_UI),
  28. /* supports */ static_cast<NativePluginSupports>(0x0),
  29. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  30. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  31. /* midiIns */ 0,
  32. /* midiOuts */ 0,
  33. /* paramIns */ 1,
  34. /* paramOuts */ DISTRHO_PLUGIN_NUM_INPUTS,
  35. /* name */ DISTRHO_PLUGIN_NAME,
  36. /* label */ "BigMeter (many)",
  37. /* maker */ "falkTX",
  38. /* copyright */ "GPL v2+",
  39. PluginDescriptorFILL(PluginCarla)
  40. };
  41. END_NAMESPACE_DISTRHO
  42. // -----------------------------------------------------------------------
  43. CARLA_EXPORT
  44. void carla_register_native_plugin_BigMeterM()
  45. {
  46. USE_NAMESPACE_DISTRHO
  47. carla_register_native_plugin(&bigMeterMDesc);
  48. }
  49. // -----------------------------------------------------------------------