mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Fix rec-box w/count-in
Since478f26b2ad, transport_rolling() is only true when actually rolling. Count-in is a no-roll process (don't move playhead, no playhead UI position interpolation55b8b448). But transport isn't exactly stopped either (preparing to roll), so during count-in transport_stopped() == transport_rolling() == false.
This commit is contained in:
parent
104bebe1bd
commit
b57b1de491
2 changed files with 2 additions and 2 deletions
|
|
@ -181,7 +181,7 @@ AudioStreamView::setup_rec_box ()
|
||||||
{
|
{
|
||||||
//cerr << _trackview.name() << " streamview SRB region_views.size() = " << region_views.size() << endl;
|
//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";
|
// cerr << "\trolling\n";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -449,7 +449,7 @@ MidiStreamView::setup_rec_box ()
|
||||||
{
|
{
|
||||||
// cerr << _trackview.name() << " streamview SRB\n";
|
// cerr << _trackview.name() << " streamview SRB\n";
|
||||||
|
|
||||||
if (_trackview.session()->transport_rolling()) {
|
if (!_trackview.session()->transport_stopped()) {
|
||||||
|
|
||||||
if (!rec_active &&
|
if (!rec_active &&
|
||||||
_trackview.session()->record_status() == Session::Recording &&
|
_trackview.session()->record_status() == Session::Recording &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue