rpms/audacity/F-12 audacity-1.3.9-getmaxpeak.patch, NONE, 1.1 audacity.spec, 1.86, 1.87

Michael Schwendt mschwendt at fedoraproject.org
Fri Dec 4 13:47:37 UTC 2009


Author: mschwendt

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

Modified Files:
	audacity.spec 
Added Files:
	audacity-1.3.9-getmaxpeak.patch 
Log Message:
* Fri Dec  4 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.9-0.5.beta
- Prevent race-condition segfault with Sound Activated Recording (#544125).


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;


Index: audacity.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/F-12/audacity.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -p -r1.86 -r1.87
--- audacity.spec	23 Sep 2009 05:43:44 -0000	1.86
+++ audacity.spec	4 Dec 2009 13:47:37 -0000	1.87
@@ -5,7 +5,7 @@
 
 Name: audacity
 Version: 1.3.9
-Release: 0.4.beta%{?dist}
+Release: 0.5.beta%{?dist}
 Summary: Multitrack audio editor
 Group: Applications/Multimedia
 License: GPLv2
@@ -21,6 +21,7 @@ Patch3: audacity-1.3.8-gsocket-conflict.
 Patch4: audacity-1.3.9-labeltrack-crash.patch
 Patch5: audacity-1.3.9-labelpopup.patch
 Patch6: audacity-1.3.7-vamp-1.3.patch
+Patch7: audacity-1.3.9-getmaxpeak.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: alsa-lib-devel
@@ -75,6 +76,7 @@ grep -q -s __RPM_LIB * -R && exit 1
 %if 0%{?fedora} < 11
 %patch6 -p1 -b .vamp-1.3
 %endif
+%patch7 -p1 -b .getmaxpeak
 
 # Substitute occurences of "libmp3lame.so" with "libmp3lame.so.0".
 for i in locale/*.po src/export/ExportMP3.cpp
@@ -150,6 +152,9 @@ update-desktop-database &> /dev/null || 
 
 
 %changelog
+* Fri Dec  4 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.9-0.5.beta
+- Prevent race-condition segfault with Sound Activated Recording (#544125).
+
 * Wed Sep 23 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.9-0.4.beta
 - Update desktop file according to F-12 FedoraStudio feature
 




More information about the scm-commits mailing list