summaryrefslogtreecommitdiffstats
path: root/src/engine/LV2ResizeFeature.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-06 23:49:17 +0000
committerDavid Robillard <d@drobilla.net>2010-01-06 23:49:17 +0000
commitcb5e934666e128e27faa95587fbdecf01f0e324d (patch)
tree1e694e2812381efbb3eb4b5ace2cdecc118b29f6 /src/engine/LV2ResizeFeature.hpp
parent092eb35edb999a9dd809e197d7dd9a4ebb0d6bd5 (diff)
downloadingen-cb5e934666e128e27faa95587fbdecf01f0e324d.tar.gz
ingen-cb5e934666e128e27faa95587fbdecf01f0e324d.tar.bz2
ingen-cb5e934666e128e27faa95587fbdecf01f0e324d.zip
Do all logging output via Raul streams.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2349 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/LV2ResizeFeature.hpp')
-rw-r--r--src/engine/LV2ResizeFeature.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/LV2ResizeFeature.hpp b/src/engine/LV2ResizeFeature.hpp
index 90452552..723d9447 100644
--- a/src/engine/LV2ResizeFeature.hpp
+++ b/src/engine/LV2ResizeFeature.hpp
@@ -18,12 +18,13 @@
#ifndef LV2_RESIZE_FEATURE_H
#define LV2_RESIZE_FEATURE_H
-#include <iostream>
+#include "raul/log.hpp"
#include "shared/LV2Features.hpp"
#include "NodeImpl.hpp"
#include "PortImpl.hpp"
using namespace std;
+using namespace Raul;
namespace Ingen {
@@ -34,7 +35,7 @@ struct ResizeFeature : public Shared::LV2Features::Feature {
NodeImpl* node = (NodeImpl*)data;
PortImpl* port = node->port_impl(index);
if (port->context() == Context::MESSAGE) {
- cout << "Resizing " << port->path() << " to " << size << " bytes" << endl;
+ info << "Resizing " << port->path() << " to " << size << " bytes" << endl;
port->buffer(0)->resize(size);
port->connect_buffers();
return true;