summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-03-24 10:38:03 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-03-24 14:10:39 -0600
commit57669893198bd4c7bbf66b3a154fe14726ee62db (patch)
tree5b84aad487eb0d1b12d540ca4867b2f3a3206fcc /libs/ardour/session.cc
parent23d72eedbf407af1c474360faa5ff86c103a6498 (diff)
introduce the idea of an "unnamed" session
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 9e4829666f..bb13cee49e 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -172,7 +172,8 @@ Session::Session (AudioEngine &eng,
const string& fullpath,
const string& snapshot_name,
BusProfile const * bus_profile,
- string mix_template)
+ string mix_template,
+ bool unnamed)
: _playlists (new SessionPlaylists)
, _engine (eng)
, process_function (&Session::process_with_events)
@@ -344,7 +345,7 @@ Session::Session (AudioEngine &eng,
Stateful::loading_state_version = CURRENT_SESSION_FILE_VERSION;
- if (create (mix_template, bus_profile)) {
+ if (create (mix_template, bus_profile, unnamed)) {
destroy ();
throw SessionException (_("Session initialization failed"));
}