diff options
author | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
commit | 8ba6bb943889bfdd58cf4a971a152041c1199cfe (patch) | |
tree | 91fbe8577e6d01070aa81f532ddd8102db1476f5 /src/engine/EventBuffer.hpp | |
parent | 3cd3bfe5079f84fafb7dc217f5393d6ba947109c (diff) | |
download | ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.gz ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.bz2 ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.zip |
Put engine code in new Ingen::Engine namespace.
Put core interfaces in Ingen namespace (not Ingen::Shared).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3159 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/EventBuffer.hpp')
-rw-r--r-- | src/engine/EventBuffer.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/EventBuffer.hpp b/src/engine/EventBuffer.hpp index bad599ff..16f5afbe 100644 --- a/src/engine/EventBuffer.hpp +++ b/src/engine/EventBuffer.hpp @@ -25,14 +25,15 @@ #include "Buffer.hpp" namespace Ingen { +namespace Engine { class EventBuffer : public Buffer { public: EventBuffer(BufferFactory& bufs, size_t capacity); ~EventBuffer(); - void* port_data(Shared::PortType port_type, SampleCount offset=0) { return _data; } - const void* port_data(Shared::PortType port_type, SampleCount offset=0) const { return _data; } + void* port_data(PortType port_type, SampleCount offset=0) { return _data; } + const void* port_data(PortType port_type, SampleCount offset=0) const { return _data; } inline void rewind() const { lv2_event_begin(&_iter, _data); } @@ -79,6 +80,7 @@ private: uint32_t _latest_subframes; ///< Latest time of all events (subframes) }; +} // namespace Engine } // namespace Ingen #endif // INGEN_ENGINE_EVENTBUFFER_HPP |