summaryrefslogtreecommitdiff
path: root/libs/ardour/audiofilesource.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-10-27 21:21:34 +0000
committerCarl Hetherington <carl@carlh.net>2010-10-27 21:21:34 +0000
commit67b4433b0c8b83ca03dbc517c71e85b9ab619a0f (patch)
treed71feec28b0d1fe73ce461da55936892820fc615 /libs/ardour/audiofilesource.cc
parentd31a63c68592d8a54d9a728c787c17885677151f (diff)
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
Diffstat (limited to 'libs/ardour/audiofilesource.cc')
-rw-r--r--libs/ardour/audiofilesource.cc2
1 files changed, 1 insertions, 1 deletions
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