Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7464/src/toolbars
Modified Files:
ControlToolBar.cpp MeterToolBar.cpp MeterToolBar.h
Log Message:
-Progressed Checklist.
Index: MeterToolBar.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/MeterToolBar.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- MeterToolBar.h 23 May 2007 23:26:43 -0000 1.2
+++ MeterToolBar.h 16 Sep 2007 13:46:01 -0000 1.3
@@ -38,6 +38,7 @@
virtual void EnableDisableButtons() {};
void GetMeters(Meter **playMeter, Meter **recordMeter);
+ void StartMonitoring();
virtual void OnSize(wxSizeEvent & event);
Index: ControlToolBar.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/ControlToolBar.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- ControlToolBar.cpp 16 Sep 2007 13:25:35 -0000 1.19
+++ ControlToolBar.cpp 16 Sep 2007 13:46:01 -0000 1.20
@@ -660,6 +660,12 @@
ClearCutPreviewTracks();
mBusyProject = NULL;
+
+ // So that we continue monitoring after playing or recording.
+ AudacityProject *project = GetActiveProject();
+ if( project )
+ project->MayStartMonitoring();
+
}
void ControlToolBar::OnBatch(wxCommandEvent &evt)
Index: MeterToolBar.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/MeterToolBar.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- MeterToolBar.cpp 24 May 2007 01:43:30 -0000 1.5
+++ MeterToolBar.cpp 16 Sep 2007 13:46:01 -0000 1.6
@@ -173,6 +173,15 @@
*recordMeter = mRecordMeter;
}
+void MeterToolBar::StartMonitoring()
+{
+ wxASSERT( mRecordMeter );
+ mRecordMeter->StartMonitoring();
+ //wxASSERT( mPlayMeter );
+ //mPlayMeter->StartMonitoring();
+
+}
+
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
// version control system. Please do not modify past this point.
//
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs