summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Block.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 18:17:04 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 18:17:04 +0100
commitf0e33dd09a390ca946e95a6f55fea397dca0ca1f (patch)
tree8d8befb3c7196ae119efc95ed6cdf2ba9cc00c32 /src/server/LV2Block.hpp
parentd2143bb3298d94ebef62ed50d377e89533a02b42 (diff)
downloadingen-f0e33dd09a390ca946e95a6f55fea397dca0ca1f.tar.gz
ingen-f0e33dd09a390ca946e95a6f55fea397dca0ca1f.tar.bz2
ingen-f0e33dd09a390ca946e95a6f55fea397dca0ca1f.zip
Update for latest raul
Diffstat (limited to 'src/server/LV2Block.hpp')
-rw-r--r--src/server/LV2Block.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp
index 0e3e5995..c8f9e59a 100644
--- a/src/server/LV2Block.hpp
+++ b/src/server/LV2Block.hpp
@@ -41,9 +41,9 @@
#include <memory>
#include <mutex>
-namespace Raul {
+namespace raul {
class Symbol;
-} // namespace Raul
+} // namespace raul
namespace boost {
namespace intrusive {
@@ -81,7 +81,7 @@ class LV2Block final : public BlockImpl
{
public:
LV2Block(LV2Plugin* plugin,
- const Raul::Symbol& symbol,
+ const raul::Symbol& symbol,
bool polyphonic,
GraphImpl* parent,
SampleRate srate);
@@ -94,7 +94,7 @@ public:
bool save_state(const FilePath& dir) const override;
BlockImpl* duplicate(Engine& engine,
- const Raul::Symbol& symbol,
+ const raul::Symbol& symbol,
GraphImpl* parent) override;
bool prepare_poly(BufferFactory& bufs, uint32_t poly) override;
@@ -124,7 +124,7 @@ public:
static StatePtr load_state(World& world, const FilePath& path);
protected:
- struct Instance : public Raul::Noncopyable {
+ struct Instance : public raul::Noncopyable {
explicit Instance(LilvInstance* i) : instance(i) {}
~Instance() { lilv_instance_free(instance); }
@@ -139,9 +139,9 @@ protected:
return static_cast<LilvInstance*>((*_instances)[voice]->instance);
}
- using Instances = Raul::Array<std::shared_ptr<Instance>>;
+ using Instances = raul::Array<std::shared_ptr<Instance>>;
- static void drop_instances(const Raul::managed_ptr<Instances>& instances) {
+ static void drop_instances(const raul::managed_ptr<Instances>& instances) {
if (instances) {
for (size_t i = 0; i < instances->size(); ++i) {
(*instances)[i].reset();
@@ -149,8 +149,8 @@ protected:
}
}
- struct Response : public Raul::Maid::Disposable
- , public Raul::Noncopyable
+ struct Response : public raul::Maid::Disposable
+ , public raul::Noncopyable
, public boost::intrusive::slist_base_hook<>
{
inline Response(uint32_t s, const void* d)
@@ -177,8 +177,8 @@ protected:
LV2_Worker_Respond_Handle handle, uint32_t size, const void* data);
LV2Plugin* _lv2_plugin;
- Raul::managed_ptr<Instances> _instances;
- Raul::managed_ptr<Instances> _prepared_instances;
+ raul::managed_ptr<Instances> _instances;
+ raul::managed_ptr<Instances> _prepared_instances;
const LV2_Worker_Interface* _worker_iface;
std::mutex _work_mutex;
Responses _responses;