Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv17388/src
Modified Files:
TrackArtist.cpp
Log Message:
Getting rid of last bits of AutoMaxFrequency.
Index: TrackArtist.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/TrackArtist.cpp,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- TrackArtist.cpp 24 Jan 2007 01:13:33 -0000 1.89
+++ TrackArtist.cpp 28 Jan 2007 16:03:23 -0000 1.90
@@ -313,16 +313,9 @@
return;
double rate = ((WaveTrack *) t)->GetRate();
- bool autoMaxFrequency;
int windowSize = gPrefs->Read(wxT("/Spectrum/FFTSize"), 256);
int maxFreq = gPrefs->Read(wxT("/Spectrum/MaxFreq"), rate/2.);
int minFreq = gPrefs->Read(wxT("/Spectrum/MinFreq"), 0.);
- gPrefs->Read(wxT("/Spectrum/AutoMaxFrequency"), &autoMaxFrequency,
false);
-
- if (autoMaxFrequency) {
- // automatically set frequency to half of sampling rate
- maxFreq=int(rate/2);
- }
/*
draw the ruler
-------------------------------------------------------------------------
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