Update of /cvsroot/audacity/audacity-src/src/widgets In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27724
Modified Files: Meter.cpp Log Message: removing gprefs read from OnMeterUpdate. We just don't need it anymore. Sugested by Martyn. Index: Meter.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/widgets/Meter.cpp,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- Meter.cpp 16 Aug 2009 19:52:46 -0000 1.64 +++ Meter.cpp 16 Aug 2009 23:58:01 -0000 1.65 @@ -710,9 +710,7 @@ if (numChanges > 0) { #ifdef AUTOMATIC_VOLUME - bool AVActive; - gPrefs->Read(wxT("/AudioIO/AutomaticVolumeRecord"), &AVActive, false); - if (AVActive && gAudioIO->AVIsActive() && mIsInput && !discarded) { + if (gAudioIO->AVIsActive() && mIsInput && !discarded) { gAudioIO->AVProcess(maxPeak); putchar('\n'); } ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs