mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 03:32:09 +01:00
// Indentation settings for Vim and Emacs etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
LegacyAliasBlockFile.h
|
|
|
|
Dominic Mazzoni
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_LEGACYALIASBLOCKFILE__
|
|
#define __AUDACITY_LEGACYALIASBLOCKFILE__
|
|
|
|
#include "../BlockFile.h"
|
|
#include "PCMAliasBlockFile.h"
|
|
|
|
/// An AliasBlockFile that references uncompressed data in an existing file
|
|
class LegacyAliasBlockFile : public PCMAliasBlockFile
|
|
{
|
|
public:
|
|
|
|
// Constructor / Destructor
|
|
|
|
/// Constructs a LegacyAliasBlockFile, writing the summary to disk
|
|
LegacyAliasBlockFile(wxFileName fileName,
|
|
wxFileName aliasedFileName,
|
|
sampleCount aliasStart,
|
|
sampleCount aliasLen,
|
|
int aliasChannel,
|
|
sampleCount summaryLen,
|
|
bool noRMS);
|
|
virtual ~LegacyAliasBlockFile();
|
|
|
|
virtual void SaveXML(XMLWriter &xmlFile);
|
|
virtual BlockFile *Copy(wxFileName fileName);
|
|
virtual void Recover();
|
|
|
|
static BlockFile *BuildFromXML(wxString projDir, const wxChar **attrs);
|
|
};
|
|
|
|
#endif
|