Audacity
3.0.3
|
An AliasBlockFile that references uncompressed data in an existing file. More...
#include <LegacyAliasBlockFile.h>
Public Member Functions | |
LegacyAliasBlockFile (wxFileNameWrapper &&fileName, wxFileNameWrapper &&aliasedFileName, sampleCount aliasStart, size_t aliasLen, int aliasChannel, size_t summaryLen, bool noRMS) | |
Constructs a LegacyAliasBlockFile, writing the summary to disk. More... | |
virtual | ~LegacyAliasBlockFile () |
void | SaveXML (XMLWriter &xmlFile) override |
BlockFilePtr | Copy (wxFileNameWrapper &&fileName) override |
void | Recover () override |
Public Member Functions inherited from PCMAliasBlockFile | |
PCMAliasBlockFile (wxFileNameWrapper &&baseFileName, wxFileNameWrapper &&aliasedFileName, sampleCount aliasStart, size_t aliasLen, int aliasChannel) | |
Constructs a PCMAliasBlockFile, writing the summary to disk. More... | |
PCMAliasBlockFile (wxFileNameWrapper &&fileName, wxFileNameWrapper &&aliasedFileName, sampleCount aliasStart, size_t aliasLen, int aliasChannel, bool writeSummary) | |
Constructs a PCMAliasBlockFile with the option of not writing to disk. More... | |
PCMAliasBlockFile (wxFileNameWrapper &&existingSummaryFileName, wxFileNameWrapper &&aliasedFileName, sampleCount aliasStart, size_t aliasLen, int aliasChannel, float min, float max, float rms) | |
virtual | ~PCMAliasBlockFile () |
size_t | ReadData (samplePtr data, sampleFormat format, size_t start, size_t len, bool mayThrow) const override |
Reads the specified data from the aliased file using libsndfile. More... | |
void | SaveXML (XMLWriter &xmlFile) override |
BlockFilePtr | Copy (wxFileNameWrapper &&fileName) override |
void | Recover () override |
Static Public Member Functions | |
static BlockFilePtr | BuildFromXML (const FilePath &projDir, const wxChar **attrs) |
Static Public Member Functions inherited from PCMAliasBlockFile | |
static BlockFilePtr | BuildFromXML (DirManager &dm, const wxChar **attrs) |
An AliasBlockFile that references uncompressed data in an existing file.
Definition at line 17 of file LegacyAliasBlockFile.h.
LegacyAliasBlockFile::LegacyAliasBlockFile | ( | wxFileNameWrapper && | fileName, |
wxFileNameWrapper && | aliasedFileName, | ||
sampleCount | aliasStart, | ||
size_t | aliasLen, | ||
int | aliasChannel, | ||
size_t | summaryLen, | ||
bool | noRMS | ||
) |
Constructs a LegacyAliasBlockFile, writing the summary to disk.
Definition at line 24 of file LegacyAliasBlockFile.cpp.
|
virtual |
Definition at line 47 of file LegacyAliasBlockFile.cpp.
|
static |
Definition at line 87 of file LegacyAliasBlockFile.cpp.
References XMLValueChecker::IsGoodFileName(), XMLValueChecker::IsGoodInt(), XMLValueChecker::IsGoodInt64(), XMLValueChecker::IsGoodPathName(), XMLValueChecker::IsGoodPathString(), and anonymous_namespace{WaveTrack.cpp}::IsValidChannel().
|
override |
Construct a NEW LegacyAliasBlockFile based on this one, but writing the summary data to a NEW file.
newFileName | The filename to copy the summary data to. |
Definition at line 55 of file LegacyAliasBlockFile.cpp.
|
override |
Definition at line 148 of file LegacyAliasBlockFile.cpp.
|
override |
Definition at line 65 of file LegacyAliasBlockFile.cpp.
References XMLWriter::EndTag(), XMLWriter::StartTag(), and XMLWriter::WriteAttr().