From 1c8ad40339e640cd08a84cae0946acb88b0b1b78 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 8 Dec 2015 09:07:46 -0500 Subject: touch peakfile after closing a SndFileSource libsndfile (can|may) update the headers at close, which can lead to the file being marked newer than the peakfile, thus causing a rebuild of the peakfile at session (re)load. Originally detected by Grygorii --- libs/ardour/sndfilesource.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 35fec82145..73361c33da 100644 --- a/libs/ardour/sndfilesource.cc +++ b/libs/ardour/sndfilesource.cc @@ -255,6 +255,7 @@ SndFileSource::close () if (_sndfile) { sf_close (_sndfile); _sndfile = 0; + file_closed (); } } -- cgit v1.2.3