From 731dfdac3aab4eb0c4bb94d82680840c824e218e Mon Sep 17 00:00:00 2001 From: Noah Dayan Date: Mon, 4 Dec 2017 10:17:52 +0000 Subject: [PATCH] Add clarification in documentation of juce_AudioAppComponent.h --- modules/juce_audio_utils/gui/juce_AudioAppComponent.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/juce_audio_utils/gui/juce_AudioAppComponent.h b/modules/juce_audio_utils/gui/juce_AudioAppComponent.h index d4bec5d046..99d8d6fda4 100644 --- a/modules/juce_audio_utils/gui/juce_AudioAppComponent.h +++ b/modules/juce_audio_utils/gui/juce_AudioAppComponent.h @@ -30,10 +30,18 @@ namespace juce //============================================================================== /** A base class for writing audio apps that stream from the audio i/o devices. + Conveniently combines a Component with an AudioSource to provide a starting + point for your audio applications. A subclass can inherit from this and implement just a few methods such as getNextAudioBlock(). The base class provides a basic AudioDeviceManager object and runs audio through the default output device. + + An application should only create one global instance of this object and multiple + classes should not inherit from this. + + This class should not be inherited when creating a plug-in as the host will + handle audio streams from hardware devices. */ class JUCE_API AudioAppComponent : public Component, public AudioSource