Skip to content

Commit 57be957

Browse files
committed
Clean up LOGD messages
1 parent db7c685 commit 57be957

7 files changed

Lines changed: 5 additions & 31 deletions

File tree

Source/Processors/AudioMonitor/AudioMonitorEditor.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,18 +103,18 @@ void AudioOutputSelector::buttonClicked (Button* buttonThatWasClicked)
103103
if (buttonName.startsWith ("left"))
104104
{
105105
param->setNextValue (0);
106-
LOGD ("Left channel only");
106+
LOGD ("Set audio output to left channel only");
107107
}
108108
else if (buttonName.startsWith ("both"))
109109
{
110110
param->setNextValue (1);
111-
LOGD ("Both channels");
111+
LOGD ("Set audio output to both channels");
112112
}
113113

114114
else if (buttonName.startsWith ("right"))
115115
{
116116
param->setNextValue (2);
117-
LOGD ("Right channel only");
117+
LOGD ("Set audio output to right channel only");
118118
}
119119
}
120120

Source/Processors/Editors/GenericEditor.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ void GenericEditor::addCustomParameterEditor (ParameterEditor* ed, int xPos_, in
287287

288288
void GenericEditor::refreshColours()
289289
{
290-
// LOGD(getNameAndId(), " refreshing colours.");
291290

292291
if (getProcessor()->isSource())
293292
backgroundColour = getLookAndFeel().findColour (ProcessorColour::IDs::SOURCE_COLOUR);
@@ -1164,7 +1163,7 @@ void GenericEditor::updateSelectedStream (uint16 streamId)
11641163
{
11651164
if (streamAvailable)
11661165
{
1167-
//LOGD("Stream scope");
1166+
11681167
auto stream = getProcessor()->getDataStream (streamId);
11691168

11701169
if (stream->hasParameter (parameterName))
@@ -1179,7 +1178,6 @@ void GenericEditor::updateSelectedStream (uint16 streamId)
11791178
}
11801179
else
11811180
{
1182-
//LOGD("Stream not available");
11831181
ed->setParameter (nullptr);
11841182
}
11851183
}

Source/Processors/Editors/StreamSelector.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@ StreamSelectorTable::StreamSelectorTable (GenericEditor* ed_) : editor (ed_),
266266
{
267267
isRecordNode = editor->getProcessor()->isRecordNode();
268268

269-
LOGD ("Creating stream selector table for editor: ", editor->getProcessor()->getName());
270-
LOGD ("Is record node: ", isRecordNode);
271-
272269
tableModel = std::make_unique<StreamTableModel> (this);
273270
streamTable.reset (createTableView());
274271
tableModel->table = streamTable.get();

Source/Processors/GenericProcessor/GenericProcessor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,6 @@ void GenericProcessor::update()
10961096
if (index > -1)
10971097
{
10981098
LOGD ("GenericProcessor::update() Copying savedDataStreamParameters for ", stream->getStreamId());
1099-
LOGD ("COPYING STREAM PARAMETERS TO");
11001099
savedDataStreamParameters[index]->copyParametersTo (stream);
11011100
savedDataStreamParameters.remove (index);
11021101
}

Source/Processors/ProcessorGraph/ProcessorGraph.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,6 @@ void ProcessorGraph::updateViews (GenericProcessor* processor, bool updateGraphV
786786

787787
if (processor != nullptr)
788788
{
789-
LOGD (" Going upstream!! Processor: ", processor->getName());
790789
if (processor->isSplitter() && ! isConsoleApp)
791790
{
792791
SplitterEditor* sp = (SplitterEditor*) processor->getEditor();

Source/Processors/RecordNode/RecordNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ String RecordNode::handleConfigMessage (const String& msg)
233233
StringArray tokens;
234234
tokens.addTokens (msg, "=", "\"");
235235

236-
LOGD (tokens[0]);
236+
LOGD ("Record Node received: ", tokens[0]);
237237

238238
if (tokens[0] == "engine")
239239
{

Source/UI/DataViewport.cpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -111,22 +111,17 @@ void CustomTabButton::itemDragEnter (const SourceDetails& dragSourceDetails)
111111

112112
repaint();
113113

114-
LOGD ("Entering ", getName());
115114
}
116115

117116
void CustomTabButton::itemDragExit (const SourceDetails& dragSourceDetails)
118117
{
119118
isDraggingOver = false;
120119

121120
repaint();
122-
123-
LOGD ("Exiting ", getName());
124121
}
125122

126123
void CustomTabButton::itemDropped (const SourceDetails& dragSourceDetails)
127124
{
128-
LOGD ("DROPPED ON ", getName());
129-
130125
isDraggingOver = false;
131126

132127
repaint();
@@ -136,8 +131,6 @@ void CustomTabButton::itemDropped (const SourceDetails& dragSourceDetails)
136131
int incomingNodeId = descr->getUnchecked (1);
137132
String name = descr->getUnchecked (2);
138133

139-
LOGD ("ITEM DROPPED ON TAB");
140-
141134
parent->moveTabByNodeId (name, incomingNodeId, nodeId);
142135
}
143136

@@ -198,16 +191,12 @@ void DraggableTabComponent::itemDragEnter (const SourceDetails& dragSourceDetail
198191
{
199192
isDraggingOver = true;
200193
repaint();
201-
202-
LOGD ("Entering PARENT");
203194
}
204195

205196
void DraggableTabComponent::itemDragExit (const SourceDetails& dragSourceDetails)
206197
{
207198
isDraggingOver = false;
208199
repaint();
209-
210-
LOGD ("Exiting PARENT");
211200
}
212201

213202
void DraggableTabComponent::itemDropped (const juce::DragAndDropTarget::SourceDetails& dragSourceDetails)
@@ -225,8 +214,6 @@ void DraggableTabComponent::itemDropped (const juce::DragAndDropTarget::SourceDe
225214
&& dragSourceDetails.localPosition.y < getTabbedButtonBar().getTabButton (getNumTabs() - 1)->getBounds().getBottom())
226215
return;
227216

228-
LOGD ("ITEM DROPPED ON PARENT");
229-
230217
Component* contentComponent = dataViewport->getContentComponentForNodeId (incomingNodeId);
231218
dataViewport->removeTab (incomingNodeId, false);
232219
addNewTab (name, contentComponent, incomingNodeId);
@@ -247,12 +234,8 @@ void DraggableTabComponent::addNewTab (String name, Component* component, int no
247234

248235
bool DraggableTabComponent::removeTabForNodeId (int nodeId, bool sendNotification)
249236
{
250-
LOGD ("REMOVING TAB");
251-
252237
int index = tabNodeIds.indexOf (nodeId);
253238

254-
LOGD ("INDEX: ", index);
255-
256239
if (index > -1)
257240
{
258241
removeTab (index);
@@ -647,8 +630,6 @@ void DataViewport::removeTab (int nodeId, bool sendNotification)
647630
{
648631
bool foundTab = draggableTabComponent->removeTabForNodeId (nodeId, sendNotification);
649632

650-
LOGD (foundTab, " ", draggableTabComponent->getNumTabs(), " ", draggableTabComponents.size());
651-
652633
if (foundTab)
653634
{
654635
// remove the tabbed component if it's empty

0 commit comments

Comments
 (0)