[SCM] Audacity debian packaging branch, master, updated. debian/1.3.9-6-6-gbfbc982
diwic-guest at users.alioth.debian.org
diwic-guest at users.alioth.debian.org
Mon Nov 23 15:55:20 UTC 2009
The following commit has been merged in the master branch:
commit bfbc982562be46ef9b15910ac6d92d009189d366
Author: David Henningsson <audacity at epost.diwic.se>
Date: Mon Nov 23 16:40:50 2009 +0100
Crash on start recording, then open and close a project window
diff --git a/debian/patches/closing-2nd-while-recording-in-1st.patch b/debian/patches/closing-2nd-while-recording-in-1st.patch
new file mode 100644
index 0000000..929fef6
--- /dev/null
+++ b/debian/patches/closing-2nd-while-recording-in-1st.patch
@@ -0,0 +1,27 @@
+diff -Nur -x '*.orig' -x '*~' audacity/src/AudioIO.h audacity.new/src/AudioIO.h
+--- audacity/src/AudioIO.h 2009-10-21 18:20:50.536184321 +0200
++++ audacity.new/src/AudioIO.h 2009-11-23 16:37:05.249920087 +0100
+@@ -80,6 +80,7 @@
+ AudioIO();
+ ~AudioIO();
+
++ AudioIOListener* GetListener() { return mListener; }
+ void SetListener(AudioIOListener* listener);
+
+ /** \brief Start up Portaudio for capture and recording as needed for
+diff -Nur -x '*.orig' -x '*~' audacity/src/Project.cpp audacity.new/src/Project.cpp
+--- audacity/src/Project.cpp 2009-11-23 16:36:10.239918690 +0100
++++ audacity.new/src/Project.cpp 2009-11-23 16:37:58.488672274 +0100
+@@ -1918,6 +1918,12 @@
+ }
+ }
+
++ // Since we're going to be destroyed, make sure we're not to
++ // receive audio notifications anymore.
++ if (gAudioIO->GetListener() == this) {
++ gAudioIO->SetListener(gActiveProject);
++ }
++
+ if (gAudacityProjects.IsEmpty() && !gIsQuitting) {
+
+ // LL: On the Mac, we don't want the logger open after all projects
--
Audacity debian packaging
More information about the pkg-multimedia-commits
mailing list