diff options
author | Robin Gareus <robin@gareus.org> | 2017-01-20 18:16:32 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-01-20 18:16:32 +0100 |
commit | 17881b3221311bbf90afa951d2f29194e1f0ad35 (patch) | |
tree | 179b242a3614cd632dc59d936889800abc883702 /session_utils | |
parent | bbe62da55a5fb06ba39e02c9671a94ab6e24bb08 (diff) |
update UI, new info API, display created_version in tooltip
Diffstat (limited to 'session_utils')
-rw-r--r-- | session_utils/common.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/session_utils/common.cc b/session_utils/common.cc index 8d1cdec950..99ed10d32d 100644 --- a/session_utils/common.cc +++ b/session_utils/common.cc @@ -120,9 +120,10 @@ static Session * _load_session (string dir, string state) float sr; SampleFormat sf; + std::string v; std::string s = Glib::build_filename (dir, state + statefile_suffix); - if (Session::get_info_from_path (s, sr, sf) == 0) { + if (Session::get_info_from_path (s, sr, sf, v) == 0) { if (engine->set_sample_rate (sr)) { std::cerr << "Cannot set session's samplerate.\n"; return 0; |