GUI steps for virtual soundcheck
This commit is contained in:
parent
155799e25f
commit
8b47aad657
|
@ -880,6 +880,8 @@ private:
|
|||
void toggle_send_mmc ();
|
||||
void toggle_send_mtc ();
|
||||
void toggle_send_midi_clock ();
|
||||
void disable_virtual_soundcheck ();
|
||||
void enable_virtual_soundcheck ();
|
||||
|
||||
void toggle_use_osc ();
|
||||
|
||||
|
|
|
@ -438,6 +438,10 @@ ARDOUR_UI::livetrax_setup_windows ()
|
|||
|
||||
livetrax_multi_out_button = manage (new ArdourButton (_("Multi Out")));
|
||||
livetrax_stereo_out_button = manage (new ArdourButton (_("Stereo Out")));
|
||||
act = ActionManager::get_action (X_("Common"), X_("disable-virtual-soundcheck"));
|
||||
livetrax_stereo_out_button->set_related_action (act);
|
||||
act = ActionManager::get_action (X_("Common"), X_("enable-virtual-soundcheck"));
|
||||
livetrax_multi_out_button->set_related_action (act);
|
||||
|
||||
vb = manage (new VBox);
|
||||
vb->pack_start (*livetrax_stereo_out_button, true, true);
|
||||
|
|
|
@ -553,6 +553,11 @@ ARDOUR_UI::install_actions ()
|
|||
act = ActionManager::register_action (midi_actions, X_("panic"), _("Panic (Send MIDI all-notes-off)"), sigc::mem_fun(*this, &ARDOUR_UI::midi_panic));
|
||||
ActionManager::session_sensitive_actions.push_back (act);
|
||||
ActionManager::transport_sensitive_actions.push_back (act);
|
||||
|
||||
if (Profile->get_livetrax()) {
|
||||
act = ActionManager::register_toggle_action (common_actions, X_("disable-virtual-soundcheck"), _("Disable Virtual Soundcheck"), sigc::mem_fun (*this, &ARDOUR_UI::disable_virtual_soundcheck));
|
||||
act = ActionManager::register_toggle_action (common_actions, X_("enable-virtual-soundcheck"), _("Enable Virtual Soundcheck"), sigc::mem_fun (*this, &ARDOUR_UI::enable_virtual_soundcheck));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -60,6 +60,26 @@ using namespace ARDOUR;
|
|||
using namespace PBD;
|
||||
using namespace ArdourWidgets;
|
||||
|
||||
void
|
||||
ARDOUR_UI::enable_virtual_soundcheck ()
|
||||
{
|
||||
if (!_session) {
|
||||
return;
|
||||
}
|
||||
|
||||
_session->enable_virtual_soundcheck ();
|
||||
}
|
||||
|
||||
void
|
||||
ARDOUR_UI::disable_virtual_soundcheck ()
|
||||
{
|
||||
if (!_session) {
|
||||
return;
|
||||
}
|
||||
|
||||
_session->disable_virtual_soundcheck ();
|
||||
}
|
||||
|
||||
void
|
||||
ARDOUR_UI::toggle_external_sync()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue