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.

78 lines
2.1KB

  1. /*
  2. * Carla Plugin Host
  3. * Copyright (C) 2011-2023 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. #pragma once
  18. #include "CarlaBackend.h"
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. // --------------------------------------------------------------------------------------------------------------------
  23. typedef struct {
  24. const char* command;
  25. const char* name;
  26. const char* labelSetup;
  27. } JackAppDialogResults;
  28. typedef struct {
  29. uint build;
  30. uint type;
  31. uint hints;
  32. const char* category;
  33. const char* filename;
  34. const char* name;
  35. const char* label;
  36. const char* maker;
  37. uint64_t uniqueId;
  38. uint audioIns;
  39. uint audioOuts;
  40. uint cvIns;
  41. uint cvOuts;
  42. uint midiIns;
  43. uint midiOuts;
  44. uint parameterIns;
  45. uint parameterOuts;
  46. } PluginListDialogResults;
  47. struct PluginListDialog;
  48. // --------------------------------------------------------------------------------------------------------------------
  49. CARLA_API void
  50. carla_frontend_createAndExecAboutJuceDialog(void* parent);
  51. CARLA_API const JackAppDialogResults*
  52. carla_frontend_createAndExecJackAppDialog(void* parent, const char* projectFilename);
  53. CARLA_API PluginListDialog*
  54. carla_frontend_createPluginListDialog(void* parent);
  55. CARLA_API const PluginListDialogResults*
  56. carla_frontend_execPluginListDialog(PluginListDialog* dialog);
  57. CARLA_API const PluginListDialogResults*
  58. carla_frontend_createAndExecPluginListDialog(void* parent/*, const HostSettings& hostSettings*/);
  59. // --------------------------------------------------------------------------------------------------------------------
  60. #ifdef __cplusplus
  61. }
  62. #endif