Define Lua constants (used with preferences)
This commit is contained in:
parent
534838995d
commit
360c81b815
@ -475,10 +475,10 @@ enum MeterState {
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum VUMeterStandard {
|
enum VUMeterStandard {
|
||||||
MeteringVUfrench, // 0VU = -2dBu
|
MeteringVUfrench, ///< 0VU = -2dBu
|
||||||
MeteringVUamerican, // 0VU = 0dBu
|
MeteringVUamerican, ///< 0VU = 0dBu
|
||||||
MeteringVUstandard, // 0VU = +4dBu
|
MeteringVUstandard, ///< 0VU = +4dBu
|
||||||
MeteringVUeight // 0VU = +8dBu
|
MeteringVUeight ///< 0VU = +8dBu
|
||||||
};
|
};
|
||||||
|
|
||||||
enum MeterLineUp {
|
enum MeterLineUp {
|
||||||
|
@ -2183,6 +2183,37 @@ LuaBindings::common (lua_State* L)
|
|||||||
.addConst ("Wheel", ARDOUR::ShuttleBehaviour(Wheel))
|
.addConst ("Wheel", ARDOUR::ShuttleBehaviour(Wheel))
|
||||||
.endNamespace ()
|
.endNamespace ()
|
||||||
|
|
||||||
|
.beginNamespace ("ScreenSaverMode")
|
||||||
|
.addConst ("InhibitNever", ARDOUR::ScreenSaverMode(InhibitNever))
|
||||||
|
.addConst ("InhibitWhileRecording", ARDOUR::ScreenSaverMode(InhibitWhileRecording))
|
||||||
|
.addConst ("InhibitAlways", ARDOUR::ScreenSaverMode(InhibitAlways))
|
||||||
|
.endNamespace ()
|
||||||
|
|
||||||
|
.beginNamespace ("ClockDeltaMode")
|
||||||
|
.addConst ("NoDelta", ARDOUR::ClockDeltaMode(NoDelta))
|
||||||
|
.addConst ("DeltaEditPoint", ARDOUR::ClockDeltaMode(DeltaEditPoint))
|
||||||
|
.addConst ("DeltaOriginMarker", ARDOUR::ClockDeltaMode(DeltaOriginMarker))
|
||||||
|
.endNamespace ()
|
||||||
|
|
||||||
|
.beginNamespace ("WaveformScale")
|
||||||
|
.addConst ("Linear", ARDOUR::WaveformScale(Linear))
|
||||||
|
.addConst ("Logarithmic", ARDOUR::WaveformScale(Logarithmic))
|
||||||
|
.endNamespace ()
|
||||||
|
|
||||||
|
.beginNamespace ("MeterLineUp")
|
||||||
|
.addConst ("MeteringLineUp24", ARDOUR::MeterLineUp(MeteringLineUp24))
|
||||||
|
.addConst ("MeteringLineUp20", ARDOUR::MeterLineUp(MeteringLineUp20))
|
||||||
|
.addConst ("MeteringLineUp18", ARDOUR::MeterLineUp(MeteringLineUp18))
|
||||||
|
.addConst ("MeteringLineUp15", ARDOUR::MeterLineUp(MeteringLineUp15))
|
||||||
|
.endNamespace ()
|
||||||
|
|
||||||
|
.beginNamespace ("VUMeterStandard")
|
||||||
|
.addConst ("MeteringVUfrench", ARDOUR::VUMeterStandard(MeteringVUfrench))
|
||||||
|
.addConst ("MeteringVUamerican", ARDOUR::VUMeterStandard(MeteringVUamerican))
|
||||||
|
.addConst ("MeteringVUstandard", ARDOUR::VUMeterStandard(MeteringVUstandard))
|
||||||
|
.addConst ("MeteringVUeight", ARDOUR::VUMeterStandard(MeteringVUeight))
|
||||||
|
.endNamespace ()
|
||||||
|
|
||||||
.beginNamespace ("ShuttleUnits")
|
.beginNamespace ("ShuttleUnits")
|
||||||
.addConst ("Percentage", ARDOUR::ShuttleUnits(Percentage))
|
.addConst ("Percentage", ARDOUR::ShuttleUnits(Percentage))
|
||||||
.addConst ("Semitones", ARDOUR::ShuttleUnits(Semitones))
|
.addConst ("Semitones", ARDOUR::ShuttleUnits(Semitones))
|
||||||
|
Loading…
Reference in New Issue
Block a user