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 /tools | |
parent | bbe62da55a5fb06ba39e02c9671a94ab6e24bb08 (diff) |
update UI, new info API, display created_version in tooltip
Diffstat (limited to 'tools')
-rw-r--r-- | tools/luadevel/luasession.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/luadevel/luasession.cc b/tools/luadevel/luasession.cc index a131bb443f..8de3636070 100644 --- a/tools/luadevel/luasession.cc +++ b/tools/luadevel/luasession.cc @@ -239,13 +239,14 @@ static Session * _load_session (string dir, string state) // throws float sr; SampleFormat sf; + std::string v; std::string s = Glib::build_filename (dir, state + statefile_suffix); if (!Glib::file_test (dir, Glib::FILE_TEST_EXISTS)) { std::cerr << "Cannot find session: " << s << "\n"; return 0; } - if (Session::get_info_from_path (s, sr, sf) != 0) { + if (Session::get_info_from_path (s, sr, sf, v) != 0) { std::cerr << "Cannot get samplerate from session.\n"; return 0; } |