From 626ec62aab67c136c405cc88213d7b92325c01d7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Oct 2015 16:42:17 +0000 Subject: Reduce overhead git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5770 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/GraphImpl.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/server/GraphImpl.cpp') diff --git a/src/server/GraphImpl.cpp b/src/server/GraphImpl.cpp index ceb94748..256d607a 100644 --- a/src/server/GraphImpl.cpp +++ b/src/server/GraphImpl.cpp @@ -211,9 +211,11 @@ GraphImpl::pre_process(ProcessContext& context) // Mix down input ports and connect buffers for (uint32_t i = 0; i < num_ports(); ++i) { PortImpl* const port = _ports->at(i); - port->pre_process(context); - port->pre_run(context); - port->connect_buffers(); + if (!port->is_driver_port()) { + port->pre_process(context); + port->pre_run(context); + port->connect_buffers(); + } } } -- cgit v1.2.1