diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-09 21:06:12 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-09 21:06:12 +0000 |
commit | 9dc61bff3ae1420e4724b82bcf6da9ead456bf8a (patch) | |
tree | 45f1bd1cd19ae32ab2c6ae054d0eba7573bf0ef2 /libs/ardour/audio_playlist.cc | |
parent | 4e906f76073dfd292635637bee26d5739c2f6a5f (diff) |
Comment tweak.
git-svn-id: svn://localhost/ardour2/branches/3.0@12633 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_playlist.cc')
-rw-r--r-- | libs/ardour/audio_playlist.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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<framepos_t> 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<framepos_t> range) if (in_set_state || in_partition || !_session.config.get_auto_xfade ()) { return; } - + boost::shared_ptr<RegionList> starts = regions_with_start_within (range); boost::shared_ptr<RegionList> ends = regions_with_end_within (range); @@ -307,7 +307,7 @@ AudioPlaylist::check_crossfades (Evoral::Range<framepos_t> 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<framepos_t> range) break; } } - + top->set_fade_in_active (true); top->set_fade_in_is_xfade (true); |