From 67b4433b0c8b83ca03dbc517c71e85b9ab619a0f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 27 Oct 2010 21:21:34 +0000 Subject: Don't strip suffixes twice from peakfile names, otherwise source names like fred.jim.wav and fred.sheila.wav end up trying to use the same peakfile name. git-svn-id: svn://localhost/ardour2/branches/3.0@7928 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/audiofilesource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/audiofilesource.cc') diff --git a/libs/ardour/audiofilesource.cc b/libs/ardour/audiofilesource.cc index 30f8f84a5b..9f24814d49 100644 --- a/libs/ardour/audiofilesource.cc +++ b/libs/ardour/audiofilesource.cc @@ -201,7 +201,7 @@ AudioFileSource::find_broken_peakfile (string peak_path, string audio_path) string AudioFileSource::broken_peak_path (string audio_path) { - return _session.peak_path (audio_path); + return _session.peak_path (basename_nosuffix (audio_path)); } string -- cgit v1.2.3