![]() |
Audacity 3.2.0
|
Go to the source code of this file.
Functions | |
| ClipData | CollectClipData (const WaveTrack &oldTrack, sampleCount start, sampleCount len) |
| Collect clip boundary and name information. More... | |
| void | PasteOverPreservingClips (const ClipData &data, WaveTrack &oldTrack, sampleCount start, sampleCount len, const WaveTrack &newContents) |
| Substitute new contents into existing track, preserving clip boundaries. More... | |
| ClipData CollectClipData | ( | const WaveTrack & | oldTrack, |
| sampleCount | start, | ||
| sampleCount | len | ||
| ) |
Collect clip boundary and name information.
| start | beginning position to paste over in oldTrack |
| len | length to paste over in oldTrack |
oldTrack.IsLeader() Definition at line 18 of file PasteOverPreservingClips.cpp.
References WaveTrack::GetClips(), WaveTrack::IsLeader(), and WideSampleSequence::LongSamplesToTime().
Referenced by EffectEqualization::Process().
| void PasteOverPreservingClips | ( | const ClipData & | data, |
| WaveTrack & | oldTrack, | ||
| sampleCount | start, | ||
| sampleCount | len, | ||
| const WaveTrack & | newContents | ||
| ) |
Substitute new contents into existing track, preserving clip boundaries.
| start | beginning position to paste over in oldTrack |
| len | length to paste over in oldTrack |
| newContents | begins at offset 0 |
oldTrack.IsLeader() newContents.IsLeader() oldTrack.NChannels() == newContents.NChannels() Definition at line 53 of file PasteOverPreservingClips.cpp.
References WaveTrack::Clear(), WaveTrack::Copy(), PackedArray::end(), WaveTrack::GetClipAtTime(), WaveTrack::GetRate(), WaveTrack::IsLeader(), WaveTrack::Join(), WideSampleSequence::LongSamplesToTime(), WaveTrack::NChannels(), WaveTrack::Paste(), and WaveClip::SetName().
Referenced by EffectEqualization::Process().