summaryrefslogtreecommitdiffstats
path: root/src/server/BufferFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-12 05:16:58 +0000
committerDavid Robillard <d@drobilla.net>2012-08-12 05:16:58 +0000
commit65a81eec8943dc0504b8b8755f9866ee4993372c (patch)
tree65ba6d09f13bee9c40fe5f82185174ce388134b0 /src/server/BufferFactory.cpp
parente49cb96073f514edbe1b7a9854b49c47af35463c (diff)
downloadingen-65a81eec8943dc0504b8b8755f9866ee4993372c.tar.gz
ingen-65a81eec8943dc0504b8b8755f9866ee4993372c.tar.bz2
ingen-65a81eec8943dc0504b8b8755f9866ee4993372c.zip
Remove message context cruft.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4668 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/BufferFactory.cpp')
-rw-r--r--src/server/BufferFactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/BufferFactory.cpp b/src/server/BufferFactory.cpp
index 98bb0def..a295611f 100644
--- a/src/server/BufferFactory.cpp
+++ b/src/server/BufferFactory.cpp
@@ -89,9 +89,9 @@ BufferFactory::default_size(LV2_URID type) const
}
BufferRef
-BufferFactory::get(Context& context,
- LV2_URID type,
+BufferFactory::get(LV2_URID type,
uint32_t capacity,
+ bool real_time,
bool force_create)
{
Raul::AtomicPtr<Buffer>& head_ptr = free_list(type);
@@ -108,7 +108,7 @@ BufferFactory::get(Context& context,
}
if (!try_head) {
- if (!_engine.is_process_context(context)) {
+ if (!real_time) {
return create(type, capacity);
} else {
assert(false);