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.

87 lines
2.3KB

  1. /*
  2. * Cross-platform C++ library for Carla, based on Juce v4
  3. * Copyright (C) 2015-2016 ROLI Ltd.
  4. * Copyright (C) 2017-2018 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 getCurrentModuleInstanceHandle() noexcept
  25. {
  26. if (currentModuleHandle == nullptr)
  27. currentModuleHandle = GetModuleHandleA (nullptr);
  28. return currentModuleHandle;
  29. }
  30. CARLA_EXPORT
  31. BOOL WINAPI DllMain(HINSTANCE hInst, DWORD, LPVOID)
  32. {
  33. currentModuleHandle = hInst;
  34. return 1;
  35. }
  36. #endif
  37. }
  38. #include "containers/NamedValueSet.cpp"
  39. #include "containers/Variant.cpp"
  40. #include "files/DirectoryIterator.cpp"
  41. #include "files/File.cpp"
  42. #include "files/FileInputStream.cpp"
  43. #include "files/FileOutputStream.cpp"
  44. #include "files/TemporaryFile.cpp"
  45. #include "maths/Random.cpp"
  46. #include "memory/MemoryBlock.cpp"
  47. #include "midi/MidiBuffer.cpp"
  48. #include "midi/MidiFile.cpp"
  49. #include "midi/MidiMessage.cpp"
  50. #include "midi/MidiMessageSequence.cpp"
  51. #include "misc/Result.cpp"
  52. #include "misc/Time.cpp"
  53. #include "processors/AudioProcessor.cpp"
  54. #include "processors/AudioProcessorGraph.cpp"
  55. #include "streams/FileInputSource.cpp"
  56. #include "streams/InputStream.cpp"
  57. #include "streams/MemoryInputStream.cpp"
  58. #include "streams/MemoryOutputStream.cpp"
  59. #include "streams/OutputStream.cpp"
  60. #include "synthesisers/Synthesiser.cpp"
  61. #include "text/CharacterFunctions.cpp"
  62. #include "text/Identifier.cpp"
  63. #include "text/StringArray.cpp"
  64. #include "text/String.cpp"
  65. #include "threads/ChildProcess.cpp"
  66. #include "xml/XmlDocument.cpp"
  67. #include "xml/XmlElement.cpp"