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.

76 lines
2.3KB

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