1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Iterate over all clips of a track, including cutlines, where needed

This commit is contained in:
Paul Licameli
2016-08-13 16:06:00 -04:00
parent 6909bdf398
commit 84a6456788
5 changed files with 78 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ static void GetAllSeqBlocks(AudacityProject *project,
while (t) {
if (t->GetKind() == Track::Wave) {
WaveTrack *waveTrack = static_cast<WaveTrack*>(t);
for(const auto &clip : waveTrack->GetClips()) {
for(const auto &clip : waveTrack->GetAllClips()) {
Sequence *sequence = clip->GetSequence();
BlockArray &blocks = sequence->GetBlockArray();
int i;