Add time reset signal when transport relocates
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
3898ea976e
commit
9eb1583671
4 changed files with 37 additions and 13 deletions
|
|
@ -40,7 +40,7 @@ struct CardinalPluginContext : rack::Context {
|
|||
uint32_t bufferSize;
|
||||
double sampleRate;
|
||||
float parameters[kModuleParameters];
|
||||
bool playing;
|
||||
bool playing, reset;
|
||||
int32_t bar, beat, beatsPerBar;
|
||||
double tick, tickClock, ticksPerBeat, ticksPerClock, ticksPerFrame;
|
||||
Plugin* const plugin;
|
||||
|
|
@ -49,6 +49,7 @@ struct CardinalPluginContext : rack::Context {
|
|||
: bufferSize(p->getBufferSize()),
|
||||
sampleRate(p->getSampleRate()),
|
||||
playing(false),
|
||||
reset(false),
|
||||
bar(0),
|
||||
beat(0),
|
||||
beatsPerBar(0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue