Skip to content

Commit 3431dc8

Browse files
committed
Show node IDs for stream monitors
1 parent f0570e5 commit 3431dc8

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Source/Processors/RecordNode/RecordNodeEditor.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ FifoMonitor::FifoMonitor(RecordNode* node, uint16 streamId_, String streamName_)
485485
recordingTimeLeftInSeconds(0)
486486
{
487487
startTimer(500);
488-
setTooltip(streamName);
489488
}
490489

491490
/* RECORD CHANNEL SELECTOR LISTENER */
@@ -548,8 +547,6 @@ void FifoMonitor::channelStateChanged(Array<int> selectedChannels)
548547
void FifoMonitor::timerCallback()
549548
{
550549

551-
//std::cout << "Timer callback for stream " << streamId << std::endl;
552-
553550
if (streamId == 0) /* Disk space monitor */
554551
{
555552
float bytesFree = (float) recordNode->getDataDirectory().getBytesFreeOnVolume();
@@ -596,11 +593,10 @@ void FifoMonitor::timerCallback()
596593
}
597594
}
598595
}
599-
else /* Subprocessor monitor */
596+
else /* Stream monitor */
600597
{
598+
setTooltip(String(recordNode->getDataStream(streamId)->getSourceNodeId())+": "+streamName);
601599
setFillPercentage(recordNode->fifoUsage[streamId]);
602-
603-
//std::cout << "Setting fill percentage for " << streamId << " to " << recordNode->fifoUsage[streamId] << std::endl;
604600
}
605601

606602
}

0 commit comments

Comments
 (0)