1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-24 15:11:11 +01:00

Addressing one of the problems reported with 'Normalise' if the offset is greater than the signal. Comments on other possible problems.

This commit is contained in:
martynshaw99
2012-04-23 23:39:36 +00:00
parent 4f7e7a5993
commit ffea5a2273
3 changed files with 6 additions and 6 deletions

View File

@@ -955,8 +955,8 @@ bool WaveClip::GetSpectrogram(float *freq, sampleCount *where,
bool WaveClip::GetMinMax(float *min, float *max,
double t0, double t1)
{
*min = float(0.0);
*max = float(0.0);
*min = float(0.0); // harmless, but unused since Sequence::GetMinMax does not use these values
*max = float(0.0); // harmless, but unused since Sequence::GetMinMax does not use these values
if (t0 > t1)
return false;