diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-14 16:04:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-14 16:04:53 +0000 |
commit | 7ac5d03cb870acb429b7fb0c315dd5774d4e0b8c (patch) | |
tree | 149474d5a0e388df5931721f09f5ef2d153df70d /libs/ardour/sndfilesource.cc | |
parent | b307462f4f85cb75f5aa67b3d4f66f8717fa6051 (diff) |
3.0 version of previous 2.X change to always prevent deletion of existing sources
git-svn-id: svn://localhost/ardour2/branches/3.0@8842 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sndfilesource.cc')
-rw-r--r-- | libs/ardour/sndfilesource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 3c219dc191..20d6067c36 100644 --- a/libs/ardour/sndfilesource.cc +++ b/libs/ardour/sndfilesource.cc @@ -612,7 +612,7 @@ bool SndFileSource::set_destructive (bool yn) { if (yn) { - _flags = Flag (_flags | Destructive); + _flags = Flag (_flags | Writable | Destructive); if (!xfade_buf) { xfade_buf = new Sample[xfade_frames]; } |