rpms/audacity/F-11 audacity-1.3.9-getmaxpeak.patch,NONE,1.1

Michael Schwendt mschwendt at fedoraproject.org
Wed Dec 9 19:34:33 UTC 2009


Author: mschwendt

Update of /cvs/pkgs/rpms/audacity/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24600

Added Files:
	audacity-1.3.9-getmaxpeak.patch 
Log Message:
messed up the manual sync/commit

audacity-1.3.9-getmaxpeak.patch:
 AudioIO.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the fedora-extras-commits mailing list