Audacity 3.2.0
|
Fix consistency of cutlines and envelope after deleting from Sequences. More...
Public Member Functions | |
ClearSequenceFinisher () noexcept=default | |
ClearSequenceFinisher (WaveClip *pClip, double t0, double t1, double clip_t0, double clip_t1) noexcept | |
ClearSequenceFinisher & | operator= (ClearSequenceFinisher &&other) |
~ClearSequenceFinisher () noexcept | |
void | Commit () noexcept |
Private Member Functions | |
ClearSequenceFinisher & | operator= (const ClearSequenceFinisher &other)=default |
Private Attributes | |
WaveClip * | pClip {} |
double | t0 {} |
double | t1 {} |
double | clip_t0 {} |
double | clip_t1 {} |
bool | committed = false |
Fix consistency of cutlines and envelope after deleting from Sequences.
This is like a finally object
Definition at line 890 of file WaveClip.h.
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 899 of file WaveClip.h.
|
noexcept |
Definition at line 1357 of file WaveClip.cpp.
References clip_t0, clip_t1, Envelope::CollapseRegion(), committed, WaveClip::GetEnvelope(), WaveClip::GetRate(), WaveClip::GetSequenceStartTime(), WaveClip::mCutLines, pClip, WaveClip::ShiftBy(), t0, and t1.
|
inlinenoexcept |
Definition at line 911 of file WaveClip.h.
Referenced by WaveClip::Clear(), WaveClip::ClearLeft(), WaveClip::ClearRight(), WaveClip::InsertSilence(), and WaveClip::Paste().
|
inline |
Definition at line 904 of file WaveClip.h.
References pClip.
|
privatedefault |
|
private |
Definition at line 917 of file WaveClip.h.
Referenced by ~ClearSequenceFinisher().
|
private |
Definition at line 917 of file WaveClip.h.
Referenced by ~ClearSequenceFinisher().
|
private |
Definition at line 918 of file WaveClip.h.
Referenced by ~ClearSequenceFinisher().
|
private |
Definition at line 916 of file WaveClip.h.
Referenced by operator=(), and ~ClearSequenceFinisher().
|
private |
Definition at line 917 of file WaveClip.h.
Referenced by ~ClearSequenceFinisher().
|
private |
Definition at line 917 of file WaveClip.h.
Referenced by ~ClearSequenceFinisher().