some more mixbus backports (NO-OP for ardour)

This commit is contained in:
Robin Gareus 2016-05-17 18:19:26 +02:00
parent 524fb8df49
commit 5ac35d47d6
3 changed files with 13 additions and 7 deletions

View File

@ -26,6 +26,7 @@
#include "ardour/audioregion.h"
#include "ardour/export_status.h"
#include "ardour/export_handler.h"
#include "ardour/profile.h"
#include "export_dialog.h"
#include "export_report.h"
@ -331,12 +332,12 @@ ExportDialog::show_progress ()
if (!status->aborted()) {
hide();
NagScreen* ns = NagScreen::maybe_nag (_("export"));
if (ns) {
ns->nag ();
delete ns;
if (!ARDOUR::Profile->get_mixbus()) {
NagScreen* ns = NagScreen::maybe_nag (_("export"));
if (ns) {
ns->nag ();
delete ns;
}
}
} else {
notify_errors ();

View File

@ -300,6 +300,7 @@ class RouteUI : public virtual AxisView
std::string route_state_id () const;
protected:
struct SoloMuteRelease {
SoloMuteRelease (bool was_active)
: active (was_active)
@ -316,6 +317,7 @@ class RouteUI : public virtual AxisView
SoloMuteRelease* _solo_release;
SoloMuteRelease* _mute_release;
private:
void setup_invert_buttons ();
void set_invert_button_state ();
void invert_menu_toggled (uint32_t);

View File

@ -46,6 +46,7 @@
#include "ardour/session.h"
#include "ardour/session_state_utils.h"
#include "ardour/template_utils.h"
#include "ardour/profile.h"
#include "startup.h"
#include "opts.h"
@ -357,7 +358,9 @@ ArdourStartup::setup_final_page ()
VBox* vbox = manage (new VBox);
vbox->pack_start (*final_label, true, true);
vbox->pack_start (plugin_disco_button, true, false);
if (!Profile->get_mixbus()) {
vbox->pack_start (plugin_disco_button, true, false);
}
vbox->show ();
final_page_index = append_page (*vbox);