|
Gin
|
A concrete implementation of AudioPlayHead for standalone plugin use. More...
#include <gin_standaloneaudioprocessorplayer.h>
Inherits juce::AudioPlayHead.
Public Member Functions | |
| StandalonePlayhead ()=default | |
| juce::Optional< PositionInfo > | getPosition () const |
| Returns the current position info. | |
| void | setPositionInfo (const PositionInfo &info) |
| Sets the position info to be returned by getPosition(). | |
A concrete implementation of AudioPlayHead for standalone plugin use.
Allows external code to set the position info which is then returned when the processor queries the playhead.
|
default |
| juce::Optional< PositionInfo > StandalonePlayhead::getPosition | ( | ) | const |
Returns the current position info.
Called by the AudioProcessor during processBlock.
| void StandalonePlayhead::setPositionInfo | ( | const PositionInfo & | info | ) |
Sets the position info to be returned by getPosition().
Call this before the processor's processBlock to provide timing info.
Referenced by StandaloneAudioProcessorPlayer::preProcessBlock().