added osc ports to the settings interface, bumped the version num

This commit is contained in:
Dave Griffiths
2022-10-14 19:23:07 +01:00
parent 5e347f7f13
commit b5fd6dd3e0
8 changed files with 224 additions and 29 deletions

View File

@@ -34,11 +34,12 @@ OSC_server::OSC_server(const string &port) :
m_port(port),
m_exit(false),
m_command_ring_buffer(262144) {
//cerr<<"using port: ["<<port<<"]"<<endl;
cerr<<"OSC using port: ["<<port<<"]"<<endl;
m_server = lo_server_thread_new(port.c_str(), error_handler);
if (m_server) {
cerr<<m_server<<endl;
if (m_server) {
lo_server_thread_add_method(m_server, NULL, NULL, default_handler, this);
} else {
cerr<<"error opening OSC port"<<endl;
}
}