summaryrefslogtreecommitdiffstats
path: root/src/sources
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2021-06-29 15:35:59 -0400
committerluz paz <luzpaz@users.noreply.github.com>2021-06-29 15:35:59 -0400
commit380c4575cb8a5f6e3089bf7f1a3d003d6d117620 (patch)
treee0ac078c9e1c692845d67f70a84148c3cf6af874 /src/sources
parent2b3e39f299ed16cbb5339eb2c9cad7d9f98f022b (diff)
Fix misc. typos
Found via `codespell -q 3 -S *.ts,*.po,*.rtf,./.git,./src/library,./lib,./build/wix -L ba,chang,crate,ect,everytime,german,hace,iff,jus,ith,lokal,nd,ons,pevent,pparent,preverse,seeked,sheat,sinc,splitted,substract,thru,tim,uint`
Diffstat (limited to 'src/sources')
-rw-r--r--src/sources/audiosource.h2
-rw-r--r--src/sources/soundsourcecoreaudio.cpp2
-rw-r--r--src/sources/soundsourcem4a.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/sources/audiosource.h b/src/sources/audiosource.h
index 52a60b50e0..dee01aa359 100644
--- a/src/sources/audiosource.h
+++ b/src/sources/audiosource.h
@@ -169,7 +169,7 @@ class AudioSource : public UrlResource, public virtual /*implements*/ IAudioSour
/// internal errors of if the format of the content is not
/// supported it should return Aborted.
///
- /// Returing this error result gives other decoders with a
+ /// Returning this error result gives other decoders with a
/// lower priority the chance to open the same file.
/// Example: A SoundSourceProvider has been registered for
/// files with a certain extension, but the corresponding
diff --git a/src/sources/soundsourcecoreaudio.cpp b/src/sources/soundsourcecoreaudio.cpp
index 65c6aea76d..26bb254fa8 100644
--- a/src/sources/soundsourcecoreaudio.cpp
+++ b/src/sources/soundsourcecoreaudio.cpp
@@ -193,7 +193,7 @@ SoundSource::OpenResult SoundSourceCoreAudio::tryOpen(
if (m_bFileIsMp3) {
// Use the maximum value for MP3 files to ensure that all decoded samples
- // are accurate. Otherwise the deocding tests for MP3 files fail!
+ // are accurate. Otherwise the decoding tests for MP3 files fail!
m_seekPrefetchFrames = math_max(m_leadingFrames, kMp3MaxSeekPrefetchFrames);
} else {
m_seekPrefetchFrames = m_leadingFrames;
diff --git a/src/sources/soundsourcem4a.cpp b/src/sources/soundsourcem4a.cpp
index ca3b5ec7c5..ced4bcfde1 100644
--- a/src/sources/soundsourcem4a.cpp
+++ b/src/sources/soundsourcem4a.cpp
@@ -747,7 +747,7 @@ ReadableSampleFrames SoundSourceM4A::readSampleFramesClamped(
// Either abort or retry by exiting the inner loop
break;
} else {
- // Reset the retry flag after succesfully decoding a block
+ // Reset the retry flag after successfully decoding a block
retryAfterReopeningDecoder = false;
}
// Upon a pending retry the inner loop is exited immediately and