diff --git a/libs/ardour/audio_playlist.cc b/libs/ardour/audio_playlist.cc index dad62daf41..6653e2f655 100644 --- a/libs/ardour/audio_playlist.cc +++ b/libs/ardour/audio_playlist.cc @@ -218,7 +218,7 @@ AudioPlaylist::read (Sample *buf, Sample *mixdown_buffer, float *gain_buffer, fr Evoral::RangeList region_to_do = Evoral::subtract (region_range, done); - /* Read those bits, adding their bodies (the parts between end-of-fade-in + /* Make a note to read those bits, adding their bodies (the parts between end-of-fade-in and start-of-fade-out) to the `done' list. */ @@ -258,7 +258,7 @@ AudioPlaylist::check_crossfades (Evoral::Range range) if (in_set_state || in_partition || !_session.config.get_auto_xfade ()) { return; } - + boost::shared_ptr starts = regions_with_start_within (range); boost::shared_ptr ends = regions_with_end_within (range); @@ -307,7 +307,7 @@ AudioPlaylist::check_crossfades (Evoral::Range range) } Evoral::OverlapType const c = top->coverage (bottom->position(), bottom->last_frame()); - + if (c == Evoral::OverlapStart) { /* top starts within bottom but covers bottom's end */ @@ -344,7 +344,7 @@ AudioPlaylist::check_crossfades (Evoral::Range range) break; } } - + top->set_fade_in_active (true); top->set_fade_in_is_xfade (true);