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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user