mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2026-06-28 09:31:38 +00:00
added osc ports to the settings interface, bumped the version num
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user