diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-03-24 21:45:31 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-03-24 21:45:31 +0100 |
commit | debeee56f721178d44f71deb4e303b825d1dccd1 (patch) | |
tree | 6c88f378419a5760bbe919c48c87d1c71a6ea548 /servers/audio | |
parent | c103f32ea3b19c3588d54dcef98e307f8b823f4c (diff) |
Fix typos in source code using codespell
From https://github.com/lucasdemarchi/codespell
Diffstat (limited to 'servers/audio')
-rw-r--r-- | servers/audio/audio_filter_sw.cpp | 2 | ||||
-rw-r--r-- | servers/audio/effects/audio_effect_chorus.cpp | 2 | ||||
-rw-r--r-- | servers/audio/effects/reverb.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/servers/audio/audio_filter_sw.cpp b/servers/audio/audio_filter_sw.cpp index b3ed76f22c..4bfe31247b 100644 --- a/servers/audio/audio_filter_sw.cpp +++ b/servers/audio/audio_filter_sw.cpp @@ -57,7 +57,7 @@ void AudioFilterSW::prepare_coefficients(Coeffs *p_coeffs) { double final_cutoff = (cutoff > sr_limit) ? sr_limit : cutoff; if (final_cutoff < 1) //avoid crapness - final_cutoff = 1; //dont allow less than this + final_cutoff = 1; //don't allow less than this double omega = 2.0 * Math_PI * final_cutoff / sampling_rate; 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++) { |