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:
parent
4dca26a6e7
commit
1c8ad40339
@ -255,6 +255,7 @@ SndFileSource::close ()
|
||||
if (_sndfile) {
|
||||
sf_close (_sndfile);
|
||||
_sndfile = 0;
|
||||
file_closed ();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user