Audacity 3.2.0
|
Functions | |
void | ensureSampleBufferSize (SampleBuffer &buffer, sampleFormat format, size_t &size, size_t required, SampleBuffer *pSecondBuffer=nullptr) |
bool | Overflows (double numSamples) |
SampleBlockPtr | ShareOrCopySampleBlock (SampleBlockFactory *pFactory, sampleFormat format, SampleBlockPtr sb) |
void anonymous_namespace{Sequence.cpp}::ensureSampleBufferSize | ( | SampleBuffer & | buffer, |
sampleFormat | format, | ||
size_t & | size, | ||
size_t | required, | ||
SampleBuffer * | pSecondBuffer = nullptr |
||
) |
Definition at line 106 of file Sequence.cpp.
References SampleBuffer::Allocate(), anonymous_namespace{ExportPCM.cpp}::format, SampleBuffer::ptr(), size, and THROW_INCONSISTENCY_EXCEPTION.
Referenced by Sequence::ConvertToSampleFormat(), Sequence::Copy(), Sequence::Delete(), and Sequence::SetSamples().
|
inline |
Definition at line 467 of file Sequence.cpp.
Referenced by Sequence::AppendBlock(), Sequence::AppendSharedBlock(), Sequence::DoAppend(), Sequence::InsertSilence(), and Sequence::Paste().
SampleBlockPtr anonymous_namespace{Sequence.cpp}::ShareOrCopySampleBlock | ( | SampleBlockFactory * | pFactory, |
sampleFormat | format, | ||
SampleBlockPtr | sb | ||
) |
Definition at line 472 of file Sequence.cpp.
References SampleBlockFactory::Create(), and anonymous_namespace{ExportPCM.cpp}::format.
Referenced by Sequence::AppendBlock(), and Sequence::Paste().