summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Buffer.cpp')
-rw-r--r--src/server/Buffer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp
index eef594a3..fa59fe19 100644
--- a/src/server/Buffer.cpp
+++ b/src/server/Buffer.cpp
@@ -44,8 +44,7 @@ Buffer::Buffer(BufferFactory& bufs,
LV2_URID type,
LV2_URID value_type,
uint32_t capacity,
- bool external,
- void* buf)
+ bool external)
: _factory(bufs)
, _next(nullptr)
, _buf(external ? nullptr : aligned_alloc(capacity))
@@ -263,7 +262,7 @@ Buffer::peak(const RunContext& context) const
}
void
-Buffer::prepare_write(RunContext& context)
+Buffer::prepare_write(RunContext&)
{
if (_type == _factory.uris().atom_Sequence) {
LV2_Atom* atom = get<LV2_Atom>();
@@ -275,7 +274,7 @@ Buffer::prepare_write(RunContext& context)
}
void
-Buffer::prepare_output_write(RunContext& context)
+Buffer::prepare_output_write(RunContext&)
{
if (_type == _factory.uris().atom_Sequence) {
LV2_Atom* atom = get<LV2_Atom>();