Mercurial > hg > svcore
diff data/osc/OSCQueue.cpp @ 742:c10cb8782576 coreaudio_tests
Merge from branch "default"
author | Chris Cannam |
---|---|
date | Sun, 01 Jul 2012 11:53:00 +0100 |
parents | 1424aa29ae95 |
children | e802e550a1f2 |
line wrap: on
line diff
--- a/data/osc/OSCQueue.cpp Mon Nov 29 12:45:39 2010 +0000 +++ b/data/osc/OSCQueue.cpp Sun Jul 01 11:53:00 2012 +0100 @@ -167,7 +167,7 @@ return; } std::cerr << "WARNING: OSCQueue::postMessage: OSC message queue (capacity " << m_buffer.getSize() << " is full!" << std::endl; - std::cerr << "Waiting for something to be processed" << std::endl; + SVDEBUG << "Waiting for something to be processed" << endl; #ifdef _WIN32 Sleep(1); #else @@ -178,9 +178,9 @@ OSCMessage *mp = new OSCMessage(message); m_buffer.write(&mp, 1); - std::cerr << "OSCQueue::postMessage: Posted OSC message: target " + SVDEBUG << "OSCQueue::postMessage: Posted OSC message: target " << message.getTarget() << ", target data " << message.getTargetData() - << ", method " << message.getMethod().toStdString() << std::endl; + << ", method " << message.getMethod() << endl; emit messagesAvailable(); } @@ -213,14 +213,13 @@ if (method.contains('/')) { std::cerr << "ERROR: OSCQueue::parseOSCPath: malformed path \"" - << path.toStdString() << "\" (should be target/data/method or " + << path << "\" (should be target/data/method or " << "target/method or method, where target and data " << "are numeric)" << std::endl; return false; } - std::cerr << "OSCQueue::parseOSCPath: good path \"" << path.toStdString() - << "\"" << std::endl; + SVDEBUG << "OSCQueue::parseOSCPath: good path \"" << path << "\"" << endl; return true; }