From 379b728ee04997f735df472576066a3b070c8680 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 17 Nov 2008 00:17:58 +0000 Subject: Always copy when destination port has fixed buffers. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1744 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/ConnectionImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/engine/ConnectionImpl.cpp b/src/engine/ConnectionImpl.cpp index 3ae82da9..9fec5700 100644 --- a/src/engine/ConnectionImpl.cpp +++ b/src/engine/ConnectionImpl.cpp @@ -101,7 +101,7 @@ ConnectionImpl::set_buffer_size(size_t size) bool ConnectionImpl::must_copy() const { - return (_dst_port->fixed_buffers() && (_src_port->poly() == _dst_port->poly())); + return (_dst_port->fixed_buffers() || (_src_port->poly() != _dst_port->poly())); } -- cgit v1.2.1