diff --git a/libs/ardour/ardour/surround_return.h b/libs/ardour/ardour/surround_return.h index 247d2b7cd7..d276f0a761 100644 --- a/libs/ardour/ardour/surround_return.h +++ b/libs/ardour/ardour/surround_return.h @@ -110,7 +110,7 @@ public: /* XXX this is only for testing */ void set_bed_mix (bool on, std::string const& ref, int* cmap = NULL); - void set_sync_and_return (bool on); + void set_sync_and_align (bool on); int set_state (XMLNode const&, int version); diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 44e8fbc2fd..9ee735c756 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -1922,7 +1922,7 @@ LuaBindings::common (lua_State* L) .deriveWSPtrClass ("SurroundReturn") .addFunction ("set_bed_mix", &SurroundReturn::set_bed_mix) - .addFunction ("set_sync_and_return", &SurroundReturn::set_sync_and_return) + .addFunction ("set_sync_and_align", &SurroundReturn::set_sync_and_align) .addFunction ("have_au_renderer", &SurroundReturn::have_au_renderer) .addFunction ("load_au_preset", &SurroundReturn::load_au_preset) .addFunction ("set_au_param", &SurroundReturn::set_au_param) diff --git a/libs/ardour/surround_return.cc b/libs/ardour/surround_return.cc index e3ecdc73d7..0db433c278 100644 --- a/libs/ardour/surround_return.cc +++ b/libs/ardour/surround_return.cc @@ -377,7 +377,7 @@ SurroundReturn::set_bed_mix (bool on, std::string const& ref, int* cmap) } void -SurroundReturn::set_sync_and_return (bool on) +SurroundReturn::set_sync_and_align (bool on) { if (_sync_and_align == on) { return;