|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Determines how this block releates to other previous render blocks and if the play head has jumped in time. More...
#include "tracktion_PlayHeadState.h"
Public Member Functions | |
| PlayHeadState (PlayHead &ph) | |
| void | update (juce::Range< int64_t > referenceSampleRange) |
| Call once per block to update the jumped state. | |
| bool | isContiguousWithPreviousBlock () noexcept |
| Returns true if the play head did not jump and this block is contiguous with the previous block. | |
| bool | didPlayheadJump () noexcept |
| Returns true if the play head jumped. | |
| bool | isFirstBlockOfLoop () noexcept |
| Returns true if this is the first block of a loop. | |
| bool | isLastBlockOfLoop () noexcept |
| Returns true if this is the last block of a loop. | |
Public Attributes | |
| PlayHead & | playHead |
| bool | isPlayHeadRunning |
| bool | playheadJumped |
| bool | lastBlockOfLoop |
| bool | firstBlockOfLoop |
Determines how this block releates to other previous render blocks and if the play head has jumped in time.
Definition at line 23 of file tracktion_PlayHeadState.h.
| tracktion::graph::PlayHeadState::PlayHeadState | ( | PlayHead & | ph | ) |
Definition at line 26 of file tracktion_PlayHeadState.h.
|
noexcept |
Returns true if the play head jumped.
Definition at line 40 of file tracktion_PlayHeadState.h.
|
noexcept |
Returns true if the play head did not jump and this block is contiguous with the previous block.
Definition at line 37 of file tracktion_PlayHeadState.h.
|
noexcept |
Returns true if this is the first block of a loop.
Definition at line 43 of file tracktion_PlayHeadState.h.
|
noexcept |
Returns true if this is the last block of a loop.
Definition at line 46 of file tracktion_PlayHeadState.h.
| void tracktion::graph::PlayHeadState::update | ( | juce::Range< int64_t > | referenceSampleRange | ) |
Call once per block to update the jumped state.
Usually called at the same time as the PlayHead::incrementReferenceSampleCount method.
Definition at line 59 of file tracktion_PlayHeadState.h.
| bool tracktion::graph::PlayHeadState::firstBlockOfLoop |
Definition at line 51 of file tracktion_PlayHeadState.h.
| bool tracktion::graph::PlayHeadState::isPlayHeadRunning |
Definition at line 51 of file tracktion_PlayHeadState.h.
| bool tracktion::graph::PlayHeadState::lastBlockOfLoop |
Definition at line 51 of file tracktion_PlayHeadState.h.
| PlayHead& tracktion::graph::PlayHeadState::playHead |
Definition at line 48 of file tracktion_PlayHeadState.h.
| bool tracktion::graph::PlayHeadState::playheadJumped |
Definition at line 51 of file tracktion_PlayHeadState.h.