projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a58f7ca
)
Close files at rec-stop (re-open as needed)
author
Robin Gareus
<robin@gareus.org>
Wed, 7 Nov 2018 18:13:03 +0000
(19:13 +0100)
committer
Robin Gareus
<robin@gareus.org>
Wed, 7 Nov 2018 18:13:03 +0000
(19:13 +0100)
This is in preparation to allow recording .flac files which are either
read or write not cannot be in read/write mode
libs/ardour/file_source.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/file_source.cc
b/libs/ardour/file_source.cc
index c1aa50d4a47f3c069fb8674d44cab06d26c797a9..37af5b8c38233a85726acb9fd60e6074b81283e0 100644
(file)
--- a/
libs/ardour/file_source.cc
+++ b/
libs/ardour/file_source.cc
@@
-519,6
+519,7
@@
FileSource::mark_immutable ()
/* destructive sources stay writable, and their other flags don't change. */
if (!(_flags & Destructive)) {
_flags = Flag (_flags & ~(Writable|Removable|RemovableIfEmpty|RemoveAtDestroy|CanRename));
+ close();
}
}