31 GetSummary256(
float* dest,
size_t frameoffset,
size_t numframes)
override;
34 GetSummary64k(
float* dest,
size_t frameoffset,
size_t numframes)
override;
42 size_t numsamples)
override;
52 const std::vector<char>
data;
std::shared_ptr< std::vector< float > > BlockSampleView
MockSampleBlock(long long id, constSamplePtr src, size_t numsamples, sampleFormat srcformat)
SampleBlockID GetBlockID() const override
bool GetSummary64k(float *dest, size_t frameoffset, size_t numframes) override
Non-throwing, should fill with zeroes on failure.
MinMaxRMS DoGetMinMaxRMS() const override
sampleFormat GetSampleFormat() const override
void CloseLock() noexcept override
void SaveXML(XMLWriter &) override
bool GetSummary256(float *dest, size_t frameoffset, size_t numframes) override
Non-throwing, should fill with zeroes on failure.
size_t GetSampleCount() const override
size_t DoGetSamples(samplePtr dest, sampleFormat destformat, size_t sampleoffset, size_t numsamples) override
const sampleFormat srcFormat
const std::vector< char > data
BlockSampleView GetFloatSampleView(bool mayThrow) override
size_t GetSpaceUsage() const override
Abstract class allows access to contents of a block of sound samples, serialization as XML,...
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...