diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-08 20:13:56 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-10 00:55:58 +0200 |
commit | 78ff3c05a3f5c5d532162b45bdd8857bc402011e (patch) | |
tree | 3031a661d367b9111c18ee09d633c75935204603 /libs/ardour/audiosource.cc | |
parent | 48579d42b08bcd2e094d1bc159fba5a97c3fcf69 (diff) |
remove Ardour broken peak-file support
Ardour-2.0 put peak-files in a "broken" location for several months.
Since then Ardour renamed those files. No more. When loading ancient
sessions peak-files are now re-created (in the background).
Diffstat (limited to 'libs/ardour/audiosource.cc')
-rw-r--r-- | libs/ardour/audiosource.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/ardour/audiosource.cc b/libs/ardour/audiosource.cc index 9aea6f1e0e..62a632e435 100644 --- a/libs/ardour/audiosource.cc +++ b/libs/ardour/audiosource.cc @@ -244,12 +244,6 @@ AudioSource::initialize_peakfile (const string& audio_path) DEBUG_TRACE(DEBUG::Peaks, string_compose ("Initialize Peakfile %1 for Audio file %2\n", _peakpath, audio_path)); - /* if the peak file should be there, but isn't .... */ - - if (!empty() && !Glib::file_test (_peakpath.c_str(), Glib::FILE_TEST_EXISTS)) { - _peakpath = find_broken_peakfile (_peakpath, audio_path); - } - if (g_stat (_peakpath.c_str(), &statbuf)) { if (errno != ENOENT) { /* it exists in the peaks dir, but there is some kind of error */ |