| 50 | } |
| 51 | |
| 52 | void WaveTrackUtilities::AllClipsIterator::Push(IntervalHolders clips) |
| 53 | { |
| 54 | if (!mpTrack) |
| 55 | return; |
| 56 | |
| 57 | // Go depth first while there are cutlines |
| 58 | while (!clips.empty()) { |
| 59 | auto nextClips = clips[0]->GetCutLines(); |
| 60 | mStack.push_back({ move(clips), 0 }); |
| 61 | clips = move(nextClips); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | namespace { |
| 66 | bool ReverseOneClip(WaveTrack &track, |