Update of /cvsroot/audacity/audacity-src/src In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31919/src
Modified Files: AudioIO.cpp Log Message: Fix for race condition affecting sound-activated recording Index: AudioIO.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v retrieving revision 1.240 retrieving revision 1.241 diff -u -d -r1.240 -r1.241 --- AudioIO.cpp 4 Dec 2009 03:24:59 -0000 1.240 +++ AudioIO.cpp 10 Dec 2009 02:26:44 -0000 1.241 @@ -3003,7 +3003,7 @@ } // end recording VU meter update // Stop recording if 'silence' is detected - if(gAudioIO->mPauseRec && inputBuffer) { + if(gAudioIO->mPauseRec && inputBuffer && gAudioIO->mInputMeter) { if(gAudioIO->mInputMeter->GetMaxPeak() < gAudioIO->mSilenceLevel ) { if(!gAudioIO->IsPaused()) { AudacityProject *p = GetActiveProject(); ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs