Browse Source

Add clarification in documentation of juce_AudioAppComponent.h

tags/2021-05-28
Noah Dayan 8 years ago
parent
commit
731dfdac3a
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      modules/juce_audio_utils/gui/juce_AudioAppComponent.h

+ 8
- 0
modules/juce_audio_utils/gui/juce_AudioAppComponent.h View File

@@ -30,10 +30,18 @@ namespace juce
//============================================================================== //==============================================================================
/** /**
A base class for writing audio apps that stream from the audio i/o devices. 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 A subclass can inherit from this and implement just a few methods such as
getNextAudioBlock(). The base class provides a basic AudioDeviceManager object getNextAudioBlock(). The base class provides a basic AudioDeviceManager object
and runs audio through the default output device. 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, class JUCE_API AudioAppComponent : public Component,
public AudioSource public AudioSource


Loading…
Cancel
Save