Use SessionDirectory::peak_path in place of Session::peak_dir in Session::second_stag...
authorTim Mayberry <mojofunk@gmail.com>
Sun, 17 Jun 2007 00:46:43 +0000 (00:46 +0000)
committerTim Mayberry <mojofunk@gmail.com>
Sun, 17 Jun 2007 00:46:43 +0000 (00:46 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2004 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session_state.cc

index e554b28ca284fd88c7b5c88d4543a9bb0dfff1db..f6bc6b89d57d60c8a35ab648e2ddaeff4e629521 100644 (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)) {