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.

80 lines
2.3KB

  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 DISTRHO code
  23. #include "DistrhoPluginCarla.cpp"
  24. // Include Plugin code
  25. #include "3bandeq/DistrhoArtwork3BandEQ.cpp"
  26. #include "3bandeq/DistrhoPlugin3BandEQ.cpp"
  27. #include "3bandeq/DistrhoUI3BandEQ.cpp"
  28. // -----------------------------------------------------------------------
  29. class CarlaDistrhoPlugin3BandEQ : public CarlaDistrhoPlugin
  30. {
  31. public:
  32. CarlaDistrhoPlugin3BandEQ(const HostDescriptor* host)
  33. : CarlaDistrhoPlugin(host)
  34. {
  35. }
  36. ~CarlaDistrhoPlugin3BandEQ()
  37. {
  38. }
  39. // -------------------------------------------------------------------
  40. private:
  41. PluginDescriptorClassEND(CarlaDistrhoPlugin3BandEQ)
  42. };
  43. // -----------------------------------------------------------------------
  44. static PluginDescriptor tBandEqDesc = {
  45. /* category */ PLUGIN_CATEGORY_EQ,
  46. /* hints */ 0x0,
  47. /* audioIns */ DISTRHO_PLUGIN_NUM_INPUTS,
  48. /* audioOuts */ DISTRHO_PLUGIN_NUM_OUTPUTS,
  49. /* midiIns */ 0,
  50. /* midiOuts */ 0,
  51. /* paramIns */ DISTRHO_NAMESPACE::DistrhoPlugin3BandEQ::paramCount,
  52. /* paramOuts */ 0,
  53. /* name */ DISTRHO_PLUGIN_NAME,
  54. /* label */ "3BandEQ",
  55. /* maker */ "falkTX",
  56. /* copyright */ "LGPL",
  57. PluginDescriptorFILL(CarlaDistrhoPlugin3BandEQ)
  58. };
  59. // -----------------------------------------------------------------------
  60. void carla_register_native_plugin_3BandEQ()
  61. {
  62. carla_register_native_plugin(&tBandEqDesc);
  63. }
  64. // -----------------------------------------------------------------------