Audacity 3.2.0
|
#include <WaveClip.h>
Public Member Functions | |
virtual | ~WaveClipListener ()=0 |
virtual void | MarkChanged () noexcept=0 |
virtual void | Invalidate ()=0 |
virtual void | WriteXMLAttributes (XMLWriter &writer) const |
virtual bool | HandleXMLAttribute (const std::string_view &attr, const XMLAttributeValueView &valueView) |
virtual void | MakeStereo (WaveClipListener &&other, bool aligned) |
virtual void | SwapChannels () |
Default implementation does nothing. More... | |
virtual void | Erase (size_t index) |
Definition at line 52 of file WaveClip.h.
|
pure virtualdefault |
|
virtual |
Erase attachment at a given index, if it existed, moving later-indexed attachments to earlier indices
Default implementation does nothing
Reimplemented in WaveClipSpectrumCache.
Definition at line 58 of file WaveClip.cpp.
Referenced by WaveClip::DiscardRightChannel(), and WaveClip::SplitChannels().
|
virtual |
Reimplemented in WaveColorAttachment.
Definition at line 44 of file WaveClip.cpp.
Referenced by WaveClip::HandleXMLTag().
|
pure virtual |
Implemented in WaveClipSpectrumCache, WaveColorAttachment, and anonymous_namespace{WaveformView.cpp}::WaveformPainter.
Referenced by WaveClip::Resample().
|
virtual |
Append the other's attachments to this, assuming concrete subclasses are the same
Default implementation does nothing
aligned | whether the strong invariant condition on the clip may be assumed |
typeid(*this) == typeid(other)
Reimplemented in WaveClipSpectrumCache.
Definition at line 50 of file WaveClip.cpp.
Referenced by WaveClip::MakeStereo().
|
pure virtualnoexcept |
Implemented in WaveClipSpectrumCache, WaveColorAttachment, and anonymous_namespace{WaveformView.cpp}::WaveformPainter.
Referenced by WaveClip::MarkChanged().
|
virtual |
Default implementation does nothing.
Reimplemented in WaveClipSpectrumCache, and anonymous_namespace{WaveformView.cpp}::WaveformPainter.
Definition at line 54 of file WaveClip.cpp.
Referenced by WaveClip::SwapChannels().
|
virtual |
Reimplemented in WaveColorAttachment.
Definition at line 40 of file WaveClip.cpp.
Referenced by WaveClip::WriteXML().