From 19dc803020839321f8ec8013bbea8d89fc706d6e Mon Sep 17 00:00:00 2001 From: luz paz Date: Wed, 4 May 2022 19:53:53 -0400 Subject: [PATCH] Fix misc. source comment typos --- app/audio/audiovisualwaveform.cpp | 2 +- app/codec/ffmpeg/ffmpegencoder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/audio/audiovisualwaveform.cpp b/app/audio/audiovisualwaveform.cpp index dbc0cb973..290adb0f5 100644 --- a/app/audio/audiovisualwaveform.cpp +++ b/app/audio/audiovisualwaveform.cpp @@ -287,7 +287,7 @@ void ExpandMinMaxChannel(float *a, int start, int length, float &min_val, float __m128 min = _mm_loadu_ps(a + start); // loop over 'a' and compare current elements with min and max 4 by 4. - // we need to make sure we don't read out of boundaries should 'a' lenght be not mod. 4 + // we need to make sure we don't read out of boundaries should 'a' length be not mod. 4 for(int i = 4; i < length-4; i+=4) { __m128 cur = _mm_loadu_ps(a + start + i); max = _mm_max_ps(max, cur); diff --git a/app/codec/ffmpeg/ffmpegencoder.cpp b/app/codec/ffmpeg/ffmpegencoder.cpp index 19db89732..599e4c9de 100644 --- a/app/codec/ffmpeg/ffmpegencoder.cpp +++ b/app/codec/ffmpeg/ffmpegencoder.cpp @@ -69,7 +69,7 @@ std::vector FFmpegEncoder::GetSampleFormatsForCodec(ExportC if (c == ExportCodec::kCodecPCM) { // FFmpeg lists these as separate codecs so we need custom functionality here // We list signed 16 first because ExportDialog will always use the first element by default - // (beacuse first element is the "default" in FFmpeg) + // (because first element is the "default" in FFmpeg) f = { AudioParams::kFormatSigned16Packed, AudioParams::kFormatUnsigned8Packed,