Collection of tools useful for audio production
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.8KB

  1. /*
  2. * Carla Native Plugins
  3. * Copyright (C) 2012 Filipe Coelho <falktx@falktx.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * 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 COPYING file
  16. */
  17. #include "carla_native.hpp"
  18. // Set plugin data
  19. #include "3bandeq/DistrhoPluginInfo.h"
  20. /// Set namespace for this plugin
  21. #define DISTRHO_NAMESPACE DISTRHO_3BEQ
  22. // Include Plugin headers
  23. #include "3bandeq/DistrhoPlugin3BandEQ.h"
  24. #include "3bandeq/DistrhoUI3BandEQ.h"
  25. // Include DISTRHO code
  26. #include "DistrhoPluginCarla.cpp"
  27. START_NAMESPACE_DISTRHO
  28. // -----------------------------------------------------------------------
  29. static PluginDescriptor tBandEqDesc = {
  30. /* category */ ::PLUGIN_CATEGORY_EQ,
  31. /* hints */ ::PLUGIN_HAS_GUI,
  32. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  33. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  34. /* midiIns */ 0,
  35. /* midiOuts */ 0,
  36. /* paramIns */ DistrhoPlugin3BandEQ::paramCount,
  37. /* paramOuts */ 0,
  38. /* name */ DISTRHO_PLUGIN_NAME,
  39. /* label */ "3BandEQ",
  40. /* maker */ "falkTX",
  41. /* copyright */ "LGPL",
  42. PluginDescriptorFILL(PluginCarla)
  43. };
  44. END_NAMESPACE_DISTRHO
  45. // -----------------------------------------------------------------------
  46. void carla_register_native_plugin_3BandEQ()
  47. {
  48. USE_NAMESPACE_DISTRHO
  49. carla_register_native_plugin(&tBandEqDesc);
  50. }
  51. // -----------------------------------------------------------------------