summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_streamview.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-08 13:33:35 +0200
committerRobin Gareus <robin@gareus.org>2017-06-08 13:34:23 +0200
commitb57b1de49128c918a7d322be953db979ea687751 (patch)
tree262344e3ecdf9534930e2ca5a35a8eefbe0f869e /gtk2_ardour/audio_streamview.cc
parent104bebe1bda64b6f1e6ea4a4fe8220d0fa6dfc76 (diff)
Fix rec-box w/count-in
Since 478f26b2ad, transport_rolling() is only true when actually rolling. Count-in is a no-roll process (don't move playhead, no playhead UI position interpolation 55b8b448). But transport isn't exactly stopped either (preparing to roll), so during count-in transport_stopped() == transport_rolling() == false.
Diffstat (limited to 'gtk2_ardour/audio_streamview.cc')
-rw-r--r--gtk2_ardour/audio_streamview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_streamview.cc b/gtk2_ardour/audio_streamview.cc
index c7adcfce7e..8a37a66cac 100644
--- a/gtk2_ardour/audio_streamview.cc
+++ b/gtk2_ardour/audio_streamview.cc
@@ -181,7 +181,7 @@ AudioStreamView::setup_rec_box ()
{
//cerr << _trackview.name() << " streamview SRB region_views.size() = " << region_views.size() << endl;
- if (_trackview.session()->transport_rolling()) {
+ if (!_trackview.session()->transport_stopped()) {
// cerr << "\trolling\n";