Add/update VBM specific enum (amend 59989eed3)

This commit is contained in:
Robin Gareus 2025-09-04 00:50:26 +02:00
parent afc721e7ed
commit 9e6d077f64
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 8 additions and 2 deletions

View file

@ -137,8 +137,8 @@ class LIBARDOUR_API PresentationInfo : public PBD::Stateful
#endif
/* VBM */
V2Program = 0x4000, // deprecated (conflicts with TriggerTrack)
V2MixMinus = 0x8000, // deprecated (conflicts with SurroundMaster)
Program = 0x4000, // deprecated (conflicts with TriggerTrack)
MixMinus = 0x8000, // deprecated (conflicts with SurroundMaster)
VBMProgram = 0x10000,
VBMMixMinus = 0x20000,
#ifdef VBM

View file

@ -832,6 +832,12 @@ setup_enum_writer ()
REGISTER_CLASS_ENUM (PresentationInfo, SurroundMaster);
#ifdef MIXBUS
REGISTER_CLASS_ENUM (PresentationInfo, MixbusEditorHidden);
#endif
#ifdef VBM
REGISTER_CLASS_ENUM (PresentationInfo, Program);
REGISTER_CLASS_ENUM (PresentationInfo, MixMinus);
REGISTER_CLASS_ENUM (PresentationInfo, VBMProgram);
REGISTER_CLASS_ENUM (PresentationInfo, VBMMixMinus);
#endif
REGISTER_BITS (_PresentationInfo_Flag);