mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-05 14:11:00 +01:00
Fix the reading of autosave files... (#610)
* Fix the reading of autosave files... ... problem was in recreating strings from buffers, but copying too many because null terminators were lacking. * Autosave during recording backs up all tracks correctly... ... whether to new track, or appending; and it doesn't lose the other tracks besides the recording. It is also unnecessary when just starting to record, so remove one call.
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
void Reset();
|
||||
|
||||
bool AutoSave(const WaveTrackArray *tracks = nullptr);
|
||||
bool AutoSave(bool recording = false);
|
||||
bool AutoSaveDelete(sqlite3 *db = nullptr);
|
||||
|
||||
bool LoadProject(const FilePath &fileName);
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
|
||||
XMLTagHandler *HandleXMLChild(const wxChar *tag) override;
|
||||
void WriteXMLHeader(XMLWriter &xmlFile) const;
|
||||
void WriteXML(XMLWriter &xmlFile, const WaveTrackArray *tracks = nullptr) /* not override */;
|
||||
void WriteXML(XMLWriter &xmlFile, bool recording = false) /* not override */;
|
||||
|
||||
wxLongLong GetFreeDiskSpace();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user