add config param to control response to cue markers

This commit is contained in:
Paul Davis
2022-01-06 11:10:28 -07:00
parent 45df39bd0e
commit 4e482076ea
4 changed files with 13 additions and 0 deletions

View File

@@ -183,6 +183,7 @@ CONFIG_VARIABLE (AutoReturnTarget, auto_return_target_list, "auto-return-target-
CONFIG_VARIABLE (bool, reset_default_speed_on_stop, "reset-default-speed-on-stop", false)
CONFIG_VARIABLE (bool, rewind_ffwd_like_tape_decks, "rewind-ffwd-like-tape-decks", true)
CONFIG_VARIABLE (bool, auto_return_after_rewind_ffwd, "auto-return-after-rewind-ffwd", false)
CONFIG_VARIABLE (CueBehavior, cue_behavior, "cue-behavior", FollowCues)
/* metering */

View File

@@ -811,6 +811,12 @@ enum LocateTransportDisposition {
RollIfAppropriate
};
enum CueBehavior {
FollowCues,
ImplicitlyIgnoreCues,
ExplicitlyIgnoreCues
};
typedef std::vector<CaptureInfo*> CaptureInfos;
} // namespace ARDOUR

View File

@@ -75,6 +75,7 @@ DEFINE_ENUM_CONVERT(ARDOUR::InputMeterLayout)
DEFINE_ENUM_CONVERT(ARDOUR::MidiPortFlags)
DEFINE_ENUM_CONVERT(ARDOUR::TransportRequestType)
DEFINE_ENUM_CONVERT(ARDOUR::LoopFadeChoice)
DEFINE_ENUM_CONVERT(ARDOUR::CueBehavior)
DEFINE_ENUM_CONVERT(MusicalMode::Type)

View File

@@ -158,6 +158,7 @@ setup_enum_writer ()
Trigger::State _TriggerState;
Trigger::LaunchStyle _TriggerLaunchStyle;
Trigger::FollowAction _TriggerFollowAction;
CueBehavior _CueBehavior;
#define REGISTER(e) enum_writer.register_distinct (typeid(e).name(), i, s); i.clear(); s.clear()
#define REGISTER_BITS(e) enum_writer.register_bits (typeid(e).name(), i, s); i.clear(); s.clear()
@@ -877,6 +878,10 @@ setup_enum_writer ()
REGISTER_CLASS_ENUM (Trigger, Repeat);
REGISTER (_TriggerLaunchStyle);
REGISTER_ENUM (FollowCues);
REGISTER_ENUM (ImplicitlyIgnoreCues);
REGISTER_ENUM (ExplicitlyIgnoreCues);
REGISTER (_CueBehavior);
}
} /* namespace ARDOUR */