diff options
author | Robin Gareus <robin@gareus.org> | 2015-04-02 18:51:20 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-02 18:51:20 +0200 |
commit | 192e1c61567e761b7c64848e3f3742ac12c6928b (patch) | |
tree | 0c7128a7f6b283faf6ed508ddc9252cd84f6d3cb /libs | |
parent | 4f0457264e844f9683632ce010c983d7eed71394 (diff) |
fix #6227, ‘old_peak_path()’ does not exist on win.
or rather mountpoint() does not. in any case
there never was a windows release without libsndfile, so checking for peaks pre-libsndfile
is moot.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/audiofilesource.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audiofilesource.cc b/libs/ardour/audiofilesource.cc index 6d9414a5cb..2523a85b1a 100644 --- a/libs/ardour/audiofilesource.cc +++ b/libs/ardour/audiofilesource.cc @@ -205,12 +205,12 @@ AudioFileSource::find_broken_peakfile (string peak_path, string audio_path) /* Nasty band-aid for older sessions that were created before we used libsndfile for all audio files. */ - - +#ifndef PLATFORM_WINDOWS // there's no old_peak_path() for windows str = old_peak_path (audio_path); if (Glib::file_test (str, Glib::FILE_TEST_EXISTS)) { peak_path = str; } +#endif } return peak_path; |