|
Audacity
3.0.3
|
Go to the documentation of this file.
14 #ifndef __AUDACITY_SILENT_BLOCKFILE__
15 #define __AUDACITY_SILENT_BLOCKFILE__
17 #include "../BlockFile.h"
37 size_t start,
size_t len,
bool mayThrow)
const override;
46 static BlockFilePtr
BuildFromXML(DirManager &dm,
const wxChar **attrs);
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
virtual ~SilentBlockFile()
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.
SilentBlockFile(size_t sampleLen)
DiskByteCount GetSpaceUsage() const override
bool ReadSummary(ArrayOf< char > &data) override
Read the summary section of the disk file.
BlockFilePtr Copy(wxFileNameWrapper &&newFileName) override
Create a NEW block file identical to this one.
A BlockFile containing nothing but silence. Saves disk space.
static BlockFilePtr BuildFromXML(DirManager &dm, const wxChar **attrs)
static
void SaveXML(XMLWriter &xmlFile) override
Write an XML representation of this file.