1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Exception safety in: some effects and generators...

... Those that directly call WaveTrack functions in their Process() routines,
which might throw exceptions for disk space exhaustion.
This commit is contained in:
Paul Licameli
2016-12-15 07:30:14 -05:00
parent 1fad6292a2
commit 22a12c6852
15 changed files with 106 additions and 97 deletions

View File

@@ -165,9 +165,8 @@ double EffectTimeScale::CalcPreviewInputLength(double previewLength)
void EffectTimeScale::Preview(bool dryOnly)
{
previewSelectedDuration = Effect::GetDuration();
bPreview = true;
auto cleanup = valueRestorer( bPreview, true );
Effect::Preview(dryOnly);
bPreview = false;
}
bool EffectTimeScale::Process()