From 82d7d85192a04f7d00eba1616df4e9a74f93daef Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 31 May 2020 18:33:33 +0200 Subject: [PATCH] Increase max export channel count to 32 for default export Stem Export is not affected. This limitation is only for the channel matrix GUI, when assigning master-bus channels to export channels. --- gtk2_ardour/export_channel_selector.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/export_channel_selector.cc b/gtk2_ardour/export_channel_selector.cc index 08636e8739..0362dad209 100644 --- a/gtk2_ardour/export_channel_selector.cc +++ b/gtk2_ardour/export_channel_selector.cc @@ -48,11 +48,13 @@ using namespace Glib; using namespace ARDOUR; using namespace PBD; +#define MAX_EXPORT_CHANNELS 32 + PortExportChannelSelector::PortExportChannelSelector (ARDOUR::Session * session, ProfileManagerPtr manager) : ExportChannelSelector (session, manager), channels_label (_("Channels:"), Gtk::ALIGN_LEFT), split_checkbox (_("Split to mono files")), - max_channels (20), + max_channels (MAX_EXPORT_CHANNELS), channel_view (max_channels) { channels_hbox.pack_start (channels_label, false, false, 0);