projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14bf40c
)
Defer session_loaded until AFTER lo_server_new.
author
Ben Loftis
<ben@harrisonconsoles.com>
Mon, 15 Feb 2016 22:55:21 +0000
(16:55 -0600)
committer
Ben Loftis
<ben@harrisonconsoles.com>
Mon, 15 Feb 2016 22:55:21 +0000
(16:55 -0600)
This seems like the right thing to do, and -might- fix OSC on Windows.
libs/surfaces/osc/osc.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/osc/osc.cc
b/libs/surfaces/osc/osc.cc
index 7308941ac7c23957deb54f1c36de3885050ae0d8..0565e24f609bab1f0be43f75f9a0ea86e2940e1d 100644
(file)
--- a/
libs/surfaces/osc/osc.cc
+++ b/
libs/surfaces/osc/osc.cc
@@
-88,7
+88,6
@@
OSC::OSC (Session& s, uint32_t port)
{
_instance = this;
- session_loaded (s);
session->Exported.connect (*this, MISSING_INVALIDATOR, boost::bind (&OSC::session_exported, this, _1, _2), this);
}
@@
-227,6
+226,8
@@
OSC::start ()
register_callbacks();
+ session_loaded (@session);
+
// lo_server_thread_add_method(_sthread, NULL, NULL, OSC::_dummy_handler, this);
/* startup the event loop thread */