13
0

Add input-meter layout preference enum

This commit is contained in:
Robin Gareus 2021-01-31 19:58:26 +01:00
parent f7af89aeff
commit 6939470f81
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 13 additions and 0 deletions

View File

@ -484,6 +484,12 @@ enum MeterLineUp {
MeteringLineUp15
};
enum InputMeterLayout {
LayoutVertical,
LayoutHorizontal,
LayoutAutomatic,
};
enum PFLPosition {
/** PFL signals come from before pre-fader processors */
PFLFromBeforeProcessors,

View File

@ -73,6 +73,7 @@ DEFINE_ENUM_CONVERT(ARDOUR::WaveformShape)
DEFINE_ENUM_CONVERT(ARDOUR::ScreenSaverMode)
DEFINE_ENUM_CONVERT(ARDOUR::VUMeterStandard)
DEFINE_ENUM_CONVERT(ARDOUR::MeterLineUp)
DEFINE_ENUM_CONVERT(ARDOUR::InputMeterLayout)
DEFINE_ENUM_CONVERT(ARDOUR::MidiPortFlags)
DEFINE_ENUM_CONVERT(ARDOUR::TransportRequestType)
DEFINE_ENUM_CONVERT(ARDOUR::LoopFadeChoice)

View File

@ -79,6 +79,7 @@ setup_enum_writer ()
MeterHold _MeterHold;
VUMeterStandard _VUMeterStandard;
MeterLineUp _MeterLineUp;
InputMeterLayout _InputMeterLayout;
EditMode _EditMode;
RegionPoint _RegionPoint;
Placement _Placement;
@ -298,6 +299,11 @@ setup_enum_writer ()
REGISTER_ENUM (MeteringLineUp15);
REGISTER (_MeterLineUp);
REGISTER_ENUM (LayoutVertical);
REGISTER_ENUM (LayoutHorizontal);
REGISTER_ENUM (LayoutAutomatic);
REGISTER (_InputMeterLayout);
REGISTER_ENUM (Slide);
REGISTER_ENUM (Splice);
REGISTER_ENUM (Ripple); // XXX do the old enum values have to stay in order?