13
0

GUI fix for get_microseconds() move to libpbd

This commit is contained in:
Paul Davis 2021-06-26 18:27:54 -06:00
parent 9cbaa31c7e
commit 6b6114eb75
2 changed files with 2 additions and 2 deletions

View File

@ -718,7 +718,7 @@ au_cf_timer_callback (CFRunLoopTimerRef timer, void* info)
void
AUPluginUI::cf_timer_callback ()
{
int64_t now = ARDOUR::get_microseconds ();
int64_t now = PBD::get_microseconds ();
if (!last_timer || block_plugin_redraws) {
last_timer = now;

View File

@ -512,7 +512,7 @@ ShuttleControl::fract_as_semitones (float fract, bool& reverse)
void
ShuttleControl::use_shuttle_fract (bool force, bool zero_ok)
{
microseconds_t now = get_microseconds();
microseconds_t now = PBD::get_microseconds();
shuttle_fract = max (-1.0f, shuttle_fract);
shuttle_fract = min (1.0f, shuttle_fract);