13
0

catch up on last minute OSC changes

git-svn-id: svn://localhost/trunk/ardour2@508 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-05-18 02:47:35 +00:00
parent 9a8df38ce6
commit cb9686acdb
2 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,8 @@ ControlOSC::set_active (bool yn)
}
#endif
cerr << "OSC @ " << get_server_url () << endl;
register_callbacks();
on_session_load ();

View File

@ -85,6 +85,7 @@ class ControlOSC : public ARDOUR::ControlProtocol, public AbstractUI<OSCRequest>
#define PATH_CALLBACK1(name,type) \
static int _ ## name (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data) { \
cerr << "callback from OSC\n"; \
return static_cast<ControlOSC*>(user_data)->cb_ ## name (path, types, argv, argc, data); \
} \
int cb_ ## name (const char *path, const char *types, lo_arg **argv, int argc, void *data) { \