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.

92 lines
3.3KB

  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. #include "CarlaDefines.h"
  18. #ifdef CARLA_OS_WIN
  19. #define errx(...)
  20. #define warnx(...)
  21. #endif
  22. // zynaddsubfx includes
  23. #include "zynaddsubfx/DSP/AnalogFilter.cpp"
  24. #include "zynaddsubfx/DSP/FFTwrapper.cpp"
  25. #include "zynaddsubfx/DSP/Filter.cpp"
  26. #include "zynaddsubfx/DSP/FormantFilter.cpp"
  27. #include "zynaddsubfx/DSP/SVFilter.cpp"
  28. #include "zynaddsubfx/DSP/Unison.cpp"
  29. #include "zynaddsubfx/Effects/Alienwah.cpp"
  30. #include "zynaddsubfx/Effects/Chorus.cpp"
  31. #include "zynaddsubfx/Effects/Distorsion.cpp"
  32. #include "zynaddsubfx/Effects/DynamicFilter.cpp"
  33. #include "zynaddsubfx/Effects/Echo.cpp"
  34. #include "zynaddsubfx/Effects/Effect.cpp"
  35. #include "zynaddsubfx/Effects/EffectLFO.cpp"
  36. #include "zynaddsubfx/Effects/EffectMgr.cpp"
  37. #include "zynaddsubfx/Effects/EQ.cpp"
  38. #include "zynaddsubfx/Effects/Phaser.cpp"
  39. #include "zynaddsubfx/Effects/Reverb.cpp"
  40. #include "zynaddsubfx/Misc/Bank.cpp"
  41. #include "zynaddsubfx/Misc/Config.cpp"
  42. #include "zynaddsubfx/Misc/Dump.cpp"
  43. #include "zynaddsubfx/Misc/Master.cpp"
  44. #include "zynaddsubfx/Misc/Microtonal.cpp"
  45. #include "zynaddsubfx/Misc/Part.cpp"
  46. #include "zynaddsubfx/Misc/Recorder.cpp"
  47. //#include "zynaddsubfx/Misc/Stereo.cpp"
  48. #include "zynaddsubfx/Misc/Util.cpp"
  49. #include "zynaddsubfx/Misc/WavFile.cpp"
  50. #include "zynaddsubfx/Misc/WaveShapeSmps.cpp"
  51. #include "zynaddsubfx/Misc/XMLwrapper.cpp"
  52. #include "zynaddsubfx/Params/ADnoteParameters.cpp"
  53. #include "zynaddsubfx/Params/Controller.cpp"
  54. #include "zynaddsubfx/Params/EnvelopeParams.cpp"
  55. #include "zynaddsubfx/Params/FilterParams.cpp"
  56. #include "zynaddsubfx/Params/LFOParams.cpp"
  57. #include "zynaddsubfx/Params/PADnoteParameters.cpp"
  58. #include "zynaddsubfx/Params/Presets.cpp"
  59. #include "zynaddsubfx/Params/PresetsArray.cpp"
  60. #include "zynaddsubfx/Params/PresetsStore.cpp"
  61. #include "zynaddsubfx/Params/SUBnoteParameters.cpp"
  62. #include "zynaddsubfx/Synth/ADnote.cpp"
  63. #include "zynaddsubfx/Synth/Envelope.cpp"
  64. #include "zynaddsubfx/Synth/LFO.cpp"
  65. #include "zynaddsubfx/Synth/OscilGen.cpp"
  66. #include "zynaddsubfx/Synth/PADnote.cpp"
  67. #include "zynaddsubfx/Synth/Resonance.cpp"
  68. #include "zynaddsubfx/Synth/SUBnote.cpp"
  69. #include "zynaddsubfx/Synth/SynthNote.cpp"
  70. // Dummy variables and functions for linking purposes
  71. const char* instance_name = nullptr;
  72. SYNTH_T* synth = nullptr;
  73. class WavFile;
  74. namespace Nio {
  75. bool start(void){return 1;}
  76. void stop(void){}
  77. bool setSource(std::string){return true;}
  78. bool setSink(std::string){return true;}
  79. std::set<std::string> getSources(void){return std::set<std::string>();}
  80. std::set<std::string> getSinks(void){return std::set<std::string>();}
  81. std::string getSource(void){return "";}
  82. std::string getSink(void){return "";}
  83. void waveNew(WavFile*){}
  84. void waveStart(void){}
  85. void waveStop(void){}
  86. void waveEnd(void){}
  87. }