faderport: add punch action
This commit is contained in:
parent
0c9fd363ca
commit
0e629cd162
@ -149,6 +149,8 @@ FaderPort::FaderPort (Session& s)
|
|||||||
get_button (Ffwd).set_action (boost::bind (&BasicUI::ffwd, this), true);
|
get_button (Ffwd).set_action (boost::bind (&BasicUI::ffwd, this), true);
|
||||||
get_button (Ffwd).set_action (boost::bind (&BasicUI::goto_end, this), true, ShiftDown);
|
get_button (Ffwd).set_action (boost::bind (&BasicUI::goto_end, this), true, ShiftDown);
|
||||||
|
|
||||||
|
get_button (Punch).set_action (boost::bind (&FaderPort::punch, this), true);
|
||||||
|
|
||||||
get_button (Loop).set_action (boost::bind (&BasicUI::loop_toggle, this), true);
|
get_button (Loop).set_action (boost::bind (&BasicUI::loop_toggle, this), true);
|
||||||
get_button (Loop).set_action (boost::bind (&BasicUI::add_marker, this, string()), true, ShiftDown);
|
get_button (Loop).set_action (boost::bind (&BasicUI::add_marker, this, string()), true, ShiftDown);
|
||||||
|
|
||||||
|
@ -313,6 +313,8 @@ class FaderPort : public ARDOUR::ControlProtocol, public AbstractUI<FaderPortReq
|
|||||||
void ardour_pan_azimuth (int);
|
void ardour_pan_azimuth (int);
|
||||||
void ardour_pan_width (int);
|
void ardour_pan_width (int);
|
||||||
void mixbus_pan (int);
|
void mixbus_pan (int);
|
||||||
|
|
||||||
|
void punch ();
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -257,3 +257,9 @@ FaderPort::mixbus_pan (int delta)
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
FaderPort::punch ()
|
||||||
|
{
|
||||||
|
access_action ("Transport/TogglePunch");
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user