summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-17 04:57:59 +0000
committerDavid Robillard <d@drobilla.net>2013-12-17 04:57:59 +0000
commit73f6522b1c60286d35aa64739664273119fb6eb3 (patch)
tree9304f13ed176c41695c2c822144c906ee29b7260 /src/server/PortImpl.cpp
parentcac1263b0bec8a368b28c0a47e4bbb18f1aae958 (diff)
downloadingen-73f6522b1c60286d35aa64739664273119fb6eb3.tar.gz
ingen-73f6522b1c60286d35aa64739664273119fb6eb3.tar.bz2
ingen-73f6522b1c60286d35aa64739664273119fb6eb3.zip
Fix atom vector communication (patch from Robin Gareus, #941).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5175 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r--src/server/PortImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index 0fc73649..e5a91b32 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -33,7 +33,7 @@ using namespace std;
namespace Ingen {
namespace Server {
-static const uint32_t monitor_rate = 10.0; // Hz
+static const uint32_t monitor_rate = 25.0; // Hz
/** The length of time between monitor updates in frames */
static inline uint32_t
@@ -119,7 +119,7 @@ PortImpl::set_type(PortType port_type, LV2_URID buffer_type)
break;
}
}
- _buffer_size = _bufs.default_size(_buffer_type);
+ _buffer_size = std::max(_buffer_size, _bufs.default_size(_buffer_type));
}
bool