1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-16 15:41:11 +02:00

Reimplement export plugin registation without sequence numbers

This commit is contained in:
Paul Licameli
2020-02-01 07:00:03 -05:00
parent b1b8b034c8
commit 5165353dbe
9 changed files with 74 additions and 41 deletions

View File

@@ -217,8 +217,6 @@ public:
const Tags *metadata = NULL,
int subformat = 0) override;
virtual unsigned SequenceNumber() const override { return 50; }
private:
int AddTags(AudacityProject *project, ArrayOf<char> &buffer, bool *endOfFile, const Tags *tags);
@@ -498,8 +496,9 @@ void ExportMP2::AddFrame(struct id3_tag *tp, const wxString & n, const wxString
}
#endif
static Exporter::RegisteredExportPlugin
sRegisteredPlugin{ []{ return std::make_unique< ExportMP2 >(); } };
static Exporter::RegisteredExportPlugin sRegisteredPlugin{ "MP2",
[]{ return std::make_unique< ExportMP2 >(); }
};
#endif // #ifdef USE_LIBTWOLAME