mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
OSC: port concurrentqueue to Qt. Fix duplicate OSC messages
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user