--- libgig/trunk/src/gig.h 2017/07/20 22:09:54 3323 +++ libgig/trunk/src/gig.h 2017/07/21 13:05:39 3324 @@ -381,7 +381,7 @@ }; /** - * Defines behavior options for envelope generators. + * Defines behavior options for envelope generators (gig format extension). * * These options allow to override the precise default behavior of the * envelope generators' state machines. @@ -406,7 +406,8 @@ struct eg_opt_t { bool AttackCancel; ///< Whether the "attack" stage is cancelled when receiving a note-off (default: @c true). bool AttackHoldCancel; ///< Whether the "attack hold" stage is cancelled when receiving a note-off (default: @c true). - bool DecayCancel; ///< Whether the "decay" stage is cancelled when receiving a note-off (default: @c true). + bool Decay1Cancel; ///< Whether the "decay 1" stage is cancelled when receiving a note-off (default: @c true). + bool Decay2Cancel; ///< Whether the "decay 2" stage is cancelled when receiving a note-off (default: @c true). bool ReleaseCancel; ///< Whether the "release" stage is cancelled when receiving a note-on (default: @c true). eg_opt_t();