From ee0f073e8d85b3c376da7c865196c14df9e10c18 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 3 Jun 2016 15:14:48 -0400 Subject: move from PresentationInfo::global_order() to PresentationInfo::order --- libs/surfaces/mackie/mackie_control_protocol.cc | 12 ++++++------ libs/surfaces/osc/osc.cc | 6 +++--- libs/surfaces/osc/osc_controllable.cc | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libs/surfaces/mackie/mackie_control_protocol.cc b/libs/surfaces/mackie/mackie_control_protocol.cc index a9ae8007ed..ae83cc20db 100644 --- a/libs/surfaces/mackie/mackie_control_protocol.cc +++ b/libs/surfaces/mackie/mackie_control_protocol.cc @@ -2115,15 +2115,15 @@ MackieControlProtocol::select_range () for (StripableList::iterator s = stripables.begin(); s != stripables.end(); ++s) { if (main_modifier_state() == MODIFIER_SHIFT) { - /* XXX can only use numeric part of ID at present */ - ToggleStripableSelection ((*s)->presentation_info ().global_order()); + /* XXX can only use order part of PresentationInfo at present */ + ToggleStripableSelection ((*s)->presentation_info ().order()); } else { if (s == stripables.begin()) { - /* XXX can only use numeric part of ID at present */ - SetStripableSelection ((*s)->presentation_info().global_order()); + /* XXX can only use order part of PresentationInfo at present */ + SetStripableSelection ((*s)->presentation_info().order()); } else { - /* XXX can only use numeric part of ID at present */ - AddStripableToSelection ((*s)->presentation_info().global_order()); + /* XXX can only use order part of PresentationInfo at present */ + AddStripableToSelection ((*s)->presentation_info().order()); } } } diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index e6e6852995..4438c6dba4 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -588,7 +588,7 @@ OSC::listen_to_route (boost::shared_ptr strip, lo_address addr) } OSCSurface *s = get_surface(addr); - uint32_t sid = get_sid (strip->presentation_info().group_order(), addr); + uint32_t sid = get_sid (strip->presentation_info().order(), addr); // above is zero based add 1 OSCRouteObserver* o = new OSCRouteObserver (strip, addr, sid + 1, s->gainmode, s->feedback); route_observers.push_back (o); @@ -1012,8 +1012,8 @@ OSC::routes_list (lo_message msg) lo_message_add_int32 (reply, r->n_outputs().n_audio()); lo_message_add_int32 (reply, r->muted()); lo_message_add_int32 (reply, r->soloed()); - /* XXX Can only use group ID at this point */ - lo_message_add_int32 (reply, r->presentation_info().group_order()); + /* XXX Can only use order at this point */ + lo_message_add_int32 (reply, r->presentation_info().order()); if (boost::dynamic_pointer_cast(r) || boost::dynamic_pointer_cast(r)) { diff --git a/libs/surfaces/osc/osc_controllable.cc b/libs/surfaces/osc/osc_controllable.cc index dae6ee6d6d..4e6aa3b078 100644 --- a/libs/surfaces/osc/osc_controllable.cc +++ b/libs/surfaces/osc/osc_controllable.cc @@ -92,7 +92,7 @@ OSCRouteControllable::send_change_message () /* Can only send ID part of RID at present */ - lo_message_add_int32 (msg, _route->presentation_info().group_order()); + lo_message_add_int32 (msg, _route->presentation_info().order()); lo_message_add_float (msg, (float) controllable->get_value()); /* XXX thread issues */ -- cgit v1.2.3