|
Audacity
3.0.3
|
Go to the documentation of this file.
11 #ifndef __AUDACITY_LEGACY_BLOCKFILE__
12 #define __AUDACITY_LEGACY_BLOCKFILE__
14 #include "../BlockFile.h"
22 bool noRMS,
bool Silent,
23 float *
min,
float *max,
float *rms);
53 size_t start,
size_t len,
bool mayThrow)
const override;
70 #endif // __AUDACITY_LEGACY_BLOCKFILE__
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
LegacyBlockFile(wxFileNameWrapper &&existingFile, sampleFormat format, size_t summaryLen, size_t len, bool noRMS)
Create the memory structure to refer to the given block file.
DiskByteCount GetSpaceUsage() const override
size_t ReadData(samplePtr data, sampleFormat format, size_t start, size_t len, bool mayThrow) const override
Read the data section of the disk file.
bool ReadSummary(ArrayOf< char > &data) override
Read the summary section of the disk file.
Audacity 1.1.0 block file format:
virtual ~LegacyBlockFile()
void ComputeLegacySummaryInfo(const wxFileName &fileName, size_t summaryLen, sampleFormat format, SummaryInfo *info, bool noRMS, bool Silent, float *min, float *max, float *rms)
void SaveXML(XMLWriter &xmlFile) override
Write an XML representation of this file.
BlockFilePtr Copy(wxFileNameWrapper &&newFileName) override
Create a NEW block file identical to this one.
static BlockFilePtr BuildFromXML(const FilePath &dir, const wxChar **attrs, size_t len, sampleFormat format)
static