Update of /cvsroot/audacity/audacity-src/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20795/src
Modified Files: Project.cpp Log Message: Stop monitoring stream before closing down project to avoid getting a crash recovery dialogue when re-starting audacity, even though there was no complaint when exiting Audacity. Patch supplied by David Henningsson Index: Project.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v retrieving revision 1.466 retrieving revision 1.467 diff -u -d -r1.466 -r1.467 --- Project.cpp 1 Nov 2009 19:29:40 -0000 1.466 +++ Project.cpp 2 Nov 2009 21:06:45 -0000 1.467 @@ -1918,6 +1918,9 @@ SetAudioIOToken(0); RedrawProject(); } + else if (gAudioIO->IsMonitoring()) { + gAudioIO->StopStream(); + } // These two lines test for an 'empty' project. // of course it could still have a history at this stage. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs