|
LMMS
|
#include <juce_AudioProcessorGraph.h>
Classes | |
| struct | Connection |
Public Types | |
| using | Ptr = ReferenceCountedObjectPtr<Node> |
Public Member Functions | |
| AudioProcessor * | getProcessor () const noexcept |
| bool | isBypassed () const noexcept |
| void | setBypassed (bool shouldBeBypassed) noexcept |
| Public Member Functions inherited from juce::ReferenceCountedObject | |
| void | incReferenceCount () noexcept |
| void | decReferenceCount () noexcept |
| bool | decReferenceCountWithoutDeleting () noexcept |
| int | getReferenceCount () const noexcept |
Public Attributes | |
| const NodeID | nodeID |
| NamedValueSet | properties |
Private Member Functions | |
| Node (NodeID, std::unique_ptr< AudioProcessor >) noexcept | |
| void | setParentGraph (AudioProcessorGraph *) const |
| void | prepare (double newSampleRate, int newBlockSize, AudioProcessorGraph *, ProcessingPrecision) |
| void | unprepare () |
| template<typename Sample> | |
| void | callProcessFunction (AudioBuffer< Sample > &audio, MidiBuffer &midi, void(AudioProcessor::*function)(AudioBuffer< Sample > &, MidiBuffer &)) |
| template<typename Sample> | |
| void | processBlock (AudioBuffer< Sample > &audio, MidiBuffer &midi) |
| template<typename Sample> | |
| void | processBlockBypassed (AudioBuffer< Sample > &audio, MidiBuffer &midi) |
Private Attributes | |
| std::unique_ptr< AudioProcessor > | processor |
| Array< Connection > | inputs |
| Array< Connection > | outputs |
| bool | isPrepared = false |
| std::atomic< bool > | bypassed { false } |
| CriticalSection | processorLock |
Friends | |
| class | AudioProcessorGraph |
| template<typename Float> | |
| struct | GraphRenderSequence |
| template<typename Float> | |
| struct | RenderSequenceBuilder |
Additional Inherited Members | |
| Protected Member Functions inherited from juce::ReferenceCountedObject | |
| ReferenceCountedObject ()=default | |
| ReferenceCountedObject (const ReferenceCountedObject &) noexcept | |
| ReferenceCountedObject (ReferenceCountedObject &&) noexcept | |
| ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
| ReferenceCountedObject & | operator= (ReferenceCountedObject &&) noexcept |
| virtual | ~ReferenceCountedObject () |
| void | resetReferenceCount () noexcept |
Represents one of the nodes, or processors, in an AudioProcessorGraph.
To create a node, call AudioProcessorGraph::addNode().
| using juce::AudioProcessorGraph::Node::Ptr = ReferenceCountedObjectPtr<Node> |
A convenient typedef for referring to a pointer to a node object.
|
privatenoexcept |
|
inlineprivate |
|
inlinenoexcept |
The actual processor object that this node represents.
|
noexcept |
Returns if the node is bypassed or not.
|
private |
|
inlineprivate |
|
inlineprivate |
|
noexcept |
Tell this node to bypass processing.
|
private |
|
private |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
The ID number assigned to this node. This is assigned by the graph that owns it, and can't be changed.
|
private |
|
private |
|
private |
| NamedValueSet juce::AudioProcessorGraph::Node::properties |
A set of user-definable properties that are associated with this node.
This can be used to attach values to the node for whatever purpose seems useful. For example, you might store an x and y position if your application is displaying the nodes on-screen.