diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-06 21:18:52 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-06 21:18:52 -0400 |
commit | 6dea7ebfb0bb66fa58b353467724a90805fb7a47 (patch) | |
tree | f1484dd9bf6a6f042de379a55ddb681a910ac96e /libs/ardour/ardour/session.h | |
parent | 7ccc471ce14829493eb3af2cbec4a83336c474a3 (diff) |
changes related to resetting source paths during save-as.
This does NOT work with MIDI files at present, because of SNAFU in SMF class, where end_write()
opens the file on its own, without _file_path being set. Needs some careful work, because basically
the SMF<=>SMFSource relationship is not tenable
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index d769db25e6..4b50e7c21f 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1443,8 +1443,10 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop typedef std::map<PBD::ID,boost::shared_ptr<Source> > SourceMap; private: + void reset_write_sources (bool mark_write_complete, bool force = false); SourceMap sources; + private: int load_sources (const XMLNode& node); XMLNode& get_sources_as_xml (); |