Update of /cvsroot/audacity/audacity-src/src/effects/nyquist
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv1332/effects/nyquist
Modified Files:
Nyquist.cpp
Log Message:
1) Rework of XML file writing.
2) Cleaned up old (FROM)FILENAME() macro usage and added OSFILENAME() usage
only where needed.
3) Removed Mac specific filename encodings as it's handled by WX now.
4) Fixed a couple of missing wxT()s (one resulted in a day or so debugging
session ;-)).
5) Commented all PACKAGE_* macros in configtemplate.h as they conflict with the
latest SoundTouch.
Index: Nyquist.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/nyquist/Nyquist.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- Nyquist.cpp 25 Aug 2006 05:12:29 -0000 1.50
+++ Nyquist.cpp 23 Sep 2006 02:26:25 -0000 1.51
@@ -226,7 +226,7 @@
void EffectNyquist::ParseFile()
{
- wxTextFile f(FILENAME(mFileName.GetFullPath()));
+ wxTextFile f(mFileName.GetFullPath());
if (!f.Open())
return;
@@ -265,7 +265,7 @@
wxLogNull dontLog;
mName = wxFileName(fName).GetName();
- mFileName = wxFileName(FILENAME(fName));
+ mFileName = wxFileName(fName);
mFileModified = mFileName.GetModificationTime();
ParseFile();
}
@@ -279,7 +279,7 @@
wxString fname;
fname = mXlispPath + wxFILE_SEP_PATH + wxT("nyinit.lsp");
- if (!(::wxFileExists(FILENAME(fname))))
+ if (!(::wxFileExists(fname)))
mXlispPath = wxT("");
if (mXlispPath == wxT("")) {
@@ -309,7 +309,7 @@
#endif // Unicode/ANSI
fname = mXlispPath + wxFILE_SEP_PATH + wxT("nyinit.lsp");
- return ::wxFileExists(FILENAME(fname));
+ return ::wxFileExists(fname);
}
bool EffectNyquist::PromptUser()
-------------------------------------------------------------------------
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