_have_rec_enabled_diskstream (false)
{
+ playlists.reset (new SessionPlaylists);
+
bool new_session;
interpolation.add_channel_to (0, 0);
_metadata (new SessionMetadata()),
_have_rec_enabled_diskstream (false)
{
+ playlists.reset (new SessionPlaylists);
+
bool new_session;
interpolation.add_channel_to (0, 0);
delete mmc;
+ /* not strictly necessary, but doing it here allows the shared_ptr debugging to work */
+ playlists.reset ();
+
boost_debug_list_ptrs ();
DEBUG_TRACE (DEBUG::Destruction, "Session::destroy() done\n");
return;
}
- bool existing = playlists.add (playlist);
+ bool existing = playlists->add (playlist);
if (!existing) {
playlist->GoingAway.connect (sigc::bind (mem_fun (*this, &Session::remove_playlist), boost::weak_ptr<Playlist>(playlist)));
}
return;
}
- playlists.remove (playlist);
+ playlists->remove (playlist);
set_dirty();
}
{
clear_clicks ();
- playlists.update_after_tempo_map_change ();
+ playlists->update_after_tempo_map_change ();
set_dirty ();
}