Audacity 3.2.0
|
Restores state when an update loop over mSequences fails midway. More...
Public Member Functions | |
Transaction (WaveClip &clip) | |
~Transaction () | |
void | Commit () |
Public Attributes | |
WaveClip & | clip |
std::vector< std::unique_ptr< Sequence > > | sequences |
const double | mTrimLeft |
const double | mTrimRight |
bool | committed { false } |
Restores state when an update loop over mSequences fails midway.
Definition at line 930 of file WaveClip.h.
|
explicit |
Does not copy un-flushed append buffer data
Definition at line 2050 of file WaveClip.cpp.
References clip, factory, WaveClip::GetFactory(), WaveClip::mSequences, and sequences.
WaveClip::Transaction::~Transaction | ( | ) |
Definition at line 2063 of file WaveClip.cpp.
References WaveClip::mTrimLeft, and WaveClip::mTrimRight.
|
inline |
Definition at line 933 of file WaveClip.h.
Referenced by WaveClip::Append(), WaveClip::Flush(), and WaveClip::SetSilence().
WaveClip& WaveClip::Transaction::clip |
Definition at line 935 of file WaveClip.h.
Referenced by Transaction().
bool WaveClip::Transaction::committed { false } |
Definition at line 939 of file WaveClip.h.
const double WaveClip::Transaction::mTrimLeft |
Definition at line 937 of file WaveClip.h.
const double WaveClip::Transaction::mTrimRight |
Definition at line 938 of file WaveClip.h.
std::vector<std::unique_ptr<Sequence> > WaveClip::Transaction::sequences |
Definition at line 936 of file WaveClip.h.
Referenced by Transaction().