mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
use C++11 for VST3 SDK (revert custom cxx98 patch)
This commit is contained in:
parent
a4f3e39f1c
commit
2b327f97df
5 changed files with 11 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue