mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +01:00
expose clock signal interval from ARDOUR_UI
This commit is contained in:
parent
8e581d0997
commit
2d1b7f6de4
2 changed files with 11 additions and 0 deletions
|
|
@ -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
|
void
|
||||||
ARDOUR_UI::stop_clocking ()
|
ARDOUR_UI::stop_clocking ()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -298,6 +298,7 @@ public:
|
||||||
* (either RapidScreenUpdate || SuperRapidScreenUpdate - user-config)
|
* (either RapidScreenUpdate || SuperRapidScreenUpdate - user-config)
|
||||||
*/
|
*/
|
||||||
static sigc::signal<void, Temporal::timepos_t> Clock;
|
static sigc::signal<void, Temporal::timepos_t> Clock;
|
||||||
|
static unsigned int clock_signal_interval ();
|
||||||
|
|
||||||
static void close_all_dialogs () { CloseAllDialogs(); }
|
static void close_all_dialogs () { CloseAllDialogs(); }
|
||||||
static sigc::signal<void> CloseAllDialogs;
|
static sigc::signal<void> CloseAllDialogs;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue