From 247c09beba4d5f606ce397cf26e0f9ee6b2d5df3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Dec 2017 18:45:36 +0100 Subject: Fix documentation warnings --- ingen/EngineBase.hpp | 2 +- src/server/Buffer.hpp | 3 +++ src/server/PortImpl.hpp | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp index 272faa47..c8154c4c 100644 --- a/ingen/EngineBase.hpp +++ b/ingen/EngineBase.hpp @@ -83,7 +83,7 @@ public: This function is only safe to call in sequential contexts, and runs both process thread and main iterations in lock-step. - @param Interval in milliseconds to sleep between each block. + @param sleep_ms Interval in milliseconds to sleep between each block. */ virtual void flush_events(const std::chrono::milliseconds& sleep_ms) = 0; diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp index bc8ff1aa..ed296e8b 100644 --- a/src/server/Buffer.hpp +++ b/src/server/Buffer.hpp @@ -65,7 +65,10 @@ public: typedef BufferRef (BufferFactory::*GetFn)(LV2_URID, LV2_URID, uint32_t); /** Set the buffer type and optional value type for this buffer. + * * @param get Called to get auxiliary buffers if necessary. + * @param type Type of buffer. + * @param value_type Type of values in buffer if applicable (for sequences). */ void set_type(GetFn get, LV2_URID type, LV2_URID value_type); diff --git a/src/server/PortImpl.hpp b/src/server/PortImpl.hpp index 5098fcbb..33c4adac 100644 --- a/src/server/PortImpl.hpp +++ b/src/server/PortImpl.hpp @@ -271,7 +271,6 @@ protected: * This is real-time safe only if `get` is as well, use in the real-time * thread should pass &BufferFactory::claim_buffer. * - * @param get Method used to get new buffers as necessary. * @return true iff buffers are locally owned by the port */ virtual bool get_buffers(BufferFactory& bufs, -- cgit v1.2.1