Update of /cvsroot/audacity/audacity-src/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv18114/src
Modified Files: FreqWindow.cpp Log Message: Add a lot of (temporary) debugging messages to try and benchmark the freeze that testers are seeing. These should be removed at some point in the future to avoid nattering on release builds (but the testers are on release builds, so we can't use debug prints) Index: FreqWindow.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/FreqWindow.cpp,v retrieving revision 1.81 retrieving revision 1.82 diff -u -d -r1.81 -r1.82 --- FreqWindow.cpp 2 Nov 2009 20:52:47 -0000 1.81 +++ FreqWindow.cpp 3 Nov 2009 21:55:27 -0000 1.82 @@ -938,6 +938,7 @@ void FreqWindow::Recalc() { + wxLogMessage(wxT("Starting FreqWindow::Recalc()")); if (mProcessed) delete[] mProcessed; mProcessed = NULL; @@ -952,6 +953,7 @@ long windowSize = 0; (mSizeChoice->GetStringSelection()).ToLong(&windowSize); + wxLogMessage(wxT("Collected control settings in FreqWindow::Recalc()")); int f = NumWindowFuncs(); if (!(windowSize >= 32 && windowSize <= 65536 && @@ -967,6 +969,7 @@ return; } + wxLogMessage(wxT("About to allocate a load of memory in FreqWindow::Recalc()")); mProcessed = new float[mWindowSize]; int i; @@ -980,6 +983,7 @@ float *out2 = new float[mWindowSize]; float *win = new float[mWindowSize]; + wxLogMessage(wxT("OK, memory done, doing Window function in FreqWindow::Recalc()")); // initialize the window for(int i=0; i<mWindowSize; i++) win[i] = 1.0; @@ -995,6 +999,7 @@ wss = 1.0; //add progress dialog + wxLogMessage(wxT("Starting progress dialogue in FreqWindow::Recalc()")); ProgressDialog *mProgress = new ProgressDialog(_("FreqWindow"),_("Drawing Spectrum")); int start = 0; @@ -1091,6 +1096,7 @@ mProgress->Update(1 - static_cast<float>(mDataLen - start) / mDataLen); } + wxLogMessage(wxT("Finished updating progress dialogue in FreqWindow::Recalc()")); switch (alg) { double scale; case 0: // Spectrum @@ -1202,6 +1208,7 @@ delete[]out2; delete[]win; + wxLogMessage(wxT("About to draw plot in FreqWindow::Recalc()")); DrawPlot(); mFreqPlot->Refresh(true); delete mProgress; ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs