comparison plugin/LADSPAPluginInstance.cpp @ 843:e802e550a1f2

Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author Chris Cannam
date Tue, 26 Nov 2013 13:35:08 +0000
parents 7eb389da7976
children 7aa9088e9bcd
comparison
equal deleted inserted replaced
842:23d3a6eca5c3 843:e802e550a1f2
262 m_controlPortsOut.push_back( 262 m_controlPortsOut.push_back(
263 std::pair<unsigned long, LADSPA_Data*>(i, data)); 263 std::pair<unsigned long, LADSPA_Data*>(i, data));
264 if (!strcmp(m_descriptor->PortNames[i], "latency") || 264 if (!strcmp(m_descriptor->PortNames[i], "latency") ||
265 !strcmp(m_descriptor->PortNames[i], "_latency")) { 265 !strcmp(m_descriptor->PortNames[i], "_latency")) {
266 #ifdef DEBUG_LADSPA 266 #ifdef DEBUG_LADSPA
267 std::cerr << "Wooo! We have a latency port!" << std::endl; 267 cerr << "Wooo! We have a latency port!" << endl;
268 #endif 268 #endif
269 m_latencyPort = data; 269 m_latencyPort = data;
270 } 270 }
271 271
272 } 272 }
380 LADSPAPluginInstance::instantiate(unsigned long sampleRate) 380 LADSPAPluginInstance::instantiate(unsigned long sampleRate)
381 { 381 {
382 if (!m_descriptor) return; 382 if (!m_descriptor) return;
383 383
384 #ifdef DEBUG_LADSPA 384 #ifdef DEBUG_LADSPA
385 std::cout << "LADSPAPluginInstance::instantiate - plugin unique id = " 385 cout << "LADSPAPluginInstance::instantiate - plugin unique id = "
386 << m_descriptor->UniqueID << std::endl; 386 << m_descriptor->UniqueID << endl;
387 #endif 387 #endif
388 388
389 if (!m_descriptor->instantiate) { 389 if (!m_descriptor->instantiate) {
390 std::cerr << "Bad plugin: plugin id " << m_descriptor->UniqueID 390 cerr << "Bad plugin: plugin id " << m_descriptor->UniqueID
391 << ":" << m_descriptor->Label 391 << ":" << m_descriptor->Label
392 << " has no instantiate method!" << std::endl; 392 << " has no instantiate method!" << endl;
393 return; 393 return;
394 } 394 }
395 395
396 for (size_t i = 0; i < m_instanceCount; ++i) { 396 for (size_t i = 0; i < m_instanceCount; ++i) {
397 m_instanceHandles.push_back 397 m_instanceHandles.push_back
560 LADSPAPluginInstance::cleanup() 560 LADSPAPluginInstance::cleanup()
561 { 561 {
562 if (!m_descriptor) return; 562 if (!m_descriptor) return;
563 563
564 if (!m_descriptor->cleanup) { 564 if (!m_descriptor->cleanup) {
565 std::cerr << "Bad plugin: plugin id " << m_descriptor->UniqueID 565 cerr << "Bad plugin: plugin id " << m_descriptor->UniqueID
566 << ":" << m_descriptor->Label 566 << ":" << m_descriptor->Label
567 << " has no cleanup method!" << std::endl; 567 << " has no cleanup method!" << endl;
568 return; 568 return;
569 } 569 }
570 570
571 for (std::vector<LADSPA_Handle>::iterator hi = m_instanceHandles.begin(); 571 for (std::vector<LADSPA_Handle>::iterator hi = m_instanceHandles.begin();
572 hi != m_instanceHandles.end(); ++hi) { 572 hi != m_instanceHandles.end(); ++hi) {