summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-17 00:17:58 +0000
committerDavid Robillard <d@drobilla.net>2008-11-17 00:17:58 +0000
commit379b728ee04997f735df472576066a3b070c8680 (patch)
tree6f6b582969565aea8de7ad51a9af1441b9f76040 /src
parent63218d44d6a049de05c2371727adb52fbdcf8fa6 (diff)
downloadingen-379b728ee04997f735df472576066a3b070c8680.tar.gz
ingen-379b728ee04997f735df472576066a3b070c8680.tar.bz2
ingen-379b728ee04997f735df472576066a3b070c8680.zip
Always copy when destination port has fixed buffers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1744 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/engine/ConnectionImpl.cpp2
1 files changed, 1 insertions, 1 deletions
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()));
}