OSC: port concurrentqueue to Qt. Fix duplicate OSC messages

This commit is contained in:
Alexandre Quessy
2014-01-05 17:43:33 -05:00
parent 217081b779
commit 123ea0e49d
3 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ OscInterface::OscInterface(
receiving_enabled_ = true;
if (receiving_enabled_)
{
std::cout << "Listening osc_udp://localhost:" << listen_port << std::endl;
std::cout << "Listening osc.udp://localhost:" << listen_port << std::endl;
// receiver_.addHandler("/ping", "", ping_cb, this);
// receiver_.addHandler("/pong", "", pong_cb, this);
// receiver_.addHandler("/image/path", "s", image_path_cb, this);
@@ -170,7 +170,7 @@ int OscInterface::genericHandler(const char *path,
default:
break;
}
context->push_command(message);
}
context->push_command(message);
return 0; // handled
}