From 1d24b558d81fe360839516c8b6c500f340d5825a Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 4 Nov 2015 10:57:26 +0000 Subject: [PATCH] Corrected a few documentation mistakes --- modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h | 4 ++-- .../format_types/juce_VSTPluginFormat.cpp | 4 ++-- modules/juce_osc/osc/juce_OSCAddress.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) mode change 100755 => 100644 modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp diff --git a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h index 1e59dbf97e..5c97e1c461 100644 --- a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h +++ b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h @@ -434,9 +434,9 @@ public: a finished audioSource will not restart the sound again. If this is desired simply call playSound with the same audioSource again. + @param audioSource the audio source to play @param deleteWhenFinished If this is true then the audio source will - be deleted once the device manager has - finished playing. + be deleted once the device manager has finished playing. */ void playSound (PositionableAudioSource* audioSource, bool deleteWhenFinished = false); diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp old mode 100755 new mode 100644 index bb97bffed1..c5b2e5078a --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -945,8 +945,8 @@ public: // if you get an assertion here then your plug-in claims it supports double precision // but returns an error when we try to change the precision VstIntPtr err = dispatch (effSetProcessPrecision, 0, (VstIntPtr) vstPrecision, 0, 0); - jassert (err > 0); - ignoreUnused (err); + jassert (err > 0); + ignoreUnused (err); } tempBuffer.setSize (jmax (1, effect->numOutputs), samplesPerBlockExpected); diff --git a/modules/juce_osc/osc/juce_OSCAddress.h b/modules/juce_osc/osc/juce_OSCAddress.h index 98616d1e86..96afe02cbe 100644 --- a/modules/juce_osc/osc/juce_OSCAddress.h +++ b/modules/juce_osc/osc/juce_OSCAddress.h @@ -40,7 +40,7 @@ OSCReceiver if you wish them to only listen to certain messages with matching OSC address patterns. - @seeOSCMessageListener, OSCAddressPattern, OSCMessage + @see OSCMessageListener, OSCAddressPattern, OSCMessage */ class JUCE_API OSCAddress {