From 57669893198bd4c7bbf66b3a154fe14726ee62db Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 24 Mar 2020 10:38:03 -0600 Subject: introduce the idea of an "unnamed" session --- libs/ardour/session.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/ardour/session.cc') 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")); } -- cgit v1.2.3