summaryrefslogtreecommitdiff
path: root/servers/audio/effects/audio_effect_spectrum_analyzer.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-19 22:04:14 +0200
committerGitHub <noreply@github.com>2019-05-19 22:04:14 +0200
commita940b4cf640930b2decb356d395ac4cd89beefaf (patch)
tree8b16bd41e01eb747f8c7142b0ea8f3cf9c36e773 /servers/audio/effects/audio_effect_spectrum_analyzer.cpp
parentd111d59640ae93e60331f941fb2c62f460323171 (diff)
parente0574e1d98079b9954d262792bf748f7861e1d0a (diff)
Merge pull request #28997 from akien-mga/codespell
Fix typos with codespell
Diffstat (limited to 'servers/audio/effects/audio_effect_spectrum_analyzer.cpp')
-rw-r--r--servers/audio/effects/audio_effect_spectrum_analyzer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/audio/effects/audio_effect_spectrum_analyzer.cpp b/servers/audio/effects/audio_effect_spectrum_analyzer.cpp
index 46d92336f3..05cba416be 100644
--- a/servers/audio/effects/audio_effect_spectrum_analyzer.cpp
+++ b/servers/audio/effects/audio_effect_spectrum_analyzer.cpp
@@ -112,7 +112,7 @@ void AudioEffectSpectrumAnalyzerInstance::process(const AudioFrame *p_src_frames
}
//determine time of capture
- double remainer_sec = (temporal_fft_pos / mix_rate); //substract remainder from mix time
+ double remainer_sec = (temporal_fft_pos / mix_rate); //subtract remainder from mix time
last_fft_time = time - uint64_t(remainer_sec * 1000000.0);
}