GUI fix for get_microseconds() move to libpbd
This commit is contained in:
parent
9cbaa31c7e
commit
6b6114eb75
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user