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.
This commit is contained in:
Robin Gareus 2017-06-08 13:33:35 +02:00
parent 104bebe1bd
commit b57b1de491
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -449,7 +449,7 @@ MidiStreamView::setup_rec_box ()
{
// cerr << _trackview.name() << " streamview SRB\n";
if (_trackview.session()->transport_rolling()) {
if (!_trackview.session()->transport_stopped()) {
if (!rec_active &&
_trackview.session()->record_status() == Session::Recording &&