summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/PortImpl.cpp4
-rw-r--r--src/server/PortImpl.hpp25
2 files changed, 13 insertions, 16 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index d7b7e569..7d309bc3 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -56,12 +56,12 @@ PortImpl::PortImpl(BufferFactory& bufs,
, _buffer_size(buffer_size)
, _buffer_type(type)
, _value(value)
- , _broadcast(false)
- , _set_by_user(false)
, _last_broadcasted_value(value)
, _context(Context::AUDIO)
, _buffers(new Array<BufferFactory::Ref>(static_cast<size_t>(poly)))
, _prepared_buffers(NULL)
+ , _broadcast(false)
+ , _set_by_user(false)
{
_types.insert(type);
assert(node != NULL);
diff --git a/src/server/PortImpl.hpp b/src/server/PortImpl.hpp
index 4bd52d88..d9540bb2 100644
--- a/src/server/PortImpl.hpp
+++ b/src/server/PortImpl.hpp
@@ -149,26 +149,23 @@ protected:
const Raul::Symbol& name,
uint32_t index,
uint32_t poly,
- PortType type,
+ PortType type,
const Raul::Atom& value,
size_t buffer_size);
- BufferFactory& _bufs;
- uint32_t _index;
- uint32_t _poly;
- uint32_t _buffer_size;
- PortType _buffer_type;
- std::set<PortType> _types;
- Raul::Atom _value;
- bool _broadcast;
- bool _set_by_user;
- Raul::Atom _last_broadcasted_value;
-
+ BufferFactory& _bufs;
+ uint32_t _index;
+ uint32_t _poly;
+ uint32_t _buffer_size;
+ PortType _buffer_type;
+ std::set<PortType> _types;
+ Raul::Atom _value;
+ Raul::Atom _last_broadcasted_value;
Context::ID _context;
Raul::Array<BufferFactory::Ref>* _buffers;
-
- // Dynamic polyphony
Raul::Array<BufferFactory::Ref>* _prepared_buffers;
+ bool _broadcast;
+ bool _set_by_user;
};
} // namespace Server