A subclass of AudioPlayHead can supply information about the position and status of a moving play head during audio playback.
More...
A subclass of AudioPlayHead can supply information about the position and status of a moving play head during audio playback.
One of these can be supplied to an AudioProcessor object so that it can find out about the position of the audio that it is rendering.
- See also
- AudioProcessor::setPlayHead, AudioProcessor::getPlayHead
◆ FrameRateType
Frame rate types.
Enumerator |
---|
fps23976 | |
fps24 | |
fps25 | |
fps2997 | |
fps30 | |
fps2997drop | |
fps30drop | |
fps60 | |
fps60drop | |
fpsUnknown | |
◆ AudioPlayHead()
AudioPlayHead::AudioPlayHead |
( |
| ) |
|
|
protecteddefault |
◆ ~AudioPlayHead()
virtual AudioPlayHead::~AudioPlayHead |
( |
| ) |
|
|
virtualdefault |
◆ getCurrentPosition()
Fills-in the given structure with details about the transport's position at the start of the current processing block.
If this method returns false then the current play head position is not available and the given structure will be undefined.
You can ONLY call this from your processBlock() method! Calling it at other times will produce undefined behaviour, as the host may not have any context in which a time would make sense, and some hosts will almost certainly have multithreading issues if it's not called on the audio thread.
◆ canControlTransport()
virtual bool AudioPlayHead::canControlTransport |
( |
| ) |
|
|
virtual |
Returns true if this object can control the transport.
◆ transportPlay()
virtual void AudioPlayHead::transportPlay |
( |
bool |
shouldStartPlaying | ) |
|
|
virtual |
◆ transportRecord()
virtual void AudioPlayHead::transportRecord |
( |
bool |
shouldStartRecording | ) |
|
|
virtual |
◆ transportRewind()
virtual void AudioPlayHead::transportRewind |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: