Browse Source

Fixed some typos.

tags/2021-05-28
jules 11 years ago
parent
commit
28e4473a6b
6 changed files with 8 additions and 8 deletions
  1. +1
    -1
      modules/juce_audio_basics/sources/juce_AudioSource.h
  2. +1
    -1
      modules/juce_audio_processors/processors/juce_PluginDescription.h
  3. +2
    -2
      modules/juce_core/containers/juce_NamedValueSet.h
  4. +1
    -1
      modules/juce_core/juce_core.h
  5. +1
    -1
      modules/juce_core/streams/juce_OutputStream.h
  6. +2
    -2
      modules/juce_gui_basics/components/juce_Component.h

+ 1
- 1
modules/juce_audio_basics/sources/juce_AudioSource.h View File

@@ -65,7 +65,7 @@ struct JUCE_API AudioSourceChannelInfo
Only the samples specified by the startSample and numSamples members of this structure
should be affected by the call.
The contents of the buffer when it is passed to the the AudioSource::getNextAudioBlock()
The contents of the buffer when it is passed to the AudioSource::getNextAudioBlock()
method can be treated as the input if the source is performing some kind of filter operation,
but should be cleared if this is not the case - the clearActiveBufferRegion() is
a handy way of doing this.


+ 1
- 1
modules/juce_audio_processors/processors/juce_PluginDescription.h View File

@@ -102,7 +102,7 @@ public:
/** True if the plug-in is part of a multi-type container, e.g. a VST Shell. */
bool hasSharedContainer;
/** Returns true if the two descriptions refer the the same plug-in.
/** Returns true if the two descriptions refer to the same plug-in.
This isn't quite as simple as them just having the same file (because of
shell plug-ins).


+ 2
- 2
modules/juce_core/containers/juce_NamedValueSet.h View File

@@ -76,14 +76,14 @@ public:
/** Changes or adds a named value.
@returns true if a value was changed or added; false if the
value was already set the the value passed-in.
value was already set the value passed-in.
*/
bool set (Identifier name, const var& newValue);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
/** Changes or adds a named value.
@returns true if a value was changed or added; false if the
value was already set the the value passed-in.
value was already set the value passed-in.
*/
bool set (Identifier name, var&& newValue);
#endif


+ 1
- 1
modules/juce_core/juce_core.h View File

@@ -64,7 +64,7 @@
//=============================================================================
/** Config: JUCE_LOG_ASSERTIONS
If this flag is enabled, the the jassert and jassertfalse macros will always use Logger::writeToLog()
If this flag is enabled, the jassert and jassertfalse macros will always use Logger::writeToLog()
to write a message when an assertion happens.
Enabling it will also leave this turned on in release builds. When it's disabled,


+ 1
- 1
modules/juce_core/streams/juce_OutputStream.h View File

@@ -226,7 +226,7 @@ public:
//==============================================================================
/** Sets the string that will be written to the stream when the writeNewLine()
method is called.
By default this will be set the the value of NewLine::getDefault().
By default this will be set the value of NewLine::getDefault().
*/
void setNewLineString (const String& newLineString);


+ 2
- 2
modules/juce_gui_basics/components/juce_Component.h View File

@@ -326,12 +326,12 @@ public:
void getVisibleArea (RectangleList<int>& result, bool includeSiblings) const;
//==============================================================================
/** Returns this component's x coordinate relative the the screen's top-left origin.
/** Returns this component's x coordinate relative the screen's top-left origin.
@see getX, localPointToGlobal
*/
int getScreenX() const;
/** Returns this component's y coordinate relative the the screen's top-left origin.
/** Returns this component's y coordinate relative the screen's top-left origin.
@see getY, localPointToGlobal
*/
int getScreenY() const;


Loading…
Cancel
Save