summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-06 03:20:46 +0100
committerRobin Gareus <robin@gareus.org>2020-03-06 03:29:16 +0100
commitd126966952f88065d0426c289b64d755930e6b82 (patch)
treef6e4482e3e3df2fc9891c34892b215b889e3b7d3 /libs
parentfc65097686c705f009fa075d18e5a2dbd60f0ba5 (diff)
Remove backend support for region-output export
This use-case is better served via stem-export.
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/enums.cc1
-rw-r--r--libs/ardour/export_channel.cc6
-rw-r--r--libs/ardour/export_handler.cc1
3 files changed, 0 insertions, 8 deletions
diff --git a/libs/ardour/enums.cc b/libs/ardour/enums.cc
index 7ecb40a463..e8cb1976ad 100644
--- a/libs/ardour/enums.cc
+++ b/libs/ardour/enums.cc
@@ -668,7 +668,6 @@ setup_enum_writer ()
REGISTER_CLASS_ENUM (RegionExportChannelFactory, None);
REGISTER_CLASS_ENUM (RegionExportChannelFactory, Raw);
REGISTER_CLASS_ENUM (RegionExportChannelFactory, Fades);
- REGISTER_CLASS_ENUM (RegionExportChannelFactory, Processed);
REGISTER (_RegionExportChannelFactory_Type);
REGISTER_CLASS_ENUM (Delivery, Insert);
diff --git a/libs/ardour/export_channel.cc b/libs/ardour/export_channel.cc
index a5d032a153..33eca5efbd 100644
--- a/libs/ardour/export_channel.cc
+++ b/libs/ardour/export_channel.cc
@@ -182,9 +182,6 @@ RegionExportChannelFactory::RegionExportChannelFactory (Session * session, Audio
std::fill_n (gain_buffer.get(), samples_per_cycle, Sample (1.0));
break;
- case Processed:
- n_channels = track.n_outputs().n_audio();
- break;
default:
throw ExportFailed ("Unhandled type in ExportChannelFactory constructor");
}
@@ -239,9 +236,6 @@ RegionExportChannelFactory::update_buffers (samplecnt_t samples)
region.read_at (buffers.get_audio (channel).data(), mixdown_buffer.get(), gain_buffer.get(), position, samples, channel);
}
break;
- case Processed:
- track.export_stuff (buffers, position, samples, track.main_outs(), true, true, false);
- break;
default:
throw ExportFailed ("Unhandled type in ExportChannelFactory::update_buffers");
}
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc
index df64e87154..9454f52e24 100644
--- a/libs/ardour/export_handler.cc
+++ b/libs/ardour/export_handler.cc
@@ -210,7 +210,6 @@ ExportHandler::start_timespan ()
spec.filename->set_timespan (it->first);
switch (spec.channel_config->region_processing_type ()) {
case RegionExportChannelFactory::None:
- case RegionExportChannelFactory::Processed:
region_export = false;
break;
default: