Fix build
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
3f0b370c0e
commit
73e75ce012
2 changed files with 7 additions and 5 deletions
|
@ -29,6 +29,8 @@
|
|||
|
||||
#include "choc/choc_SmallVector.h"
|
||||
|
||||
#include <jansson.h>
|
||||
|
||||
namespace rack {
|
||||
/** Abstraction for all MIDI drivers in Rack */
|
||||
namespace midi {
|
||||
|
|
|
@ -293,11 +293,11 @@ bool InputQueue::tryPop(Message* const messageOut, int64_t maxFrame)
|
|||
|
||||
if (processCounterChanged)
|
||||
{
|
||||
internal->lastBlockFrame = pcontext->engine->getBlockFrame();
|
||||
internal->lastBlockFrame = internal->pcontext->engine->getBlockFrame();
|
||||
internal->lastProcessCounter = processCounter;
|
||||
|
||||
internal->midiEvents = pcontext->midiEvents;
|
||||
internal->midiEventsLeft = pcontext->midiEventCount;
|
||||
internal->midiEvents = internal->pcontext->midiEvents;
|
||||
internal->midiEventsLeft = internal->pcontext->midiEventCount;
|
||||
}
|
||||
|
||||
if (internal->midiEventsLeft == 0 || maxFrame < internal->lastBlockFrame)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue