13
0

Fix order of parameters to stop_touch() in Mackie::Control

Reverse the parameters of Mackie::Control::stop_touch() to make them
consistent with AutomationControl::stop_touch(), and fix up the call to
AutomationControl::stop_touch() to have the parameters in the correct
order.

Unfortunately, I don't possess any devices that speak the Mackie protocol, so
though the patch seems logical and correct to me, I have no way of testing it.
If anyone has a device with touch faders that speaks Mackie, I'd be glad of any
confirmation that it at least doesn't break anything.
This commit is contained in:
Colin Fletcher 2014-11-23 19:01:46 +00:00
parent 421a1d9912
commit 1f58f81aa6
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ Control::start_touch (double when)
}
void
Control::stop_touch (double when, bool mark)
Control::stop_touch (bool mark, double when)
{
if (normal_ac) {
return normal_ac->stop_touch (mark, when);

View File

@ -73,7 +73,7 @@ public:
void set_value (float val);
virtual void start_touch (double when);
virtual void stop_touch (double when, bool mark);
virtual void stop_touch (bool mark, double when);
protected:
boost::shared_ptr<ARDOUR::AutomationControl> normal_ac;