13
0

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
This commit is contained in:
Paul Davis 2015-12-08 09:07:46 -05:00
parent 4dca26a6e7
commit 1c8ad40339

View File

@ -255,6 +255,7 @@ SndFileSource::close ()
if (_sndfile) {
sf_close (_sndfile);
_sndfile = 0;
file_closed ();
}
}