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.
This commit is contained in:
Robin Gareus 2020-05-31 18:33:33 +02:00
parent 3318758855
commit 82d7d85192
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -48,11 +48,13 @@ using namespace Glib;
using namespace ARDOUR; using namespace ARDOUR;
using namespace PBD; using namespace PBD;
#define MAX_EXPORT_CHANNELS 32
PortExportChannelSelector::PortExportChannelSelector (ARDOUR::Session * session, ProfileManagerPtr manager) : PortExportChannelSelector::PortExportChannelSelector (ARDOUR::Session * session, ProfileManagerPtr manager) :
ExportChannelSelector (session, manager), ExportChannelSelector (session, manager),
channels_label (_("Channels:"), Gtk::ALIGN_LEFT), channels_label (_("Channels:"), Gtk::ALIGN_LEFT),
split_checkbox (_("Split to mono files")), split_checkbox (_("Split to mono files")),
max_channels (20), max_channels (MAX_EXPORT_CHANNELS),
channel_view (max_channels) channel_view (max_channels)
{ {
channels_hbox.pack_start (channels_label, false, false, 0); channels_hbox.pack_start (channels_label, false, false, 0);