expose clock signal interval from ARDOUR_UI
This commit is contained in:
@@ -2182,6 +2182,16 @@ ARDOUR_UI::start_clocking ()
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int
|
||||
ARDOUR_UI::clock_signal_interval ()
|
||||
{
|
||||
if (UIConfiguration::instance().get_super_rapid_clock_update()) {
|
||||
return Timers::fps_interval ();
|
||||
} else {
|
||||
return Timers::rapid_interval ();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
ARDOUR_UI::stop_clocking ()
|
||||
{
|
||||
|
||||
@@ -298,6 +298,7 @@ public:
|
||||
* (either RapidScreenUpdate || SuperRapidScreenUpdate - user-config)
|
||||
*/
|
||||
static sigc::signal<void, Temporal::timepos_t> Clock;
|
||||
static unsigned int clock_signal_interval ();
|
||||
|
||||
static void close_all_dialogs () { CloseAllDialogs(); }
|
||||
static sigc::signal<void> CloseAllDialogs;
|
||||
|
||||
Reference in New Issue
Block a user