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.

64 lines
2.2KB

  1. /*
  2. * DISTRHO Cardinal Plugin
  3. * Copyright (C) 2021-2022 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 3 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 LICENSE file.
  16. */
  17. #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
  18. #define DISTRHO_PLUGIN_INFO_H_INCLUDED
  19. #define CARDINAL_VARIANT_MAIN 0
  20. #define CARDINAL_VARIANT_MINI 0
  21. #define CARDINAL_VARIANT_FX 0
  22. #define CARDINAL_VARIANT_NATIVE 1
  23. #define CARDINAL_VARIANT_SYNTH 0
  24. #define CARDINAL_NUM_AUDIO_INPUTS 2
  25. #define CARDINAL_NUM_AUDIO_OUTPUTS 2
  26. #define DISTRHO_PLUGIN_BRAND "DISTRHO"
  27. #define DISTRHO_PLUGIN_URI "https://distrho.kx.studio/plugins/cardinal"
  28. #if defined(DISTRHO_OS_WASM) && defined(STATIC_BUILD)
  29. # define DISTRHO_PLUGIN_NAME "Mini Cardinal"
  30. # define DISTRHO_PLUGIN_LABEL "MiniCardinal"
  31. #else
  32. # define DISTRHO_PLUGIN_NAME "Cardinal"
  33. # define DISTRHO_PLUGIN_LABEL "Cardinal"
  34. #endif
  35. #ifdef HEADLESS
  36. #define DISTRHO_PLUGIN_HAS_UI 0
  37. #else
  38. #define DISTRHO_PLUGIN_HAS_UI 1
  39. #define DISTRHO_PLUGIN_WANT_DIRECT_ACCESS 1
  40. #define DISTRHO_UI_FILE_BROWSER 1
  41. #define DISTRHO_UI_USE_NANOVG 1
  42. #define DISTRHO_UI_USER_RESIZABLE 1
  43. #define DISTRHO_UI_DEFAULT_WIDTH 1228
  44. #define DISTRHO_UI_DEFAULT_HEIGHT 666
  45. #endif
  46. #define DISTRHO_PLUGIN_IS_SYNTH 0
  47. #define DISTRHO_PLUGIN_NUM_INPUTS CARDINAL_NUM_AUDIO_INPUTS
  48. #define DISTRHO_PLUGIN_NUM_OUTPUTS CARDINAL_NUM_AUDIO_OUTPUTS
  49. #define DISTRHO_PLUGIN_WANT_MIDI_INPUT 1
  50. #define DISTRHO_PLUGIN_WANT_MIDI_OUTPUT 1
  51. #define DISTRHO_PLUGIN_WANT_FULL_STATE 1
  52. #define DISTRHO_PLUGIN_WANT_STATE 1
  53. #define DISTRHO_PLUGIN_WANT_TIMEPOS 1
  54. #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:UtilityPlugin"
  55. #define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Generator"
  56. #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED