summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
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