From 092eb35edb999a9dd809e197d7dd9a4ebb0d6bd5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 6 Jan 2010 18:33:54 +0000 Subject: Fix error message. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2346 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/ConnectionImpl.cpp | 2 +- src/engine/JackDriver.cpp | 2 ++ src/engine/JackDriver.hpp | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/ConnectionImpl.cpp b/src/engine/ConnectionImpl.cpp index c80b8000..47fdce36 100644 --- a/src/engine/ConnectionImpl.cpp +++ b/src/engine/ConnectionImpl.cpp @@ -112,7 +112,7 @@ ConnectionImpl::process(Context& context) IntrusivePtr local_buf = PtrCast(_local_buffer); if (!local_buf) { - cerr << "ERROR: Queued connection but source is not an EventBuffer" << endl; + cerr << "ERROR: Queued connection but local buffer is not an ObjectBuffer" << endl; return; } diff --git a/src/engine/JackDriver.cpp b/src/engine/JackDriver.cpp index 679887d7..9102cbe5 100644 --- a/src/engine/JackDriver.cpp +++ b/src/engine/JackDriver.cpp @@ -43,6 +43,8 @@ using namespace std; using namespace Raul; +typedef jack_default_audio_sample_t jack_sample_t; + namespace Ingen { diff --git a/src/engine/JackDriver.hpp b/src/engine/JackDriver.hpp index cd9e3a8d..e120d74e 100644 --- a/src/engine/JackDriver.hpp +++ b/src/engine/JackDriver.hpp @@ -37,7 +37,6 @@ class PatchImpl; class PortImpl; class DuplexPort; class JackDriver; -typedef jack_default_audio_sample_t jack_sample_t; /** Used internally by JackDriver to represent a Jack port. -- cgit v1.2.1