summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorMathias Buhr <napcode@apparatus.de>2015-08-29 13:48:05 +0200
committerMathias Buhr <mathias.buhr@citrix.com>2015-09-03 09:54:23 +0200
commit624f76b229b8e71f9c57aa60da1ac2046b0578cd (patch)
treea16708eee0c4590f08b9899c9ec7c46e218ca533 /libs/ardour/session_state.cc
parent95b144ee583e49d8532749a1e820f93c5f701381 (diff)
Fixes case where audiofiles used wrong peakfiles
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 2880b2c368..0562d1801c 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -3052,7 +3052,7 @@ Session::cleanup_sources (CleanupReport& rep)
or for the first channel of embedded files. it will miss
some peakfiles for other channels
*/
- string peakpath = peak_path (base);
+ string peakpath = construct_peak_filepath (base);
if (Glib::file_test (peakpath.c_str(), Glib::FILE_TEST_EXISTS)) {
if (::g_unlink (peakpath.c_str()) != 0) {