From 8ba6bb943889bfdd58cf4a971a152041c1199cfe Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Apr 2011 12:47:15 +0000 Subject: 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 --- src/engine/PortImpl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/engine/PortImpl.cpp') diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp index e0f4f405..62cc7577 100644 --- a/src/engine/PortImpl.cpp +++ b/src/engine/PortImpl.cpp @@ -36,8 +36,7 @@ using namespace std; using namespace Raul; namespace Ingen { - -using namespace Shared; +namespace Engine { PortImpl::PortImpl(BufferFactory& bufs, NodeImpl* const node, @@ -68,7 +67,7 @@ PortImpl::PortImpl(BufferFactory& bufs, if (_buffer_size == 0) _buffer_size = bufs.default_buffer_size(type); - const LV2URIMap& uris = bufs.uris(); + const Ingen::Shared::LV2URIMap& uris = bufs.uris(); add_property(uris.rdf_type, type.uri()); set_property(uris.lv2_index, Atom((int32_t)index)); set_context(_context); @@ -215,7 +214,7 @@ PortImpl::broadcast_value(Context& context, bool force) break; case PortType::VALUE: case PortType::MESSAGE: - LV2Atom::to_atom(_bufs.uris(), ((ObjectBuffer*)buffer(0).get())->atom(), val); + Ingen::Shared::LV2Atom::to_atom(_bufs.uris(), ((ObjectBuffer*)buffer(0).get())->atom(), val); break; } @@ -229,7 +228,7 @@ PortImpl::broadcast_value(Context& context, bool force) void PortImpl::set_context(Context::ID c) { - const LV2URIMap& uris = _bufs.uris(); + const Ingen::Shared::LV2URIMap& uris = _bufs.uris(); _context = c; switch (c) { case Context::AUDIO: @@ -248,4 +247,5 @@ PortImpl::buffer_type() const return *_types.begin(); } +} // namespace Engine } // namespace Ingen -- cgit v1.2.1