update UI, new info API, display created_version in tooltip
[ardour.git] / session_utils / common.cc
index 8d1cdec950d8afb39c3b9c8650701b23ef9b6efb..99ed10d32d35d0dd9f04585e394bb863d15f15e1 100644 (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;