use C++11 for VST3 SDK (revert custom cxx98 patch)

This commit is contained in:
Robin Gareus 2025-02-25 12:44:27 +01:00
parent a4f3e39f1c
commit 2b327f97df
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
5 changed files with 11 additions and 19 deletions

View file

@ -34,10 +34,7 @@ VST predefines some types like volume, pan, tuning by defining their ranges and
Used by NoteExpressionEvent::typeId and NoteExpressionTypeID::typeId
\see NoteExpressionTypeInfo
*/
enum NoteExpressionTypeIDs
#if SMTG_CPP11
: uint32
#endif
enum NoteExpressionTypeIDs : uint32
{
kVolumeTypeID = 0, ///< Volume, plain range [0 = -oo , 0.25 = 0dB, 0.5 = +6dB, 1 = +12dB]: plain = 20 * log (4 * norm)
kPanTypeID, ///< Panning (L-R), plain range [0 = left, 0.5 = center, 1 = right]
@ -186,10 +183,7 @@ DECLARE_CLASS_IID (INoteExpressionController, 0xB7F8F859, 0x41234872, 0x91169581
/** KeyswitchTypeIDs describes the type of a key switch
\see KeyswitchInfo
*/
enum KeyswitchTypeIDs
#if SMTG_CPP11
: uint32
#endif
enum KeyswitchTypeIDs : uint32
{
kNoteOnKeyswitchTypeID = 0, ///< press before noteOn is played
kOnTheFlyKeyswitchTypeID, ///< press while noteOn is played