X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fexport_profile_manager.cc;h=a86b2a7768388aee9266aaadc5c5c0761f0db842;hb=a473d630eb165272992e90f8d854b1d66ec0be63;hp=4d2b7795a412f93a713605ab528b6b3c1ae1db4d;hpb=a46cea06e29bfdb18e0199a665caf5a34d388968;p=ardour.git diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index 4d2b7795a4..a86b2a7768 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -361,7 +361,7 @@ ExportProfileManager::init_timespans (XMLNodeList nodes) if (timespans.empty()) { TimespanStatePtr state (new TimespanState (session_range, selection_range, ranges)); timespans.push_back (state); - + // Add session as default selection TimespanPtr timespan = handler->add_timespan(); timespan->set_name (session_range->name()); @@ -473,15 +473,15 @@ ExportProfileManager::init_channel_configs (XMLNodeList nodes) if (nodes.empty()) { ChannelConfigStatePtr config (new ChannelConfigState (handler->add_channel_config())); channel_configs.push_back (config); - + // Add master outs as default IO* master_out = session.master_out()->output().get(); if (!master_out) { return false; } - + for (uint32_t n = 0; n < master_out->n_ports().n_audio(); ++n) { PortExportChannel * channel = new PortExportChannel (); channel->add_port (master_out->audio (n)); - + ExportChannelPtr chan_ptr (channel); config->config->register_channel (chan_ptr); }