1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Merge pull request #1241 from ryandesign/patch-2

Fix typos in comments
This commit is contained in:
Thomas Harte 2023-12-04 12:12:16 -05:00 committed by GitHub
commit d476a17275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,9 +98,9 @@ Track::Event PCMTrack::get_next_event() {
// effect is an index hole // effect is an index hole
Time total_length = event.length; Time total_length = event.length;
// continue until somewhere no returning an index hole // continue until somewhere not returning an index hole
while(event.type == Track::Event::IndexHole) { while(event.type == Track::Event::IndexHole) {
// advance to the [start of] the next segment // advance to [the start of] the next segment
segment_pointer_ = (segment_pointer_ + 1) % segment_event_sources_.size(); segment_pointer_ = (segment_pointer_ + 1) % segment_event_sources_.size();
segment_event_sources_[segment_pointer_].reset(); segment_event_sources_[segment_pointer_].reset();