ceb9202
diff -Nur audacity-src-1.3.9-orig/src/AudioIO.cpp audacity-src-1.3.9/src/AudioIO.cpp
ceb9202
--- audacity-src-1.3.9-orig/src/AudioIO.cpp	2009-08-31 12:45:38.000000000 +0200
ceb9202
+++ audacity-src-1.3.9/src/AudioIO.cpp	2009-12-04 14:40:41.559205870 +0100
ceb9202
@@ -2750,7 +2750,7 @@
ceb9202
 
ceb9202
    // Stop recording if 'silence' is detected
ceb9202
    if(gAudioIO->mPauseRec && inputBuffer) {
ceb9202
-      if(gAudioIO->mInputMeter->GetMaxPeak() < gAudioIO->mSilenceLevel ) {
ceb9202
+      if(gAudioIO->mInputMeter && (gAudioIO->mInputMeter->GetMaxPeak() < gAudioIO->mSilenceLevel) ) {
ceb9202
          if(!gAudioIO->IsPaused()) {
ceb9202
             AudacityProject *p = GetActiveProject();
ceb9202
             wxCommandEvent dummyEvt;