1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Docs: Fix a few tiny typos in comments

This commit is contained in:
Sudara 2025-04-16 17:58:01 +02:00
parent 626a4ea475
commit 9a4ab937ad
9 changed files with 11 additions and 11 deletions

View file

@ -13,7 +13,7 @@ If you are not licensing the JUCE Framework modules under the
[AGPLv3](https://www.gnu.org/licenses/agpl-3.0.en.html) then by downloading,
installing, or using the JUCE Framework, or combining the JUCE Framework with
any other source code, object code, content or any other copyrightable work, you
agree to the terms of the the [JUCE 8 End User Licence
agree to the terms of the [JUCE 8 End User Licence
Agreement](https://juce.com/legal/juce-8-licence/), and all incorporated terms
including the [JUCE Privacy Policy](https://juce.com/legal/juce-privacy-policy/)
and the [JUCE Website Terms of

View file

@ -65,7 +65,7 @@ if(subdirs)
set(WebView2_library "${WebView2_root_dir}/build/native/${WebView2_arch}/WebView2LoaderStatic.lib")
elseif(NOT WebView2_FIND_QUIETLY)
message(WARNING
"WebView2 wasn't found in the the local NuGet folder."
"WebView2 wasn't found in the local NuGet folder."
"\n"
"To install NuGet and the WebView2 package containing the statically linked library, "
"open a PowerShell and issue the following commands"

View file

@ -370,13 +370,13 @@ public:
@param keepExistingContent if this is true, it will try to preserve as much of the
old data as it can in the new buffer.
@param clearExtraSpace if this is true, then any extra channels or space that is
allocated will be also be cleared. If false, then this space is left
allocated will also be cleared. If false, then this space is left
uninitialised.
@param avoidReallocating if this is true, then changing the buffer's size won't reduce the
amount of memory that is currently allocated (but it will still
increase it if the new size is bigger than the amount it currently has).
If this is false, then a new allocation will be done so that the buffer
uses takes up the minimum amount of memory that it needs.
uses the minimum amount of memory that it needs.
*/
void setSize (int newNumChannels,
int newNumSamples,

View file

@ -101,10 +101,10 @@ struct JUCE_API FloatVectorOperationsBase
/** Multiplies each source1 value by the corresponding source2 value, then adds it to the destination value. */
static void JUCE_CALLTYPE addWithMultiply (FloatType* dest, const FloatType* src1, const FloatType* src2, CountType num) noexcept;
/** Multiplies each source value by the given multiplier, then subtracts it to the destination value. */
/** Multiplies each source value by the given multiplier, then subtracts it from the destination value. */
static void JUCE_CALLTYPE subtractWithMultiply (FloatType* dest, const FloatType* src, FloatType multiplier, CountType numValues) noexcept;
/** Multiplies each source1 value by the corresponding source2 value, then subtracts it to the destination value. */
/** Multiplies each source1 value by the corresponding source2 value, then subtracts it from the destination value. */
static void JUCE_CALLTYPE subtractWithMultiply (FloatType* dest, const FloatType* src1, const FloatType* src2, CountType num) noexcept;
/** Multiplies the destination values by the source values. */

View file

@ -89,7 +89,7 @@ public:
@param maxValue The maximum parameter value
@param defaultValueIn The default value
@param parameterLabel An optional label for the parameter's value
@param stringFromInt An optional lambda function that converts a int
@param stringFromInt An optional lambda function that converts an int
value to a string with a maximum length. This may
be used by hosts to display the parameter's value.
@param intFromString An optional lambda function that parses a string

View file

@ -56,7 +56,7 @@ class ParameterAttachment : private AudioProcessorParameter::Listener,
private AsyncUpdater
{
public:
/** Listens to a parameter and calls the the provided function in response to
/** Listens to a parameter and calls the provided function in response to
parameter changes. If an undoManager is supplied `beginNewTransaction` will
be called on it whenever the UI requests a parameter change via this attachment.

View file

@ -182,7 +182,7 @@ public:
void restoreFromXml (const XmlElement& xml);
//==============================================================================
/** Sets up a second PopertySet that will be used to look up any values that aren't
/** Sets up a second PropertySet that will be used to look up any values that aren't
set in this one.
If you set this up to be a pointer to a second property set, then whenever one

View file

@ -99,7 +99,7 @@ public:
/** Callback to indicate that the user has dropped the files onto this component.
When the user drops the files, this get called, and you can use the files in whatever
When the user drops the files, this gets called, and you can use the files in whatever
way is appropriate.
Note that after this is called, the fileDragExit method may not be called, so you should

View file

@ -388,7 +388,7 @@ public:
It's up to the LookAndFeel how this is used. */
outlineColourId = 0x1003820, /**< The colour of the table header's outline. */
highlightColourId = 0x1003830, /**< The colour of the table header background when
the mouse is over or down above the the table
the mouse is over or down above the table
header. It's up to the LookAndFeel to use a
variant of this colour to distinguish between
the down and hover state. */