more progress on speakers/vbap etc. etc (still a work in progress)
[ardour.git] / libs / ardour / session.cc
index 4c25989c0ae8acbb7360244b685a6d4c3b44edd7..39f6fc4ff7218a05d3d67e70ce3a521f29276369 100644 (file)
@@ -323,7 +323,6 @@ Session::destroy ()
        playlists.reset ();
 
        delete _locations;
-        delete _speakers;
 
        DEBUG_TRACE (DEBUG::Destruction, "Session::destroy() done\n");
 
@@ -4175,10 +4174,10 @@ Session::ensure_search_path_includes (const string& path, DataType type)
        }
 }
 
-Speakers&
+boost::shared_ptr<Speakers>
 Session::get_speakers() 
 {
-        return *_speakers;
+        return _speakers;
 }
 
 list<string>