From 57311c76430f70e1d0700bfeaafe513529de82cd Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 14 Jan 2021 15:02:43 -0700 Subject: [PATCH] nutempo #warning removal --- libs/ardour/luabindings.cc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index af30e159fd..61ade8cabf 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -2077,21 +2077,19 @@ LuaBindings::common (lua_State* L) .endNamespace () .beginNamespace ("Temporal") + .beginNamespace ("TimeDomain") .addConst ("AudioTime", Temporal::AudioTime) .addConst ("BeatTime", Temporal::BeatTime) .endNamespace () + + .beginNamespace ("Tempo") + .beginNamespace ("Type") + .addConst ("Ramp", Temporal::Tempo::Type(Tempo::Ramped)) + .addConst ("Constant", Temporal::Tempo::Type(Tempo::Constant)) .endNamespace () -#warning NUTEMPO fix types here -#if 0 - .beginNamespace ("TempoSection") - .beginNamespace ("Type") - .addConst ("Ramp", ARDOUR::TempoSection::Type(TempoSection::Ramp)) - .addConst ("Constant", ARDOUR::TempoSection::Type(TempoSection::Constant)) - .endNamespace () - .endNamespace () -#endif + .endNamespace () /* end of Temporal namespace */ .beginNamespace ("TrackMode") .addConst ("Normal", ARDOUR::TrackMode(Start))