missed removals that should have been in the port offset patch
git-svn-id: svn://localhost/ardour2/branches/3.0@9099 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
665f3bea5a
commit
5a0a06f94f
@ -49,9 +49,6 @@ public:
|
||||
assert(src.type() == DataType::AUDIO);
|
||||
assert(len <= _capacity);
|
||||
memcpy(_data + dst_offset, ((AudioBuffer&)src).data() + src_offset, sizeof(Sample) * len);
|
||||
if (next_write_addr >= _data + _capacity) {
|
||||
next_write_addr = _data;
|
||||
}
|
||||
if (dst_offset == 0 && src_offset == 0 && len == _capacity) {
|
||||
_silent = src.silent();
|
||||
} else {
|
||||
@ -172,8 +169,6 @@ public:
|
||||
void prepare () { _written = false; }
|
||||
bool written() const { return _written; }
|
||||
|
||||
void set_marked_for_write (bool yn) { mfw = yn; }
|
||||
|
||||
private:
|
||||
bool _owns_data;
|
||||
bool _written;
|
||||
|
Loading…
Reference in New Issue
Block a user