Extend Session::Exported signal
Include timespan start position. This will allow to re-import the file at the export-position.
This commit is contained in:
parent
87354918a1
commit
3ae73eb242
@ -37,7 +37,7 @@ STATIC(FeedbackDetected, &ARDOUR::Session::FeedbackDetected, 0)
|
||||
STATIC(SuccessfulGraphSort, &ARDOUR::Session::SuccessfulGraphSort, 0)
|
||||
STATIC(StartTimeChanged, &ARDOUR::Session::StartTimeChanged, 1)
|
||||
STATIC(EndTimeChanged, &ARDOUR::Session::EndTimeChanged, 1)
|
||||
STATIC(Exported, &ARDOUR::Session::Exported, 3)
|
||||
STATIC(Exported, &ARDOUR::Session::Exported, 4)
|
||||
|
||||
// stripable static globals
|
||||
STATIC(Change, &PresentationInfo::Change, 0)
|
||||
|
@ -862,7 +862,7 @@ public:
|
||||
int start_audio_export (samplepos_t position, bool realtime = false, bool region_export = false);
|
||||
|
||||
PBD::Signal1<int, samplecnt_t> ProcessExport;
|
||||
static PBD::Signal3<void, std::string, std::string, bool> Exported;
|
||||
static PBD::Signal4<void, std::string, std::string, bool, samplepos_t> Exported;
|
||||
|
||||
void add_source (boost::shared_ptr<Source>);
|
||||
void remove_source (boost::weak_ptr<Source>);
|
||||
|
@ -376,7 +376,7 @@ ExportHandler::finish_timespan ()
|
||||
* take that into account.
|
||||
*/
|
||||
for (auto const& f : graph_builder->exported_files ()) {
|
||||
Session::Exported (current_timespan->name(), f, config_map.begin()->second.format->reimport()); /* EMIT SIGNAL */
|
||||
Session::Exported (current_timespan->name(), f, config_map.begin()->second.format->reimport(), current_timespan->get_start ()); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
while (config_map.begin() != timespan_bounds.second) {
|
||||
|
@ -161,7 +161,7 @@ PBD::Signal3<int,Session*,std::string,DataType> Session::MissingFile;
|
||||
|
||||
PBD::Signal1<void, samplepos_t> Session::StartTimeChanged;
|
||||
PBD::Signal1<void, samplepos_t> Session::EndTimeChanged;
|
||||
PBD::Signal3<void, std::string, std::string, bool> Session::Exported;
|
||||
PBD::Signal4<void, std::string, std::string, bool, samplepos_t> Session::Exported;
|
||||
PBD::Signal1<int,boost::shared_ptr<Playlist> > Session::AskAboutPlaylistDeletion;
|
||||
PBD::Signal0<void> Session::Quit;
|
||||
PBD::Signal0<void> Session::FeedbackDetected;
|
||||
|
Loading…
Reference in New Issue
Block a user