Add Lua binding to query current editor-mixer route

https://discourse.ardour.org/t/lua-editor-mixer-strip/109886
This commit is contained in:
Robin Gareus 2024-02-17 15:01:58 +01:00
parent 35686baa2b
commit 00c76e785c
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 15 additions and 0 deletions

View file

@ -176,6 +176,15 @@ Editor::show_editor_mixer (bool yn)
#endif
}
std::shared_ptr<ARDOUR::Route>
Editor::current_mixer_stripable () const
{
if (current_mixer_strip) {
return current_mixer_strip->route ();
}
return std::shared_ptr<ARDOUR::Route> ();
}
#ifdef __APPLE__
void
Editor::ensure_all_elements_drawn ()