1
0

OpCodes.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. * OpCodes.h
  3. * ---------
  4. * Purpose: A human-readable list of VST opcodes, for error reporting purposes.
  5. * Notes : (currently none)
  6. * Authors: OpenMPT Devs
  7. * The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
  8. */
  9. #pragma once
  10. #include "openmpt/all/BuildSettings.hpp"
  11. OPENMPT_NAMESPACE_BEGIN
  12. #ifdef MPT_WITH_VST
  13. inline constexpr const char *VstOpCodes[] =
  14. {
  15. "effOpen",
  16. "effClose",
  17. "effSetProgram",
  18. "effGetProgram",
  19. "effSetProgramName",
  20. "effGetProgramName",
  21. "effGetParamLabel",
  22. "effGetParamDisplay",
  23. "effGetParamName",
  24. "effGetVu",
  25. "effSetSampleRate",
  26. "effSetBlockSize",
  27. "effMainsChanged",
  28. "effEditGetRect",
  29. "effEditOpen",
  30. "effEditClose",
  31. "effEditDraw",
  32. "effEditMouse",
  33. "effEditKey",
  34. "effEditIdle",
  35. "effEditTop",
  36. "effEditSleep",
  37. "effIdentify",
  38. "effGetChunk",
  39. "effSetChunk",
  40. "effProcessEvents",
  41. "effCanBeAutomated",
  42. "effString2Parameter",
  43. "effGetNumProgramCategories",
  44. "effGetProgramNameIndexed",
  45. "effCopyProgram",
  46. "effConnectInput",
  47. "effConnectOutput",
  48. "effGetInputProperties",
  49. "effGetOutputProperties",
  50. "effGetPlugCategory",
  51. "effGetCurrentPosition",
  52. "effGetDestinationBuffer",
  53. "effOfflineNotify",
  54. "effOfflinePrepare",
  55. "effOfflineRun",
  56. "effProcessVarIo",
  57. "effSetSpeakerArrangement",
  58. "effSetBlockSizeAndSampleRate",
  59. "effSetBypass",
  60. "effGetEffectName",
  61. "effGetErrorText",
  62. "effGetVendorString",
  63. "effGetProductString",
  64. "effGetVendorVersion",
  65. "effVendorSpecific",
  66. "effCanDo",
  67. "effGetTailSize",
  68. "effIdle",
  69. "effGetIcon",
  70. "effSetViewPosition",
  71. "effGetParameterProperties",
  72. "effKeysRequired",
  73. "effGetVstVersion",
  74. "effEditKeyDown",
  75. "effEditKeyUp",
  76. "effSetEditKnobMode",
  77. "effGetMidiProgramName",
  78. "effGetCurrentMidiProgram",
  79. "effGetMidiProgramCategory",
  80. "effHasMidiProgramsChanged",
  81. "effGetMidiKeyName",
  82. "effBeginSetProgram",
  83. "effEndSetProgram",
  84. "effGetSpeakerArrangement",
  85. "effShellGetNextPlugin",
  86. "effStartProcess",
  87. "effStopProcess",
  88. "effSetTotalSampleToProcess",
  89. "effSetPanLaw",
  90. "effBeginLoadBank",
  91. "effBeginLoadProgram",
  92. "effSetProcessPrecision",
  93. "effGetNumMidiInputChannels",
  94. "effGetNumMidiOutputChannels"
  95. };
  96. #endif
  97. OPENMPT_NAMESPACE_END