1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-12 17:35:33 +01:00

Construction of default play options moved out of AudacityProject

This commit is contained in:
Paul Licameli
2019-01-19 16:54:41 -05:00
parent 0a109d2432
commit ae18f2f220
8 changed files with 28 additions and 29 deletions

View File

@@ -3532,7 +3532,7 @@ void EffectUIHost::OnPlay(wxCommandEvent & WXUNUSED(evt))
auto &bar = ControlToolBar::Get( *mProject );
bar.PlayPlayRegion(
SelectedRegion(mPlayPos, mRegion.t1()),
mProject->GetDefaultPlayOptions(),
DefaultPlayOptions( *mProject ),
PlayMode::normalPlay );
}
}