summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-15 05:35:51 +0000
committerDavid Robillard <d@drobilla.net>2011-09-15 05:35:51 +0000
commitba99f4ca92ea2e6cf8de51341489b0689223e1fc (patch)
tree5072eca0aefd46bba75404b70ac571c755fc3dcc
parentd4cf461177a0e0309cefc3d02910c51477a3c105 (diff)
downloadingen-ba99f4ca92ea2e6cf8de51341489b0689223e1fc.tar.gz
ingen-ba99f4ca92ea2e6cf8de51341489b0689223e1fc.tar.bz2
ingen-ba99f4ca92ea2e6cf8de51341489b0689223e1fc.zip
Tidy
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3463 a436a847-0d15-0410-975c-d299462d15a1
-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