summaryrefslogtreecommitdiffstats
path: root/src/engine/mix.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/mix.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/mix.hpp')
-rw-r--r--src/engine/mix.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/mix.hpp b/src/engine/mix.hpp
index a4cd16d8..792e4e94 100644
--- a/src/engine/mix.hpp
+++ b/src/engine/mix.hpp
@@ -18,11 +18,13 @@
#ifndef MIX_HPP
#define MIX_HPP
-#include <iostream>
+#include "raul/log.hpp"
#include "interface/PortType.hpp"
#include "Buffer.hpp"
#include "Context.hpp"
+using namespace Raul;
+
namespace Ingen {
inline void
@@ -74,7 +76,7 @@ mix(Context& context, Buffer* dst, const Buffer*const* srcs, uint32_t num_srcs)
break;
default:
- std::cerr << "ERROR: Mix of unsupported buffer types" << std::endl;
+ error << "Mix of unsupported buffer types" << std::endl;
return;
}
}