summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_channel_configuration.h
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2011-01-16 19:41:11 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2011-01-16 19:41:11 +0000
commita406d9183adc67075a4e802fd8254c2560df9964 (patch)
tree2bb5cfa9a25f5951e37a1a9e8c041cca6c960925 /libs/ardour/ardour/export_channel_configuration.h
parent113e6b505a27b3cbdb26f96b96c92cf35fe311dd (diff)
Make stem export export from right before any processors.
The dialog does not support exporting from the outputs anymore, sorry. Will add options later... git-svn-id: svn://localhost/ardour2/branches/3.0@8520 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_channel_configuration.h')
-rw-r--r--libs/ardour/ardour/export_channel_configuration.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/export_channel_configuration.h b/libs/ardour/ardour/export_channel_configuration.h
index b5b9b65bf7..5701be576b 100644
--- a/libs/ardour/ardour/export_channel_configuration.h
+++ b/libs/ardour/ardour/export_channel_configuration.h
@@ -23,6 +23,8 @@
#include <list>
#include <string>
+#include <algorithm>
+
#include <boost/enable_shared_from_this.hpp>
#include "ardour/export_channel.h"
@@ -70,6 +72,9 @@ class ExportChannelConfiguration : public boost::enable_shared_from_this<ExportC
uint32_t get_n_chans () const { return channels.size(); }
void register_channel (ExportChannelPtr channel) { channels.push_back (channel); }
+ void register_channels (ChannelList const & new_channels) {
+ std::copy (new_channels.begin(), new_channels.end(), std::back_inserter(channels));
+ }
void clear_channels () { channels.clear (); }
/** Returns a list of channel configurations that match the files created.