34 ExportChannelConfiguration::ExportChannelConfiguration (
Session & session)
61 for (ExportChannelConfiguration::ChannelList::const_iterator c_it =
channels.begin(); c_it !=
channels.end(); ++c_it) {
63 if (!channel) {
continue; }
66 (*c_it)->get_state (channel);
79 if ((prop = root.
property (
"split"))) {
83 if ((prop = root.
property (
"region-processing"))) {
89 for (XMLNodeList::iterator it = channels.begin(); it != channels.end(); ++it) {
91 channel->set_state (*it,
session);
101 for (ChannelList::const_iterator it =
channels.begin(); it !=
channels.end(); ++it) {
102 if ((*it)->empty ()) {
return false; }
114 configs.push_back (shared_from_this ());
118 for (ChannelList::const_iterator it =
channels.begin (); it !=
channels.end (); ++it) {
120 config->set_name (
_name);
121 config->register_channel (*it);
122 configs.push_back (config);
Handles RegionExportChannels and does actual reading from region.
std::string to_string(T t, std::ios_base &(*f)(std::ios_base &))
const std::string & value() const
void set_region_processing_type(RegionExportChannelFactory::Type type)
LIBPBD_API void split(std::string, std::vector< std::string > &, char)
void set_split(bool value)
Basic export channel that reads from AudioPorts.
const XMLNodeList & children(const std::string &str=std::string()) const
XMLNode * add_child(const char *)
int set_state(const XMLNode &)
void configurations_for_files(std::list< boost::shared_ptr< ExportChannelConfiguration > > &configs)
std::list< XMLNode * > XMLNodeList
XMLProperty * property(const char *)
uint32_t get_n_chans() const
#define string_2_enum(str, e)
RegionExportChannelFactory::Type region_type
XMLProperty * add_property(const char *name, const std::string &value)
void register_channel(ExportChannelPtr channel)
bool all_channels_have_ports() const