@@ -549,8 +549,6 @@ int GenericProcessor::getNextChannel (bool increment)
549
549
{
550
550
int chan = nextAvailableChannel;
551
551
552
- // LOGDD("Next channel: ", chan, ", num inputs: ", getNumInputs());
553
-
554
552
if (increment)
555
553
nextAvailableChannel++;
556
554
@@ -1779,31 +1777,6 @@ void GenericProcessor::saveToXml (XmlElement* xml)
1779
1777
for (auto param : stream->getParameters ())
1780
1778
param->toXml (streamParamsXml);
1781
1779
1782
- /* for (auto eventChannel : stream->getEventChannels())
1783
- {
1784
- if (eventChannel->numParameters() > 0)
1785
- {
1786
- XmlElement* eventParamsXml = streamXml->createNewChildElement("EVENT_CHANNEL");
1787
- eventParamsXml->setAttribute("name",eventChannel->getName());
1788
- eventParamsXml->setAttribute("description", eventChannel->getDescription());
1789
-
1790
- for (auto param : eventChannel->getParameters())
1791
- param->toXml(eventParamsXml);
1792
- }
1793
- }
1794
-
1795
- for (auto continuousChannel : stream->getContinuousChannels())
1796
- {
1797
- if (continuousChannel->numParameters() > 0)
1798
- {
1799
- XmlElement* continuousParamsXml = streamXml->createNewChildElement("CONTINUOUS_CHANNEL");
1800
- continuousParamsXml->setAttribute("name",continuousChannel->getName());
1801
- continuousParamsXml->setAttribute("description", continuousChannel->getDescription());
1802
-
1803
- for (auto param : continuousChannel->getParameters())
1804
- param->toXml(continuousParamsXml);
1805
- }
1806
- }*/
1807
1780
}
1808
1781
1809
1782
saveCustomParametersToXml (xml->createNewChildElement (" CUSTOM_PARAMETERS" ));
0 commit comments