update UI, new info API, display created_version in tooltip

This commit is contained in:
Robin Gareus 2017-01-20 18:16:32 +01:00
parent bbe62da55a
commit 17881b3221
3 changed files with 18 additions and 6 deletions

View file

@ -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;