From 17881b3221311bbf90afa951d2f29194e1f0ad35 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 20 Jan 2017 18:16:32 +0100 Subject: update UI, new info API, display created_version in tooltip --- session_utils/common.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'session_utils') 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; -- cgit v1.2.3