Add "empty" check to BasicUI

This commit is contained in:
Robin Gareus 2026-01-07 13:52:51 +01:00
parent 8c745ff78c
commit 7d7ac589e3
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 8 additions and 0 deletions

View file

@ -781,6 +781,12 @@ BasicUI::locked ()
return session->transport_locked ();
}
bool
BasicUI::session_empty () const
{
return session->empty ();
}
ARDOUR::samplecnt_t
BasicUI::timecode_frames_per_hour ()
{

View file

@ -88,6 +88,8 @@ class LIBCONTROLCP_API BasicUI {
bool locked ();
void save_state ();
bool session_empty () const;
void prev_marker ();
void next_marker ();
void undo ();