From debeee56f721178d44f71deb4e303b825d1dccd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 24 Mar 2017 21:45:31 +0100 Subject: Fix typos in source code using codespell From https://github.com/lucasdemarchi/codespell --- servers/audio/effects/audio_effect_chorus.cpp | 2 +- servers/audio/effects/reverb.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'servers/audio/effects') diff --git a/servers/audio/effects/audio_effect_chorus.cpp b/servers/audio/effects/audio_effect_chorus.cpp index fa3a571c6e..27b03351c8 100644 --- a/servers/audio/effects/audio_effect_chorus.cpp +++ b/servers/audio/effects/audio_effect_chorus.cpp @@ -76,7 +76,7 @@ void AudioEffectChorusInstance::_process_chunk(const AudioFrame *p_src_frames, A uint64_t local_cycles = cycles[vc]; uint64_t increment = llrint(cycles_to_mix / (double)p_frame_count * (double)(1 << AudioEffectChorus::CYCLES_FRAC)); - //check the LFO doesnt read ahead of the write pos + //check the LFO doesn't read ahead of the write pos if ((((int)max_depth_frames) + 10) > delay_frames) { //10 as some threshold to avoid precision stuff delay_frames += (int)max_depth_frames - delay_frames; delay_frames += 10; //threshold to avoid precision stuff diff --git a/servers/audio/effects/reverb.cpp b/servers/audio/effects/reverb.cpp index 6462977d7c..26e6f50667 100644 --- a/servers/audio/effects/reverb.cpp +++ b/servers/audio/effects/reverb.cpp @@ -235,7 +235,7 @@ void Reverb::set_extra_spread_base(float p_sec) { void Reverb::configure_buffers() { - clear_buffers(); //clear if necesary + clear_buffers(); //clear if necessary for (int i = 0; i < MAX_COMBS; i++) { -- cgit v1.2.3