Skip to content

Commit 9ac0106

Browse files
committed
Revert "Change condition from source subproc id = 0 to sample rate = 0 (simpler)"
This reverts commit bdd664f.
1 parent 938ed43 commit 9ac0106

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Plugins/LfpDisplayNode/LfpDisplayNode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ void LfpDisplayNode::handleEvent(const EventChannel* eventInfo, const MidiMessag
271271
const int eventTime = samplePosition;
272272
uint32 eventSourceNodeId = getEventSourceId(eventInfo);
273273

274-
// treat event channels with sample rate of 0 as occurring on the subprocessor being drawn.
275-
if (eventInfo->getSampleRate() == 0)
274+
// treat events with no source as occurring on the subprocessor being drawn.
275+
if (eventSourceNodeId == 0)
276276
{
277277
eventSourceNodeId = subprocessorToDraw;
278278
}

0 commit comments

Comments
 (0)