diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2016-02-16 15:32:58 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2016-02-16 15:33:12 -0600 |
commit | 86edc1ccfee6ef927b171959df7121b414a6b987 (patch) | |
tree | 849aadc084f9556682ab150335a2321a8a72f2a8 /libs/ardour/session_vst.cc | |
parent | f30d1d607364076cf330096a5240ecb1fabdf806 (diff) |
Fill some more VST transport flags.
Diffstat (limited to 'libs/ardour/session_vst.cc')
-rw-r--r-- | libs/ardour/session_vst.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/session_vst.cc b/libs/ardour/session_vst.cc index 96dc4115c7..c6978eddc7 100644 --- a/libs/ardour/session_vst.cc +++ b/libs/ardour/session_vst.cc @@ -249,11 +249,18 @@ intptr_t Session::vst_callback ( _timeInfo.flags |= (kVstSmpteValid); } + //ToDo: + //if this is found to be burdensome to plugins, + //we should cache the previous state at a global level, + //and only set this flag when the transport changes state + _timeInfo.flags |= (kVstTransportChanged); + if (session->transport_speed() != 0.0f) { _timeInfo.flags |= (kVstTransportPlaying); } if (session->get_play_loop()) { + _timeInfo.flags |= (kVstTransportCycleActive); } } else { |