1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-17 08:01:12 +02: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

@@ -182,7 +182,7 @@ void ODComputeSummaryTask::Update()
Sequence *seq;
//gather all the blockfiles that we should process in the wavetrack.
for (const auto &clip : mWaveTracks[j]->GetClips()) {
for (const auto &clip : mWaveTracks[j]->GetAllClips()) {
seq = clip->GetSequence();
//This lock may be way too big since the whole file is one sequence.
//TODO: test for large files and find a way to break it down.

View File

@@ -140,7 +140,7 @@ void ODDecodeTask::Update()
Sequence *seq;
//gather all the blockfiles that we should process in the wavetrack.
for (const auto &clip : mWaveTracks[j]->GetClips()) {
for (const auto &clip : mWaveTracks[j]->GetAllClips()) {
seq = clip->GetSequence();
//TODO:this lock is way to big since the whole file is one sequence. find a way to break it down.
seq->LockDeleteUpdateMutex();