13
0

NO-OP: whitespace cleanup

This commit is contained in:
Paul Davis 2017-10-26 15:46:00 -04:00
parent 155f48fc7c
commit eeb148bb61

View File

@ -117,7 +117,7 @@ Strip::Strip (Surface& s, const std::string& name, int index, const map<Button::
_surface->number(), index, Button::id_to_name (bb->bid()), _surface->number(), index, Button::id_to_name (bb->bid()),
bb->id(), b->second.base_id)); bb->id(), b->second.base_id));
} }
_trickle_counter = 0; _trickle_counter = 0;
} }
@ -244,7 +244,7 @@ void
Strip::reset_stripable () Strip::reset_stripable ()
{ {
stripable_connections.drop_connections (); stripable_connections.drop_connections ();
_solo->set_control (boost::shared_ptr<AutomationControl>()); _solo->set_control (boost::shared_ptr<AutomationControl>());
_mute->set_control (boost::shared_ptr<AutomationControl>()); _mute->set_control (boost::shared_ptr<AutomationControl>());
_select->set_control (boost::shared_ptr<AutomationControl>()); _select->set_control (boost::shared_ptr<AutomationControl>());
@ -624,15 +624,15 @@ Strip::periodic (ARDOUR::microseconds_t now)
_surface->write (_mute->set_state (off)); _surface->write (_mute->set_state (off));
_surface->write (_select->set_state (off)); _surface->write (_select->set_state (off));
} }
} }
//after a hard write, queue us for trickling data later //after a hard write, queue us for trickling data later
if (_trickle_counter == 0) if (_trickle_counter == 0)
_trickle_counter = global_index()+1; _trickle_counter = global_index()+1;
_trickle_counter++; _trickle_counter++;
} }
void void
@ -726,11 +726,11 @@ Strip::next_pot_mode ()
void void
/* /*
* *
* name: Strip::subview_mode_changed * name: Strip::subview_mode_changed
* @param * @param
* @return * @return
* *
*/ */
Strip::subview_mode_changed () Strip::subview_mode_changed ()
{ {
@ -797,7 +797,7 @@ Strip::setup_trackview_vpot (boost::shared_ptr<Stripable> r)
pc = r->trim_control (); pc = r->trim_control ();
_vpot->set_mode(Pot::boost_cut); _vpot->set_mode(Pot::boost_cut);
break; break;
case 1: case 1:
pc = r->pan_azimuth_control (); pc = r->pan_azimuth_control ();
_vpot->set_mode(Pot::dot); _vpot->set_mode(Pot::dot);
@ -806,28 +806,28 @@ Strip::setup_trackview_vpot (boost::shared_ptr<Stripable> r)
case 2: case 2:
pc = r->comp_threshold_controllable(); pc = r->comp_threshold_controllable();
break; break;
case 3: case 3:
pc = r->comp_speed_controllable(); pc = r->comp_speed_controllable();
break; break;
case 4: case 4:
pc = r->comp_mode_controllable(); pc = r->comp_mode_controllable();
_vpot->set_mode(Pot::wrap); _vpot->set_mode(Pot::wrap);
break; break;
case 5: case 5:
pc = r->comp_makeup_controllable(); pc = r->comp_makeup_controllable();
break; break;
} //trim & dynamics } //trim & dynamics
//EQ //EQ
int eq_band = -1; int eq_band = -1;
if (r->mixbus () || r->is_master()) { if (r->mixbus () || r->is_master()) {
switch (global_pos) { switch (global_pos) {
case 6: case 6:
@ -894,8 +894,8 @@ Strip::setup_trackview_vpot (boost::shared_ptr<Stripable> r)
pc = r->eq_freq_controllable (eq_band); pc = r->eq_freq_controllable (eq_band);
break; break;
} }
#endif #endif
//mixbus sends //mixbus sends
@ -911,17 +911,17 @@ Strip::setup_trackview_vpot (boost::shared_ptr<Stripable> r)
pc = r->send_level_controllable ( global_pos - 16 ); pc = r->send_level_controllable ( global_pos - 16 );
break; break;
} //global_pos switch } //global_pos switch
} //if input_strip } //if input_strip
#endif //ifdef MIXBUS #endif //ifdef MIXBUS
if (pc) { //control found; set our knob to watch for changes in it if (pc) { //control found; set our knob to watch for changes in it
_vpot->set_control (pc); _vpot->set_control (pc);
pc->Changed.connect (subview_connections, MISSING_INVALIDATOR, boost::bind (&Strip::notify_vpot_change, this), ui_context()); pc->Changed.connect (subview_connections, MISSING_INVALIDATOR, boost::bind (&Strip::notify_vpot_change, this), ui_context());
} else { //no control, just set the knob to "empty" } else { //no control, just set the knob to "empty"
_vpot->reset_control (); _vpot->reset_control ();
} }
notify_vpot_change (); notify_vpot_change ();
} }