1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

Overdub off by default.

Confused many new users in the past.  Experienced users can be expected to find it in preferences (or on menu) and turn it on, if they need it.
This commit is contained in:
James Crook 2017-06-26 15:31:11 +01:00
parent 44a081c7a0
commit 869de7d6f4
3 changed files with 5 additions and 5 deletions

View File

@ -2157,7 +2157,7 @@ void AudacityProject::ModifyToolbarMenus()
active = TracksPrefs::GetPinnedHeadPreference();
mCommandManager.Check(wxT("PinnedHead"), active);
gPrefs->Read(wxT("/AudioIO/Duplex"),&active, true);
gPrefs->Read(wxT("/AudioIO/Duplex"),&active, false);
mCommandManager.Check(wxT("Duplex"), active);
gPrefs->Read(wxT("/AudioIO/SWPlaythrough"),&active, false);
mCommandManager.Check(wxT("SWPlaythrough"), active);
@ -2721,7 +2721,7 @@ void AudacityProject::OnTogglePinnedHead()
void AudacityProject::OnTogglePlayRecording()
{
bool Duplex;
gPrefs->Read(wxT("/AudioIO/Duplex"), &Duplex, true);
gPrefs->Read(wxT("/AudioIO/Duplex"), &Duplex, false);
gPrefs->Write(wxT("/AudioIO/Duplex"), !Duplex);
gPrefs->Flush();
ModifyAllProjectToolbarMenus();

View File

@ -73,7 +73,7 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
{
S.TieCheckBox(_("&Other tracks while recording"),
wxT("/AudioIO/Duplex"),
true);
false);
#if defined(__WXMAC__)
S.TieCheckBox(_("&Hardware Playthrough of input"),
wxT("/AudioIO/Playthrough"),

View File

@ -981,7 +981,7 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt)
NoteTrackArray midiTracks;
#endif
bool duplex;
gPrefs->Read(wxT("/AudioIO/Duplex"), &duplex, true);
gPrefs->Read(wxT("/AudioIO/Duplex"), &duplex, false);
if(duplex){
playbackTracks = trackList->GetWaveTrackConstArray(false);
@ -1383,7 +1383,7 @@ void ControlToolBar::StartScrolling()
// If you overdub, you may want to anticipate some context in existing tracks,
// so center the head. If not, put it rightmost to display as much wave as we can.
bool duplex;
gPrefs->Read(wxT("/AudioIO/Duplex"), &duplex, true);
gPrefs->Read(wxT("/AudioIO/Duplex"), &duplex, false);
if (duplex) {
// See if there is really anything being overdubbed