1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Fix minor typos

This commit is contained in:
Yuri Chornoivan
2020-04-11 10:08:33 +03:00
committed by James Crook
parent f420a546a0
commit d1ada5f08c
116 changed files with 195 additions and 195 deletions

View File

@@ -1048,7 +1048,7 @@ bool SpecCache::CalculateOneSpectrum
ComputeSpectrumUsingRealFFTf
(useBuffer, settings.hFFT.get(), settings.window.get(), fftLen, results);
if (!gainFactors.empty()) {
// Apply a frequency-dependant gain factor
// Apply a frequency-dependent gain factor
for (size_t ii = 0; ii < nBins; ++ii)
results[ii] += gainFactors[ii];
}
@@ -1201,7 +1201,7 @@ void SpecCache::Populate
power = 10.0*log10f(power);
}
if (!gainFactors.empty()) {
// Apply a frequency-dependant gain factor
// Apply a frequency-dependent gain factor
for (size_t ii = 0; ii < nBins; ++ii)
results[ii] += gainFactors[ii];
}