Update of /cvsroot/audacity/audacity-src/src/export
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv19977
Modified Files:
ExportMP3.cpp
Log Message:
Removed OS9 targeted code.
Simplified/merged Mac and Linux code.
(Mac no longer supports older LameLib)
Index: ExportMP3.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportMP3.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- ExportMP3.cpp 13 Dec 2006 02:36:28 -0000 1.47
+++ ExportMP3.cpp 14 Mar 2007 05:40:46 -0000 1.48
@@ -66,10 +66,6 @@
*//********************************************************************/
-#if defined(__MACOSX__) && defined(__LITTLE_ENDIAN__) /* Intel Mac */
-#include <dlfcn.h>
-#endif
-
#include <wx/defs.h>
#include <wx/textctrl.h>
#include <wx/dynlib.h>
@@ -104,10 +100,14 @@
[...1575 lines suppressed...]
+MP3Exporter *GetMP3Exporter()
+{
+ if (!gMP3Exporter)
+ gMP3Exporter = new MacLameExporter();
+
+ return gMP3Exporter;
+}
+
+void ReleaseMP3Exporter()
+{
+ if( gMP3Exporter )
+ delete gMP3Exporter;
+ gMP3Exporter = NULL;
+}
+
+#endif
+
#endif
class MP3ExporterCleanup
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs