Audacity 3.2.0
|
A WaveTrack contains WaveClip(s). A WaveClip contains a Sequence. A Sequence is primarily an interface to an array of SeqBlock instances, corresponding to the audio sample blocks in the database. Contrast with RingBuffer. More...
#include <Sequence.h>
Public Member Functions | |
Sequence (const SampleBlockFactoryPtr &pFactory, SampleFormats formats) | |
Sequence (const Sequence &orig, const SampleBlockFactoryPtr &pFactory) | |
Does not copy un-flushed append buffer data. More... | |
Sequence (const Sequence &)=delete | |
Sequence & | operator= (const Sequence &)=delete |
~Sequence () | |
sampleCount | GetNumSamples () const |
bool | Get (samplePtr buffer, sampleFormat format, sampleCount start, size_t len, bool mayThrow) const |
Get a range of samples from the sequence. More... | |
AudioSegmentSampleView | GetFloatSampleView (sampleCount start, size_t len, bool mayThrow) const |
void | SetSamples (constSamplePtr buffer, sampleFormat format, sampleCount start, sampleCount len, sampleFormat effectiveFormat) |
Pass nullptr to set silence. More... | |
std::unique_ptr< Sequence > | Copy (const SampleBlockFactoryPtr &pFactory, sampleCount s0, sampleCount s1) const |
void | Paste (sampleCount s0, const Sequence *src) |
size_t | GetIdealAppendLen () const |
bool | Append (constSamplePtr buffer, sampleFormat format, size_t len, size_t stride, sampleFormat effectiveFormat) |
void | Flush () |
SeqBlock::SampleBlockPtr | AppendNewBlock (constSamplePtr buffer, sampleFormat format, size_t len) |
void | AppendSharedBlock (const SeqBlock::SampleBlockPtr &pBlock) |
Append a complete block, not coalescing. More... | |
void | Delete (sampleCount start, sampleCount len) |
void | SetSilence (sampleCount s0, sampleCount len) |
void | InsertSilence (sampleCount s0, sampleCount len) |
const SampleBlockFactoryPtr & | GetFactory () const |
bool | HandleXMLTag (const std::string_view &tag, const AttributesList &attrs) override |
void | HandleXMLEndTag (const std::string_view &tag) override |
XMLTagHandler * | HandleXMLChild (const std::string_view &tag) override |
void | WriteXML (XMLWriter &xmlFile) const |
bool | GetErrorOpening () const |
bool | CloseLock () noexcept |
Should be called upon project close. Not balanced by unlocking calls. More... | |
SampleFormats | GetSampleFormats () const |
bool | ConvertToSampleFormat (sampleFormat format, const std::function< void(size_t)> &progressReport={}) |
std::pair< float, float > | GetMinMax (sampleCount start, sampleCount len, bool mayThrow) const |
float | GetRMS (sampleCount start, sampleCount len, bool mayThrow) const |
size_t | GetBestBlockSize (sampleCount start) const |
size_t | GetMaxBlockSize () const |
size_t | GetIdealBlockSize () const |
const BlockArray & | GetBlockArray () const |
size_t | GetAppendBufferLen () const |
constSamplePtr | GetAppendBuffer () const |
int | FindBlock (sampleCount pos) const |
void | ConsistencyCheck (const wxChar *whereStr, bool mayThrow=true) const |
Public Member Functions inherited from XMLTagHandler | |
XMLTagHandler () | |
virtual | ~XMLTagHandler () |
virtual bool | HandleXMLTag (const std::string_view &tag, const AttributesList &attrs)=0 |
virtual void | HandleXMLEndTag (const std::string_view &WXUNUSED(tag)) |
virtual void | HandleXMLContent (const std::string_view &WXUNUSED(content)) |
virtual XMLTagHandler * | HandleXMLChild (const std::string_view &tag)=0 |
void | ReadXMLEndTag (const char *tag) |
void | ReadXMLContent (const char *s, int len) |
XMLTagHandler * | ReadXMLChild (const char *tag) |
Static Public Member Functions | |
static void | SetMaxDiskBlockSize (size_t bytes) |
static size_t | GetMaxDiskBlockSize () |
static bool | IsValidSampleFormat (const int nValue) |
true if nValue is one of the sampleFormat enum values More... | |
static bool | Read (samplePtr buffer, sampleFormat format, const SeqBlock &b, size_t blockRelativeStart, size_t len, bool mayThrow) |
static void | DebugPrintf (const BlockArray &block, sampleCount numSamples, wxString *dest) |
Static Public Attributes | |
static const char * | Sequence_tag = "sequence" |
static const char * | WaveBlock_tag = "waveblock" |
Private Member Functions | |
sampleCount | GetBlockStart (sampleCount position) const |
SeqBlock::SampleBlockPtr | DoAppend (constSamplePtr buffer, sampleFormat format, size_t len, bool coalesce) |
Does not do any dithering. More... | |
bool | Get (int b, samplePtr buffer, sampleFormat format, sampleCount start, size_t len, bool mayThrow) const |
void | CommitChangesIfConsistent (BlockArray &newBlock, sampleCount numSamples, const wxChar *whereStr) |
void | AppendBlocksIfConsistent (BlockArray &additionalBlocks, bool replaceLast, sampleCount numSamples, const wxChar *whereStr) |
Static Private Member Functions | |
static void | AppendBlock (SampleBlockFactory *pFactory, sampleFormat format, BlockArray &blocks, sampleCount &numSamples, const SeqBlock &b) |
static void | Blockify (SampleBlockFactory &factory, size_t maxSamples, sampleFormat format, BlockArray &list, sampleCount start, constSamplePtr buffer, size_t len) |
static void | ConsistencyCheck (const BlockArray &block, size_t maxSamples, size_t from, sampleCount numSamples, const wxChar *whereStr, bool mayThrow=true) |
Private Attributes | |
SampleBlockFactoryPtr | mpFactory |
std::atomic< size_t > | mBlockCount { 0 } |
BlockArray | mBlock |
SampleFormats | mSampleFormats |
sampleCount | mNumSamples { 0 } |
size_t | mMinSamples |
size_t | mMaxSamples |
SampleBuffer | mAppendBuffer {} |
size_t | mAppendBufferLen { 0 } |
sampleFormat | mAppendEffectiveFormat { narrowestSampleFormat } |
bool | mErrorOpening { false } |
Static Private Attributes | |
static size_t | sMaxDiskBlockSize = 1048576 |
A WaveTrack contains WaveClip(s). A WaveClip contains a Sequence. A Sequence is primarily an interface to an array of SeqBlock instances, corresponding to the audio sample blocks in the database. Contrast with RingBuffer.
Definition at line 53 of file Sequence.h.
Sequence::Sequence | ( | const SampleBlockFactoryPtr & | pFactory, |
SampleFormats | formats | ||
) |
Definition at line 54 of file Sequence.cpp.
Sequence::Sequence | ( | const Sequence & | orig, |
const SampleBlockFactoryPtr & | pFactory | ||
) |
Does not copy un-flushed append buffer data.
Definition at line 66 of file Sequence.cpp.
References Paste().
|
delete |
Sequence::~Sequence | ( | ) |
Definition at line 76 of file Sequence.cpp.
bool Sequence::Append | ( | constSamplePtr | buffer, |
sampleFormat | format, | ||
size_t | len, | ||
size_t | stride, | ||
sampleFormat | effectiveFormat | ||
) |
Samples may be retained in a memory buffer, pending Flush() If there are exceptions, an unspecified prefix of buffer may be appended
effectiveFormat | Make the effective format of the data at least the minumum of this value and `format`. (Maybe wider, if merging with preexistent data.) If the data are later narrowed from stored format, but not narrower than the effective, then no dithering will occur. |
Definition at line 1372 of file Sequence.cpp.
References SampleBuffer::Allocate(), CopySamples(), DoAppend(), anonymous_namespace{ExportPCM.cpp}::format, GetIdealAppendLen(), gHighQualityDither, mAppendBuffer, mAppendBufferLen, mAppendEffectiveFormat, min(), mMaxSamples, mSampleFormats, none, SampleBuffer::ptr(), SAMPLE_SIZE, SampleFormats::Stored(), and SampleFormats::UpdateEffective().
|
staticprivate |
Definition at line 752 of file Sequence.cpp.
References sampleCount::as_double(), anonymous_namespace{ExportPCM.cpp}::format, mBlock, mNumSamples, anonymous_namespace{Sequence.cpp}::Overflows(), SeqBlock::sb, anonymous_namespace{Sequence.cpp}::ShareOrCopySampleBlock(), and THROW_INCONSISTENCY_EXCEPTION.
Referenced by Copy(), and Paste().
|
private |
Definition at line 1817 of file Sequence.cpp.
References ConsistencyCheck(), staffpad::vo::copy(), mBlock, mBlockCount, mMaxSamples, and mNumSamples.
Referenced by AppendSharedBlock(), and DoAppend().
SeqBlock::SampleBlockPtr Sequence::AppendNewBlock | ( | constSamplePtr | buffer, |
sampleFormat | format, | ||
size_t | len | ||
) |
Append data, not coalescing blocks, returning a pointer to the new block. No dithering applied.
Definition at line 1337 of file Sequence.cpp.
References DoAppend(), anonymous_namespace{ExportPCM.cpp}::format, mSampleFormats, and SampleFormats::UpdateEffective().
void Sequence::AppendSharedBlock | ( | const SeqBlock::SampleBlockPtr & | pBlock | ) |
Append a complete block, not coalescing.
Definition at line 1348 of file Sequence.cpp.
References AppendBlocksIfConsistent(), sampleCount::as_double(), ConsistencyCheck(), mNumSamples, anonymous_namespace{Sequence.cpp}::Overflows(), THROW_INCONSISTENCY_EXCEPTION, and wxT().
|
staticprivate |
Definition at line 1549 of file Sequence.cpp.
References factory, mMaxSamples, SAMPLE_SIZE, SeqBlock::sb, and SeqBlock::start.
Referenced by ConvertToSampleFormat(), Delete(), and Paste().
|
noexcept |
Should be called upon project close. Not balanced by unlocking calls.
Definition at line 90 of file Sequence.cpp.
References mBlock, and mBlockCount.
|
private |
Definition at line 1804 of file Sequence.cpp.
References ConsistencyCheck(), mBlock, mBlockCount, mMaxSamples, and mNumSamples.
Referenced by ConvertToSampleFormat(), Delete(), Paste(), and SetSamples().
|
staticprivate |
void Sequence::ConsistencyCheck | ( | const wxChar * | whereStr, |
bool | mayThrow = true |
||
) | const |
Definition at line 1748 of file Sequence.cpp.
References ConsistencyCheck(), mBlock, mMaxSamples, and mNumSamples.
Referenced by AppendBlocksIfConsistent(), AppendSharedBlock(), CommitChangesIfConsistent(), ConsistencyCheck(), Delete(), DoAppend(), and Paste().
bool Sequence::ConvertToSampleFormat | ( | sampleFormat | format, |
const std::function< void(size_t)> & | progressReport = {} |
||
) |
Definition at line 131 of file Sequence.cpp.
References Blockify(), CommitChangesIfConsistent(), CopySamples(), SampleFormats::Effective(), anonymous_namespace{Sequence.cpp}::ensureSampleBufferSize(), anonymous_namespace{ExportPCM.cpp}::format, gHighQualityDither, mBlock, mBlockCount, mMaxSamples, mMinSamples, mNumSamples, mpFactory, mSampleFormats, narrowestSampleFormat, none, SampleBuffer::ptr(), Read(), SAMPLE_SIZE, SeqBlock::sb, sMaxDiskBlockSize, SeqBlock::start, SampleFormats::Stored(), and wxT().
std::unique_ptr< Sequence > Sequence::Copy | ( | const SampleBlockFactoryPtr & | pFactory, |
sampleCount | s0, | ||
sampleCount | s1 | ||
) | const |
Definition at line 385 of file Sequence.cpp.
References AppendBlock(), SampleFormats::Effective(), anonymous_namespace{Sequence.cpp}::ensureSampleBufferSize(), FindBlock(), anonymous_namespace{ExportPCM.cpp}::format, Get(), mBlock, mBlockCount, min(), mMaxSamples, mNumSamples, mpFactory, mSampleFormats, SampleBuffer::ptr(), SeqBlock::sb, SeqBlock::start, SampleFormats::Stored(), and wxT().
|
static |
Definition at line 1862 of file Sequence.cpp.
References sampleCount::as_long_long(), mBlock, mNumSamples, SeqBlock::sb, SeqBlock::start, and wxT().
void Sequence::Delete | ( | sampleCount | start, |
sampleCount | len | ||
) |
Definition at line 1574 of file Sequence.cpp.
References SampleBuffer::Allocate(), Blockify(), CommitChangesIfConsistent(), ConsistencyCheck(), anonymous_namespace{Sequence.cpp}::ensureSampleBufferSize(), factory, FindBlock(), anonymous_namespace{ExportPCM.cpp}::format, limitSampleBufferSize(), mBlock, mMaxSamples, mMinSamples, mNumSamples, mpFactory, mSampleFormats, SampleBuffer::ptr(), Read(), SAMPLE_SIZE, SeqBlock::sb, SeqBlock::start, SampleFormats::Stored(), THROW_INCONSISTENCY_EXCEPTION, and wxT().
|
private |
Does not do any dithering.
Definition at line 1427 of file Sequence.cpp.
References AppendBlocksIfConsistent(), sampleCount::as_double(), ConsistencyCheck(), CopySamples(), factory, anonymous_namespace{ExportPCM.cpp}::format, GetIdealBlockSize(), mBlock, min(), mMaxSamples, mMinSamples, mNumSamples, mpFactory, mSampleFormats, none, anonymous_namespace{Sequence.cpp}::Overflows(), SampleBuffer::ptr(), Read(), SAMPLE_SIZE, SeqBlock::sb, SeqBlock::start, SampleFormats::Stored(), THROW_INCONSISTENCY_EXCEPTION, and wxT().
Referenced by Append(), AppendNewBlock(), and Flush().
int Sequence::FindBlock | ( | sampleCount | pos | ) | const |
Definition at line 1050 of file Sequence.cpp.
References mBlock, mBlockCount, min(), mNumSamples, SeqBlock::sb, and SeqBlock::start.
Referenced by Copy(), Delete(), Get(), GetBestBlockSize(), GetBlockStart(), GetFloatSampleView(), GetMinMax(), GetRMS(), Paste(), and SetSamples().
void Sequence::Flush | ( | ) |
Definition at line 1527 of file Sequence.cpp.
References DoAppend(), SampleBuffer::Free(), mAppendBuffer, mAppendBufferLen, mAppendEffectiveFormat, mSampleFormats, narrowestSampleFormat, SampleBuffer::ptr(), SampleFormats::Stored(), and SampleFormats::UpdateEffective().
|
private |
Definition at line 1180 of file Sequence.cpp.
References anonymous_namespace{ExportPCM.cpp}::format, mBlock, min(), Read(), SAMPLE_SIZE, SeqBlock::sb, and SeqBlock::start.
bool Sequence::Get | ( | samplePtr | buffer, |
sampleFormat | format, | ||
sampleCount | start, | ||
size_t | len, | ||
bool | mayThrow | ||
) | const |
Get a range of samples from the sequence.
Definition at line 1141 of file Sequence.cpp.
References ClearSamples(), FindBlock(), anonymous_namespace{ExportPCM.cpp}::format, Get(), limitSampleBufferSize(), mNumSamples, and SAMPLE_SIZE.
Referenced by Copy(), Get(), and Paste().
|
inline |
Definition at line 234 of file Sequence.h.
|
inline |
Definition at line 233 of file Sequence.h.
size_t Sequence::GetBestBlockSize | ( | sampleCount | start | ) | const |
Definition at line 777 of file Sequence.cpp.
References FindBlock(), mBlock, mBlockCount, mMaxSamples, mMinSamples, mNumSamples, SeqBlock::sb, and SeqBlock::start.
|
inline |
Definition at line 231 of file Sequence.h.
Referenced by GetAllSeqBlocks().
|
private |
Definition at line 771 of file Sequence.cpp.
References FindBlock(), and mBlock.
Referenced by GetFloatSampleView().
|
inline |
Definition at line 189 of file Sequence.h.
|
inline |
Definition at line 175 of file Sequence.h.
AudioSegmentSampleView Sequence::GetFloatSampleView | ( | sampleCount | start, |
size_t | len, | ||
bool | mayThrow | ||
) | const |
Get a view of the lesser of len
samples or what remains after start
start < GetNumSamples()
Definition at line 1121 of file Sequence.cpp.
References FindBlock(), GetBlockStart(), limitSampleBufferSize(), mBlock, mNumSamples, SeqBlock::sb, and SeqBlock::start.
size_t Sequence::GetIdealAppendLen | ( | ) | const |
Definition at line 1320 of file Sequence.cpp.
References GetMaxBlockSize(), mBlock, and mBlockCount.
Referenced by Append().
size_t Sequence::GetIdealBlockSize | ( | ) | const |
Definition at line 85 of file Sequence.cpp.
References mMaxSamples.
Referenced by DoAppend(), and InsertSilence().
size_t Sequence::GetMaxBlockSize | ( | ) | const |
Definition at line 80 of file Sequence.cpp.
References mMaxSamples.
Referenced by GetIdealAppendLen().
|
static |
Definition at line 1897 of file Sequence.cpp.
References sMaxDiskBlockSize.
Referenced by BenchmarkDialog::OnRun().
std::pair< float, float > Sequence::GetMinMax | ( | sampleCount | start, |
sampleCount | len, | ||
bool | mayThrow | ||
) | const |
Definition at line 230 of file Sequence.cpp.
References FindBlock(), limitSampleBufferSize(), mBlock, mBlockCount, min(), mMaxSamples, SeqBlock::sb, and SeqBlock::start.
|
inline |
Definition at line 87 of file Sequence.h.
Referenced by SpecCache::CalculateOneSpectrum().
float Sequence::GetRMS | ( | sampleCount | start, |
sampleCount | len, | ||
bool | mayThrow | ||
) | const |
Definition at line 314 of file Sequence.cpp.
References sampleCount::as_double(), FindBlock(), limitSampleBufferSize(), mBlock, mBlockCount, mMaxSamples, SeqBlock::sb, staffpad::audio::simd::sqrt(), and SeqBlock::start.
SampleFormats Sequence::GetSampleFormats | ( | ) | const |
Definition at line 100 of file Sequence.cpp.
References mSampleFormats.
|
overridevirtual |
Implements XMLTagHandler.
Definition at line 986 of file Sequence.cpp.
References WaveBlock_tag.
|
override |
Definition at line 940 of file Sequence.cpp.
References sampleCount::as_double(), mBlock, mBlockCount, mErrorOpening, mNumSamples, SeqBlock::sb, Sequence_tag, SeqBlock::start, Internat::ToString(), and wxT().
|
overridevirtual |
Implements XMLTagHandler.
Definition at line 812 of file Sequence.cpp.
References SampleFormats::Effective(), EffectiveSampleFormat_attr, factory, floatSample, IsValidSampleFormat(), MaxSamples_attr, mBlock, mErrorOpening, mMaxSamples, mNumSamples, mpFactory, mSampleFormats, NumSamples_attr, SampleFormat_attr, SeqBlock::sb, Sequence_tag, SeqBlock::start, Start_attr, SampleFormats::Stored(), and WaveBlock_tag.
void Sequence::InsertSilence | ( | sampleCount | s0, |
sampleCount | len | ||
) |
Definition at line 703 of file Sequence.cpp.
References sampleCount::as_double(), sampleCount::as_size_t(), factory, anonymous_namespace{ExportPCM.cpp}::format, GetIdealBlockSize(), mNumSamples, mpFactory, mSampleFormats, anonymous_namespace{Sequence.cpp}::Overflows(), Paste(), SampleFormats::Stored(), and THROW_INCONSISTENCY_EXCEPTION.
|
static |
true if nValue is one of the sampleFormat enum values
Definition at line 1902 of file Sequence.cpp.
References floatSample, int16Sample, and int24Sample.
Referenced by AUPImportFileHandle::HandleSequence(), HandleXMLTag(), and WaveTrack::HandleXMLTag().
void Sequence::Paste | ( | sampleCount | s, |
const Sequence * | src | ||
) |
Definition at line 490 of file Sequence.cpp.
References AppendBlock(), sampleCount::as_double(), Blockify(), CommitChangesIfConsistent(), ConsistencyCheck(), TranslatableString::Debug(), SampleFormats::Effective(), FindBlock(), anonymous_namespace{ExportPCM.cpp}::format, Get(), GetSampleFormatStr(), mBlock, mBlockCount, mMaxSamples, mMinSamples, mNumSamples, mpFactory, mSampleFormats, anonymous_namespace{Sequence.cpp}::Overflows(), SampleBuffer::ptr(), Read(), SAMPLE_SIZE, SeqBlock::sb, anonymous_namespace{Sequence.cpp}::ShareOrCopySampleBlock(), SeqBlock::start, SampleFormats::Stored(), THROW_INCONSISTENCY_EXCEPTION, Internat::ToString(), SampleFormats::UpdateEffective(), and wxT().
Referenced by InsertSilence(), and Sequence().
|
static |
Definition at line 1100 of file Sequence.cpp.
References anonymous_namespace{ExportPCM.cpp}::format, SeqBlock::sb, and wxT().
Referenced by ConvertToSampleFormat(), Delete(), DoAppend(), Get(), Paste(), and SetSamples().
|
static |
Definition at line 1892 of file Sequence.cpp.
References sMaxDiskBlockSize.
Referenced by AudacityApp::InitPart2(), and BenchmarkDialog::OnRun().
void Sequence::SetSamples | ( | constSamplePtr | buffer, |
sampleFormat | format, | ||
sampleCount | start, | ||
sampleCount | len, | ||
sampleFormat | effectiveFormat | ||
) |
Pass nullptr to set silence.
Note that len is not size_t, because nullptr may be passed for buffer, in which case, silence is inserted, possibly a large amount.
effectiveFormat | Make the effective format of the data at least the minumum of this value and `format`. (Maybe wider, if merging with preexistent data.) If the data are later narrowed from stored format, but not narrower than the effective, then no dithering will occur. |
Definition at line 1204 of file Sequence.cpp.
References SampleBuffer::Allocate(), ClearSamples(), CommitChangesIfConsistent(), staffpad::vo::copy(), CopySamples(), anonymous_namespace{Sequence.cpp}::ensureSampleBufferSize(), factory, FindBlock(), anonymous_namespace{ExportPCM.cpp}::format, gHighQualityDither, limitSampleBufferSize(), mBlock, min(), mMaxSamples, mNumSamples, mpFactory, mSampleFormats, none, SampleBuffer::ptr(), Read(), SAMPLE_SIZE, SeqBlock::sb, size, SeqBlock::start, SampleFormats::Stored(), THROW_INCONSISTENCY_EXCEPTION, SampleFormats::UpdateEffective(), and wxT().
Referenced by SetSilence().
void Sequence::SetSilence | ( | sampleCount | s0, |
sampleCount | len | ||
) |
Definition at line 696 of file Sequence.cpp.
References mSampleFormats, narrowestSampleFormat, SetSamples(), and SampleFormats::Stored().
void Sequence::WriteXML | ( | XMLWriter & | xmlFile | ) | const |
Definition at line 997 of file Sequence.cpp.
References sampleCount::as_long_long(), BasicUI::MessageBoxOptions::Caption(), EffectiveSampleFormat_attr, MaxSamples_attr, NumSamples_attr, SampleFormat_attr, SeqBlock::sb, BasicUI::ShowMessageBox(), SeqBlock::start, Start_attr, Internat::ToString(), and XO().
|
private |
Definition at line 259 of file Sequence.h.
|
private |
Definition at line 260 of file Sequence.h.
|
private |
Definition at line 261 of file Sequence.h.
|
private |
Definition at line 250 of file Sequence.h.
Referenced by AppendBlock(), AppendBlocksIfConsistent(), CloseLock(), CommitChangesIfConsistent(), ConsistencyCheck(), ConvertToSampleFormat(), Copy(), DebugPrintf(), Delete(), DoAppend(), FindBlock(), Get(), GetBestBlockSize(), GetBlockStart(), GetFloatSampleView(), GetIdealAppendLen(), GetMinMax(), GetRMS(), HandleXMLEndTag(), HandleXMLTag(), Paste(), and SetSamples().
|
private |
Definition at line 249 of file Sequence.h.
Referenced by AppendBlocksIfConsistent(), CloseLock(), CommitChangesIfConsistent(), ConvertToSampleFormat(), Copy(), FindBlock(), GetBestBlockSize(), GetIdealAppendLen(), GetMinMax(), GetRMS(), HandleXMLEndTag(), and Paste().
|
private |
Definition at line 263 of file Sequence.h.
Referenced by HandleXMLEndTag(), and HandleXMLTag().
|
private |
Definition at line 257 of file Sequence.h.
Referenced by Append(), AppendBlocksIfConsistent(), Blockify(), CommitChangesIfConsistent(), ConsistencyCheck(), ConvertToSampleFormat(), Copy(), Delete(), DoAppend(), GetBestBlockSize(), GetIdealBlockSize(), GetMaxBlockSize(), GetMinMax(), GetRMS(), HandleXMLTag(), Paste(), and SetSamples().
|
private |
Definition at line 256 of file Sequence.h.
Referenced by ConvertToSampleFormat(), Delete(), DoAppend(), GetBestBlockSize(), and Paste().
|
private |
Definition at line 254 of file Sequence.h.
Referenced by AppendBlock(), AppendBlocksIfConsistent(), AppendSharedBlock(), CommitChangesIfConsistent(), ConsistencyCheck(), ConvertToSampleFormat(), Copy(), DebugPrintf(), Delete(), DoAppend(), FindBlock(), Get(), GetBestBlockSize(), GetFloatSampleView(), HandleXMLEndTag(), HandleXMLTag(), InsertSilence(), Paste(), and SetSamples().
|
private |
Definition at line 248 of file Sequence.h.
Referenced by ConvertToSampleFormat(), Copy(), Delete(), DoAppend(), HandleXMLTag(), InsertSilence(), Paste(), and SetSamples().
|
private |
Definition at line 251 of file Sequence.h.
Referenced by Append(), AppendNewBlock(), ConvertToSampleFormat(), Copy(), Delete(), DoAppend(), Flush(), GetSampleFormats(), HandleXMLTag(), InsertSilence(), Paste(), SetSamples(), and SetSilence().
|
static |
Definition at line 56 of file Sequence.h.
Referenced by AUPImportFileHandle::HandleSequence(), WaveClip::HandleXMLChild(), WaveTrack::HandleXMLChild(), HandleXMLEndTag(), HandleXMLTag(), and AUPImportFileHandle::HandleXMLTag().
|
staticprivate |
Definition at line 242 of file Sequence.h.
Referenced by ConvertToSampleFormat(), GetMaxDiskBlockSize(), and SetMaxDiskBlockSize().
|
static |
Definition at line 57 of file Sequence.h.
Referenced by HandleXMLChild(), WaveTrack::HandleXMLChild(), HandleXMLTag(), and AUPImportFileHandle::HandleXMLTag().