From 0d7a77d8eeb8bc5db471cba61851f01acdff4255 Mon Sep 17 00:00:00 2001 From: tpoole Date: Tue, 10 Jan 2017 13:03:13 +0000 Subject: [PATCH] Improved AudioProcessorValueTreeState documentation --- .../utilities/juce_AudioProcessorValueTreeState.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h b/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h index 33fb8f950e..b824684967 100644 --- a/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h +++ b/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h @@ -33,14 +33,15 @@ It has its own internal class of parameter object which are linked to values within its ValueTree, and which are each identified by a string ID. - To use: Create a AudioProcessorValueTreeState, and give it some parameters - using createParameter(). - You can get access to the underlying ValueTree object via the state member variable, so you can add extra properties to it as necessary. It also provides some utility child classes for connecting parameters directly to GUI controls like sliders. + + To use: + 1) Create an AudioProcessorValueTreeState, and give it some parameters using createParameter(). + 2) Initialise the state member variable with a type name. */ class JUCE_API AudioProcessorValueTreeState : private Timer, private ValueTree::Listener