More Ardour/Mixbus codebase unification

Note Presentation-Info bits used by Mixbus to prevent conflicts
when sharing sessions.
This commit is contained in:
Robin Gareus 2019-04-12 21:34:14 +02:00
parent 5c94bd00b5
commit 4199156263
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 12 additions and 0 deletions

View File

@ -111,12 +111,19 @@ class LIBARDOUR_API PresentationInfo : public PBD::Stateful
MasterOut = 0x20,
MonitorOut = 0x40,
Auditioner = 0x80,
#ifdef MIXBUS
Mixbus = 0x1000,
#endif
/* These are for sharing Stripable states between the GUI and other
* user interfaces/control surfaces
*/
Hidden = 0x100,
#ifdef MIXBUS
MixbusEditorHidden = 0x800,
#endif
/* single bit indicates that the group order is set */
OrderSet = 0x400,
/* bus type for monitor mixes */
FoldbackBus = 0x2000,

View File

@ -1390,6 +1390,11 @@ Route::is_internal_processor (boost::shared_ptr<Processor> p) const
if (p == _amp || p == _meter || p == _main_outs || p == _delayline || p == _trim || p == _polarity) {
return true;
}
#ifdef MIXBUS
if (p == _ch_pre || p == _ch_post || p == _ch_eq || p == _ch_comp) {
return true;
}
#endif
return false;
}