13
0

Use SessionDirectory::peak_path in place of Session::peak_dir in Session::second_stage_init

git-svn-id: svn://localhost/ardour2/trunk@2004 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2007-06-17 00:46:43 +00:00
parent b2d26fcb9e
commit 4c298f62b5

View File

@ -277,7 +277,7 @@ Session::first_stage_init (string fullpath, string snapshot_name)
int
Session::second_stage_init (bool new_session)
{
AudioFileSource::set_peak_dir (peak_dir());
AudioFileSource::set_peak_dir (_session_dir->peak_path().to_string());
if (!new_session) {
if (load_state (_current_snapshot_name)) {