From e9a8ccc7e2826d8fe91eff34ee8a0683a7f7aac6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 25 Jun 2016 02:23:56 +0200 Subject: major internal plugin & processor API change: Pass current (latency compensated) cycle times to plugin. This fixes time-reporting to plugins and also fixes automation and when bouncing (the session->transport* is not valid) etc. --- libs/ardour/ardour/session.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ardour/session.h') diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 0d96777f8c..5ec7e99cea 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -676,8 +676,8 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop bool synced_to_ltc () const { return config.get_external_sync() && Config->get_sync_source() == LTC && g_atomic_int_get (const_cast(&_ltc_active)); } double transport_speed() const { return _transport_speed; } - bool transport_stopped() const { return _transport_speed == 0.0f; } - bool transport_rolling() const { return _transport_speed != 0.0f; } + bool transport_stopped() const { return _transport_speed == 0.0; } + bool transport_rolling() const { return _transport_speed != 0.0; } bool silent () { return _silent; } -- cgit v1.2.3