X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Ftypes.h;h=976c4924a794034dd1c143ba5aca9a12044db543;hb=74a604d261b1ecb0f20ee0c69aef7648da3a1d86;hp=0a3bb1e1532cae6e4bcf9be361c8e704e7d4aa27;hpb=9b2af90328793b1456cc949ffe3b168aacbbd869;p=ardour.git diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 0a3bb1e153..976c4924a7 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -52,6 +52,9 @@ namespace ARDOUR { class AudioSource; class Route; class Region; + class Stripable; + class VCA; + class AutomationControl; typedef float Sample; typedef float pan_t; @@ -108,15 +111,22 @@ namespace ARDOUR { */ enum InsertMergePolicy { - InsertMergeReject, // no overlaps allowed - InsertMergeRelax, // we just don't care about overlaps - InsertMergeReplace, // replace old with new - InsertMergeTruncateExisting, // shorten existing to avoid overlap - InsertMergeTruncateAddition, // shorten new to avoid overlap - InsertMergeExtend // extend new (or old) to the range of old+new + InsertMergeReject, ///< no overlaps allowed + InsertMergeRelax, ///< we just don't care about overlaps + InsertMergeReplace, ///< replace old with new + InsertMergeTruncateExisting, ///< shorten existing to avoid overlap + InsertMergeTruncateAddition, ///< shorten new to avoid overlap + InsertMergeExtend ///< extend new (or old) to the range of old+new }; /** See evoral/Parameter.hpp + * + * When you add things here, you REALLY SHOULD add a case clause to + * the constructor of ParameterDescriptor, unless the Controllables + * that the enum refers to are completely standard (0-1.0 range, 0.0 as + * normal, non-toggled, non-enumerated). Anything else needs to be + * added there so that things that try to represent them can do so + * with as much information as possible. */ enum AutomationType { NullAutomation, @@ -129,18 +139,23 @@ namespace ARDOUR { PluginAutomation, PluginPropertyAutomation, SoloAutomation, + SoloIsolateAutomation, + SoloSafeAutomation, MuteAutomation, MidiCCAutomation, MidiPgmChangeAutomation, MidiPitchBenderAutomation, MidiChannelPressureAutomation, + MidiNotePressureAutomation, MidiSystemExclusiveAutomation, FadeInAutomation, FadeOutAutomation, EnvelopeAutomation, RecEnableAutomation, + RecSafeAutomation, TrimAutomation, PhaseAutomation, + MonitoringAutomation, EQGain, EQFrequency, EQQ, @@ -153,38 +168,8 @@ namespace ARDOUR { CompMakeup, CompRedux, CompEnable, - BusSend1Level, - BusSend1Enable, - BusSend2Level, - BusSend2Enable, - BusSend3Level, - BusSend3Enable, - BusSend4Level, - BusSend4Enable, - BusSend5Level, - BusSend5Enable, - BusSend6Level, - BusSend6Enable, - BusSend7Level, - BusSend7Enable, - BusSend8Level, - BusSend8Enable, - BusSend9Level, - BusSend9Enable, - BusSend10Level, - BusSend10Enable, - BusSend11Level, - BusSend11Enable, - BusSend12Level, - BusSend12Enable, - BusSend13Level, - BusSend13Enable, - BusSend14Level, - BusSend14Enable, - BusSend15Level, - BusSend15Enable, - BusSend16Level, - BusSend16LeEnable, + BusSendLevel, + BusSendEnable, }; enum AutoState { @@ -338,7 +323,7 @@ namespace ARDOUR { AudioRange (framepos_t s, framepos_t e, uint32_t i) : start (s), end (e) , id (i) {} - framecnt_t length() { return end - start + 1; } + framecnt_t length() const { return end - start + 1; } bool operator== (const AudioRange& other) const { return start == other.start && end == other.end && id == other.id; @@ -482,11 +467,6 @@ namespace ARDOUR { DenormalFTZDAZ }; - enum RemoteModel { - UserOrdered, - MixerOrdered - }; - enum LayerModel { LaterHigher, Manual @@ -583,7 +563,12 @@ namespace ARDOUR { typedef std::list AnalysisFeatureList; typedef std::list > RouteList; + typedef std::list > StripableList; typedef std::list > WeakRouteList; + typedef std::list > WeakStripableList; + typedef std::list > ControlList; + + typedef std::list > VCAList; class Bundle; typedef std::vector > BundleList; @@ -710,7 +695,6 @@ std::istream& operator>>(std::istream& o, ARDOUR::EditMode& sf); std::istream& operator>>(std::istream& o, ARDOUR::MonitorModel& sf); std::istream& operator>>(std::istream& o, ARDOUR::PFLPosition& sf); std::istream& operator>>(std::istream& o, ARDOUR::AFLPosition& sf); -std::istream& operator>>(std::istream& o, ARDOUR::RemoteModel& sf); std::istream& operator>>(std::istream& o, ARDOUR::ListenPosition& sf); std::istream& operator>>(std::istream& o, ARDOUR::LayerModel& sf); std::istream& operator>>(std::istream& o, ARDOUR::InsertMergePolicy& sf); @@ -734,7 +718,6 @@ std::ostream& operator<<(std::ostream& o, const ARDOUR::EditMode& sf); std::ostream& operator<<(std::ostream& o, const ARDOUR::MonitorModel& sf); std::ostream& operator<<(std::ostream& o, const ARDOUR::PFLPosition& sf); std::ostream& operator<<(std::ostream& o, const ARDOUR::AFLPosition& sf); -std::ostream& operator<<(std::ostream& o, const ARDOUR::RemoteModel& sf); std::ostream& operator<<(std::ostream& o, const ARDOUR::ListenPosition& sf); std::ostream& operator<<(std::ostream& o, const ARDOUR::LayerModel& sf); std::ostream& operator<<(std::ostream& o, const ARDOUR::InsertMergePolicy& sf);