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.

74 lines
2.2KB

  1. /*
  2. * Carla Plugin Host
  3. * Copyright (C) 2011-2019 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. #ifndef CARLA_NATIVE_PLUGIN_H_INCLUDED
  18. #define CARLA_NATIVE_PLUGIN_H_INCLUDED
  19. #include "CarlaBackend.h"
  20. #include "CarlaNative.h"
  21. #ifndef CARLA_HOST_H_INCLUDED
  22. /*!
  23. * Get the absolute filename of this carla library.
  24. */
  25. CARLA_EXPORT const char* carla_get_library_filename();
  26. /*!
  27. * Get the folder where this carla library resides.
  28. */
  29. CARLA_EXPORT const char* carla_get_library_folder();
  30. #endif
  31. /*!
  32. * Get the native plugin descriptor for the carla-rack plugin.
  33. */
  34. CARLA_EXPORT const NativePluginDescriptor* carla_get_native_rack_plugin();
  35. /*!
  36. * Get the native plugin descriptor for the carla-patchbay plugin.
  37. */
  38. CARLA_EXPORT const NativePluginDescriptor* carla_get_native_patchbay_plugin();
  39. /*!
  40. * Get the native plugin descriptor for the carla-patchbay16 plugin.
  41. */
  42. CARLA_EXPORT const NativePluginDescriptor* carla_get_native_patchbay16_plugin();
  43. /*!
  44. * Get the native plugin descriptor for the carla-patchbay32 plugin.
  45. */
  46. CARLA_EXPORT const NativePluginDescriptor* carla_get_native_patchbay32_plugin();
  47. /*!
  48. * Get the native plugin descriptor for the carla-patchbay64 plugin.
  49. */
  50. CARLA_EXPORT const NativePluginDescriptor* carla_get_native_patchbay64_plugin();
  51. /*!
  52. * Get the native plugin descriptor for the carla-patchbay-cv plugin.
  53. */
  54. CARLA_EXPORT const NativePluginDescriptor* carla_get_native_patchbay_cv_plugin();
  55. #ifdef __cplusplus
  56. /*!
  57. * Get the internal CarlaEngine instance.
  58. */
  59. CARLA_EXPORT CarlaBackend::CarlaEngine* carla_get_native_plugin_engine(const NativePluginDescriptor* desc, NativePluginHandle handle);
  60. #endif
  61. #endif /* CARLA_NATIVE_PLUGIN_H_INCLUDED */