1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-10 14:46:24 +01:00

Added consistency checks for Sequence, hoisted out of inner loops.

This commit is contained in:
Paul Licameli
2016-02-03 12:56:21 -05:00
parent 7be911b7fb
commit 13f7d0a81b
3 changed files with 56 additions and 18 deletions

View File

@@ -46,12 +46,16 @@ class RecordingRecoveryHandler: public XMLTagHandler
public:
RecordingRecoveryHandler(AudacityProject* proj);
virtual bool HandleXMLTag(const wxChar *tag, const wxChar **attrs);
virtual void HandleXMLEndTag(const wxChar *tag);
virtual XMLTagHandler *HandleXMLChild(const wxChar *tag);
// This class only knows reading tags
virtual void WriteXML(XMLWriter & WXUNUSED(xmlFile)) { wxASSERT(false); }
private:
int FindTrack() const;
AudacityProject* mProject;
int mChannel;
int mNumChannels;