Fix various typos

Found using `codespell -q 3 -L caf,highe,inlin,nd,ordert,shft`

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
This commit is contained in:
luzpaz 2023-07-21 16:19:29 +00:00 committed by Jean-Marc Valin
parent f20575dd86
commit 009d7412e1
No known key found for this signature in database
GPG key ID: 5E5DD9A36F9189C8
5 changed files with 6 additions and 6 deletions

View file

@ -217,7 +217,7 @@ function(get_opus_sources SOURCE_GROUP MAKE_FILE SOURCES)
if(${list_length} LESS 1) if(${list_length} LESS 1)
message( message(
FATAL_ERROR FATAL_ERROR
"No files parsed succesfully from ${SOURCE_GROUP} in ${MAKE_FILE}") "No files parsed successfully from ${SOURCE_GROUP} in ${MAKE_FILE}")
endif() endif()
# remove trailing whitespaces # remove trailing whitespaces

View file

@ -21,7 +21,7 @@
and update the links. and update the links.
- Update /topic in #opus IRC channel. - 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 which propagates to downloads.xiph.org, and copied manually
to https://archive.mozilla.org/pub/opus/ to https://archive.mozilla.org/pub/opus/

View file

@ -103,7 +103,7 @@ extern "C" {
* @endcode * @endcode
* *
* where opus_encoder_get_size() returns the required size for the encoder state. Note that * 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 * The encoder state is always continuous in memory and only a shallow copy is sufficient
* to copy it (e.g. memcpy()) * 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); * error = opus_decoder_init(dec, Fs, channels);
* @endcode * @endcode
* where opus_decoder_get_size() returns the required size for the decoder state. Note that * 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 * The decoder state is always continuous in memory and only a shallow copy is sufficient
* to copy it (e.g. memcpy()) * to copy it (e.g. memcpy())

View file

@ -143,7 +143,7 @@ extern "C" {
* <a href="https://www.xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-810004.3.9">Vorbis * <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 * channel ordering</a>. A decoder may wish to apply an additional permutation
* to the mapping the encoder used to achieve a different output channel * 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 * 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 * the Opus packets in a single multistream packet must have the same

View file

@ -1758,7 +1758,7 @@ static opus_int32 opus_encode_frame_native(OpusEncoder *st, const opus_val16 *pc
redundancy = 1; redundancy = 1;
celt_to_silk = 1; celt_to_silk = 1;
st->silk_bw_switch = 0; 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; prefill=2;
} }