projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dca26a
)
touch peakfile after closing a SndFileSource
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 8 Dec 2015 14:07:46 +0000
(09:07 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 8 Dec 2015 14:07:51 +0000
(09:07 -0500)
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
patch
|
blob
|
history
diff --git
a/libs/ardour/sndfilesource.cc
b/libs/ardour/sndfilesource.cc
index 35fec82145da704fa0069b9782fda62ff84405bc..73361c33da64553723ba8a4029045a52a6b86a13 100644
(file)
--- 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 ();
}
}