mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Consolidate PI type flags across projects
This is to prevent future conflicts of flags..
This commit is contained in:
parent
25cc456c73
commit
59989eed3a
1 changed files with 20 additions and 9 deletions
|
|
@ -119,34 +119,45 @@ class LIBARDOUR_API PresentationInfo : public PBD::Stateful
|
||||||
/* single bit indicates that the group order is set */
|
/* single bit indicates that the group order is set */
|
||||||
OrderSet = 0x400,
|
OrderSet = 0x400,
|
||||||
|
|
||||||
#ifdef MIXBUS
|
/* Mixbus specific */
|
||||||
MixbusEditorHidden = 0x800,
|
MixbusEditorHidden = 0x800,
|
||||||
Mixbus = 0x1000,
|
Mixbus = 0x1000,
|
||||||
#endif
|
|
||||||
/* bus type for monitor mixes */
|
/* bus type for monitor mixes */
|
||||||
FoldbackBus = 0x2000,
|
FoldbackBus = 0x2000,
|
||||||
|
|
||||||
/* has TriggerBox, show on TriggerUI page */
|
/* has TriggerBox, show on TriggerUI page */
|
||||||
TriggerTrack = 0x4000,
|
TriggerTrack = 0x4000,
|
||||||
|
|
||||||
|
#ifndef VBM
|
||||||
/* bus is the surround master */
|
/* bus is the surround master */
|
||||||
SurroundMaster = 0x8000,
|
SurroundMaster = 0x8000,
|
||||||
|
|
||||||
/* special mask to delect out "state" bits */
|
|
||||||
#ifdef MIXBUS
|
|
||||||
StatusMask = (Hidden | MixbusEditorHidden | TriggerTrack),
|
|
||||||
#else
|
#else
|
||||||
StatusMask = (Hidden | TriggerTrack),
|
SurroundMaster = 0, // for compatibility
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* VBM */
|
||||||
|
V2Program = 0x4000, // deprecated (conflicts with TriggerTrack)
|
||||||
|
V2MixMinus = 0x8000, // deprecated (conflicts with SurroundMaster)
|
||||||
|
VBMProgram = 0x10000,
|
||||||
|
VBMMixMinus = 0x20000,
|
||||||
|
#ifdef VBM
|
||||||
|
VBMAny = 0x3c000,
|
||||||
|
#else
|
||||||
|
VBMAny = 0x30000,
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* special mask to detect out "state" bits */
|
||||||
|
StatusMask = (Hidden | MixbusEditorHidden | TriggerTrack),
|
||||||
|
|
||||||
/* dedicated [output] busses */
|
/* dedicated [output] busses */
|
||||||
MainBus = (MasterOut|MonitorOut|FoldbackBus|SurroundMaster),
|
MainBus = (MasterOut|MonitorOut|FoldbackBus|SurroundMaster),
|
||||||
|
|
||||||
/* These can exist only once and require special attention to be removed */
|
/* These can exist only once and require special attention to be removed */
|
||||||
Singleton = (MasterOut|MonitorOut|SurroundMaster),
|
Singleton = (MasterOut|MonitorOut|SurroundMaster),
|
||||||
|
|
||||||
/* special mask to delect select type bits */
|
/* special mask to detect select type bits */
|
||||||
TypeMask = (AudioBus|AudioTrack|MidiTrack|MidiBus|VCA|MasterOut|MonitorOut|Auditioner|FoldbackBus|SurroundMaster)
|
TypeMask = (AudioBus|AudioTrack|MidiTrack|MidiBus|Mixbus|VCA|MasterOut|MonitorOut|Auditioner|FoldbackBus|SurroundMaster|VBMAny)
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Flag AllStripables; /* mask to use for any route or VCA (but not auditioner) */
|
static const Flag AllStripables; /* mask to use for any route or VCA (but not auditioner) */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue