aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2023-07-21 16:19:29 +0000
committerJean-Marc Valin <jmvalin@jmvalin.ca>2024-02-02 11:03:50 -0500
commit009d7412e1b374ccdd542aff5fe9becfde6d941e (patch)
treebd347856ba18f9761873d1828c54038d2b7a7672
parentf20575dd8632d371a51478ff55996d4ecc35ff1e (diff)
downloadlibopus-009d7412e1b374ccdd542aff5fe9becfde6d941e.tar.gz
Fix various typos
Found using `codespell -q 3 -L caf,highe,inlin,nd,ordert,shft` Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
-rw-r--r--cmake/OpusFunctions.cmake2
-rw-r--r--doc/release.txt2
-rw-r--r--include/opus.h4
-rw-r--r--include/opus_multistream.h2
-rw-r--r--src/opus_encoder.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/cmake/OpusFunctions.cmake b/cmake/OpusFunctions.cmake
index 5ab50a9d..a265c47f 100644
--- a/cmake/OpusFunctions.cmake
+++ b/cmake/OpusFunctions.cmake
@@ -217,7 +217,7 @@ function(get_opus_sources SOURCE_GROUP MAKE_FILE SOURCES)
if(${list_length} LESS 1)
message(
FATAL_ERROR
- "No files parsed succesfully from ${SOURCE_GROUP} in ${MAKE_FILE}")
+ "No files parsed successfully from ${SOURCE_GROUP} in ${MAKE_FILE}")
endif()
# remove trailing whitespaces
diff --git a/doc/release.txt b/doc/release.txt
index 411ab7f4..ad5afb69 100644
--- a/doc/release.txt
+++ b/doc/release.txt
@@ -21,7 +21,7 @@
and update the links.
- Update /topic in #opus IRC channel.
-Releases are commited to https://svn.xiph.org/releases/opus/
+Releases are committed to https://svn.xiph.org/releases/opus/
which propagates to downloads.xiph.org, and copied manually
to https://archive.mozilla.org/pub/opus/
diff --git a/include/opus.h b/include/opus.h
index a52daa22..973a79d1 100644
--- a/include/opus.h
+++ b/include/opus.h
@@ -103,7 +103,7 @@ extern "C" {
* @endcode
*
* where opus_encoder_get_size() returns the required size for the encoder state. Note that
- * future versions of this code may change the size, so no assuptions should be made about it.
+ * future versions of this code may change the size, so no assumptions should be made about it.
*
* The encoder state is always continuous in memory and only a shallow copy is sufficient
* to copy it (e.g. memcpy())
@@ -357,7 +357,7 @@ OPUS_EXPORT int opus_encoder_ctl(OpusEncoder *st, int request, ...) OPUS_ARG_NON
* error = opus_decoder_init(dec, Fs, channels);
* @endcode
* where opus_decoder_get_size() returns the required size for the decoder state. Note that
- * future versions of this code may change the size, so no assuptions should be made about it.
+ * future versions of this code may change the size, so no assumptions should be made about it.
*
* The decoder state is always continuous in memory and only a shallow copy is sufficient
* to copy it (e.g. memcpy())
diff --git a/include/opus_multistream.h b/include/opus_multistream.h
index babcee69..824cc55a 100644
--- a/include/opus_multistream.h
+++ b/include/opus_multistream.h
@@ -143,7 +143,7 @@ extern "C" {
* <a href="https://www.xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-810004.3.9">Vorbis
* channel ordering</a>. A decoder may wish to apply an additional permutation
* to the mapping the encoder used to achieve a different output channel
- * order (e.g. for outputing in WAV order).
+ * order (e.g. for outputting in WAV order).
*
* Each multistream packet contains an Opus packet for each stream, and all of
* the Opus packets in a single multistream packet must have the same
diff --git a/src/opus_encoder.c b/src/opus_encoder.c
index df266982..6112c853 100644
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -1758,7 +1758,7 @@ static opus_int32 opus_encode_frame_native(OpusEncoder *st, const opus_val16 *pc
redundancy = 1;
celt_to_silk = 1;
st->silk_bw_switch = 0;
- /* Do a prefill without reseting the sampling rate control. */
+ /* Do a prefill without resetting the sampling rate control. */
prefill=2;
}