mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Close files at rec-stop (re-open as needed)
This is in preparation to allow recording .flac files which are either read or write not cannot be in read/write mode
This commit is contained in:
parent
a58f7caca1
commit
197a1e4446
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue