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.

55 lines
1.9KB

  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_FX 0
  21. #define CARDINAL_VARIANT_NATIVE 0
  22. #define CARDINAL_VARIANT_SYNTH 1
  23. #define CARDINAL_NUM_AUDIO_INPUTS 0
  24. #define CARDINAL_NUM_AUDIO_OUTPUTS 2
  25. #define DISTRHO_PLUGIN_BRAND "DISTRHO"
  26. #define DISTRHO_PLUGIN_NAME "Cardinal Synth"
  27. #define DISTRHO_PLUGIN_LABEL "CardinalSynth"
  28. #define DISTRHO_PLUGIN_URI "https://distrho.kx.studio/plugins/cardinal#synth"
  29. #ifdef HEADLESS
  30. #define DISTRHO_PLUGIN_HAS_UI 0
  31. #else
  32. #define DISTRHO_PLUGIN_HAS_UI 1
  33. #define DISTRHO_PLUGIN_WANT_DIRECT_ACCESS 1
  34. #define DISTRHO_UI_FILE_BROWSER 1
  35. #define DISTRHO_UI_USE_NANOVG 1
  36. #define DISTRHO_UI_USER_RESIZABLE 1
  37. #define DISTRHO_UI_DEFAULT_WIDTH 1228
  38. #define DISTRHO_UI_DEFAULT_HEIGHT 666
  39. #endif
  40. #define DISTRHO_PLUGIN_IS_SYNTH 1
  41. #define DISTRHO_PLUGIN_NUM_INPUTS CARDINAL_NUM_AUDIO_INPUTS
  42. #define DISTRHO_PLUGIN_NUM_OUTPUTS CARDINAL_NUM_AUDIO_OUTPUTS
  43. #define DISTRHO_PLUGIN_WANT_MIDI_INPUT 1
  44. #define DISTRHO_PLUGIN_WANT_MIDI_OUTPUT 1
  45. #define DISTRHO_PLUGIN_WANT_FULL_STATE 1
  46. #define DISTRHO_PLUGIN_WANT_STATE 1
  47. #define DISTRHO_PLUGIN_WANT_TIMEPOS 1
  48. #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED