![]() |
Audacity 3.2.0
|
#include <vector>Go to the source code of this file.
Classes | |
| struct | ClipData |
Typedefs | |
| using | Gap = std::pair< double, double > |
| using | Gaps = std::vector< Gap > |
Functions | |
| WAVE_TRACK_API ClipData | CollectClipData (const WaveTrack &oldTrack, sampleCount start, sampleCount len) |
| Collect clip boundary and name information. More... | |
| WAVE_TRACK_API void | PasteOverPreservingClips (const ClipData &data, WaveTrack &oldTrack, sampleCount start, sampleCount len, const WaveTrack &newContents) |
| Substitute new contents into existing track, preserving clip boundaries. More... | |
| using Gap = std::pair<double, double> |
Definition at line 22 of file PasteOverPreservingClips.h.
Definition at line 23 of file PasteOverPreservingClips.h.
| WAVE_TRACK_API 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().
| WAVE_TRACK_API 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().