mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-16 15:41:11 +02:00
Register export plugins, breaking cycles...
... as we did last relase for import; making several header files unnecessary. This breaks up a strongly connected component of 9, which was the largest remaining. Now the largest remaining is 5.
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
*/
|
||||
|
||||
#include "../Audacity.h"// for USE_* macros
|
||||
#include "ExportMP2.h"
|
||||
|
||||
#ifdef USE_LIBTWOLAME
|
||||
|
||||
@@ -184,6 +183,8 @@ 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);
|
||||
@@ -462,10 +463,8 @@ void ExportMP2::AddFrame(struct id3_tag *tp, const wxString & n, const wxString
|
||||
}
|
||||
#endif
|
||||
|
||||
std::unique_ptr<ExportPlugin> New_ExportMP2()
|
||||
{
|
||||
return std::make_unique<ExportMP2>();
|
||||
}
|
||||
static Exporter::RegisteredExportPlugin
|
||||
sRegisteredPlugin{ []{ return std::make_unique< ExportMP2 >(); } };
|
||||
|
||||
#endif // #ifdef USE_LIBTWOLAME
|
||||
|
||||
|
Reference in New Issue
Block a user