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.

water.cpp 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * Cross-platform C++ library for Carla, based on Juce v4
  3. * Copyright (C) 2015 ROLI Ltd.
  4. * Copyright (C) 2017 Filipe Coelho <falktx@falktx.com>
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation; either version 2 of
  9. * the License, or any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * For a full copy of the GNU General Public License see the doc/GPL.txt file.
  17. */
  18. #include "common.hpp"
  19. //==============================================================================
  20. namespace water
  21. {
  22. #ifdef CARLA_OS_WIN
  23. static HINSTANCE currentModuleHandle = nullptr;
  24. HINSTANCE water_getCurrentModuleInstanceHandle() noexcept
  25. {
  26. if (currentModuleHandle == nullptr)
  27. currentModuleHandle = GetModuleHandleA (nullptr);
  28. return currentModuleHandle;
  29. }
  30. #endif
  31. }
  32. #include "containers/NamedValueSet.cpp"
  33. #include "containers/Variant.cpp"
  34. #include "files/DirectoryIterator.cpp"
  35. #include "files/File.cpp"
  36. #include "files/FileInputStream.cpp"
  37. #include "files/FileOutputStream.cpp"
  38. #include "files/TemporaryFile.cpp"
  39. #include "maths/Random.cpp"
  40. #include "memory/MemoryBlock.cpp"
  41. #include "midi/MidiBuffer.cpp"
  42. #include "midi/MidiFile.cpp"
  43. #include "midi/MidiMessage.cpp"
  44. #include "midi/MidiMessageSequence.cpp"
  45. #include "misc/Result.cpp"
  46. #include "misc/Time.cpp"
  47. #include "processors/AudioProcessor.cpp"
  48. #include "processors/AudioProcessorGraph.cpp"
  49. #include "streams/FileInputSource.cpp"
  50. #include "streams/InputStream.cpp"
  51. #include "streams/MemoryOutputStream.cpp"
  52. #include "streams/OutputStream.cpp"
  53. #include "text/CharacterFunctions.cpp"
  54. #include "text/Identifier.cpp"
  55. #include "text/StringArray.cpp"
  56. #include "text/StringPool.cpp"
  57. #include "text/String.cpp"
  58. #include "threads/ChildProcess.cpp"
  59. #include "xml/XmlDocument.cpp"
  60. #include "xml/XmlElement.cpp"