Remove backend support for region-output export
This use-case is better served via stem-export.
This commit is contained in:
parent
fc65097686
commit
d126966952
|
@ -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);
|
||||
|
|
|
@ -181,9 +181,6 @@ RegionExportChannelFactory::RegionExportChannelFactory (Session * session, Audio
|
|||
gain_buffer.reset (new Sample [samples_per_cycle]);
|
||||
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");
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user