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

Revert "Register export plugins, as we did for import, breaking cycles..."

This reverts commit 317f532dcb.
This commit is contained in:
Paul Licameli
2019-07-29 15:43:22 -04:00
parent 317f532dcb
commit aac2b7d825
22 changed files with 289 additions and 89 deletions

View File

@@ -33,6 +33,7 @@
*/
#include "../Audacity.h"// for USE_* macros
#include "ExportMP2.h"
#ifdef USE_LIBTWOLAME
@@ -183,8 +184,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);
@@ -463,8 +462,10 @@ void ExportMP2::AddFrame(struct id3_tag *tp, const wxString & n, const wxString
}
#endif
static Exporter::RegisteredExportPlugin
sRegisteredPlugin{ []{ return std::make_unique< ExportMP2 >(); } };
std::unique_ptr<ExportPlugin> New_ExportMP2()
{
return std::make_unique<ExportMP2>();
}
#endif // #ifdef USE_LIBTWOLAME