diff options
author | Robin Gareus <robin@gareus.org> | 2015-11-20 03:11:39 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-11-20 03:22:41 +0100 |
commit | 4c04e8028aa73177f4ab02e3c82ea051e20b4edb (patch) | |
tree | 9687dcb70eac2630a962792b44c5c6bd00e816cd /libs/ardour/ardour/session.h | |
parent | c4084932fab7ceb32a7a62ec5206fff18173dc1f (diff) |
add API to read snapshot name from instant.xml
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 8a8e8e72e3..60fa9e5761 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -173,6 +173,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop virtual ~Session (); static int get_info_from_path (const std::string& xmlpath, float& sample_rate, SampleFormat& data_format); + static std::string get_snapshot_from_instant (const std::string& session_dir); std::string path() const { return _path; } std::string name() const { return _name; } |