mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-16 17:41:15 +01:00
Don't invalidate SpecCache for changes of min, max, gain or range...
... because those do not affect it. They only affect the SpecPxCache. Did other things to that class: renamed fields, new constructors.
This commit is contained in:
@@ -43,6 +43,7 @@ public:
|
||||
len = cacheLen;
|
||||
values = new float[len];
|
||||
valid = false;
|
||||
range = gain = -1;
|
||||
}
|
||||
|
||||
~SpecPxCache()
|
||||
@@ -53,6 +54,9 @@ public:
|
||||
sampleCount len;
|
||||
float *values;
|
||||
bool valid;
|
||||
|
||||
int range;
|
||||
int gain;
|
||||
};
|
||||
|
||||
class WaveClip;
|
||||
|
||||
Reference in New Issue
Block a user