mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 08:09:41 +02:00
Remove a disabled EXPERIMENTAL and associated code...
... which referred to other functions that no longer exist
This commit is contained in:
parent
c6a7f7c59f
commit
96ad9c9b00
@ -1530,13 +1530,6 @@ bool AudacityApp::OnInit()
|
||||
HelpActions::DoHelpWelcome(*project);
|
||||
}
|
||||
|
||||
// JKC 10-Sep-2007: Enable monitoring from the start.
|
||||
// (recommended by lprod.org).
|
||||
// Monitoring stops again after any
|
||||
// PLAY or RECORD completes.
|
||||
// So we also call StartMonitoring when STOP is called.
|
||||
project->MayStartMonitoring();
|
||||
|
||||
#ifdef USE_FFMPEG
|
||||
FFmpegStartup();
|
||||
#endif
|
||||
|
@ -93,11 +93,6 @@
|
||||
// This shows the zoom toggle button on the edit toolbar.
|
||||
#define EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
|
||||
|
||||
//Next line enables Mic monitoring at times when it was previously off.
|
||||
//More work is needed as after recording or playing it results in an
|
||||
//unwanted record-cursor on the wave track.
|
||||
//#define EXPERIMENTAL_EXTRA_MONITORING
|
||||
|
||||
//#define EXPERIMENTAL_ROLL_UP_DIALOG
|
||||
//#define EXPERIMENTAL_RIGHT_ALIGNED_TEXTBOXES
|
||||
//#define EXPERIMENTAL_VOICE_DETECTION
|
||||
|
@ -5079,21 +5079,6 @@ void AudacityProject::DeleteCurrentAutoSaveFile()
|
||||
}
|
||||
|
||||
|
||||
void AudacityProject::MayStartMonitoring()
|
||||
{
|
||||
#ifdef EXPERIMENTAL_EXTRA_MONITORING
|
||||
bool bAlwaysMonitor;
|
||||
gPrefs->Read( wxT("GUI/AlwaysMonitor"), &bAlwaysMonitor, true );
|
||||
if( !bAlwaysMonitor )
|
||||
return;
|
||||
|
||||
MeterToolBar * pToolBar = GetMeterToolBar();
|
||||
if( pToolBar == NULL )
|
||||
return;
|
||||
pToolBar->StartMonitoring();
|
||||
#endif
|
||||
}
|
||||
|
||||
void AudacityProject::OnAudioIORate(int rate)
|
||||
{
|
||||
auto &project = *this;
|
||||
|
@ -346,8 +346,6 @@ public:
|
||||
// Converts number of minutes to human readable format
|
||||
wxString GetHoursMinsString(int iMinutes);
|
||||
|
||||
void MayStartMonitoring();
|
||||
|
||||
|
||||
// Message Handlers
|
||||
|
||||
|
@ -886,8 +886,6 @@ void ControlToolBar::StopPlaying(bool stopStream /* = true*/)
|
||||
// So that we continue monitoring after playing or recording.
|
||||
// also clean the MeterQueues
|
||||
if( project ) {
|
||||
project->MayStartMonitoring();
|
||||
|
||||
MeterPanel *meter = project->GetPlaybackMeter();
|
||||
if( meter ) {
|
||||
meter->Clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user