mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
update UI, new info API, display created_version in tooltip
This commit is contained in:
parent
bbe62da55a
commit
17881b3221
3 changed files with 18 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue