summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-23 02:14:19 +0000
committerDavid Robillard <d@drobilla.net>2012-05-23 02:14:19 +0000
commit1fda196ac1ad416d39531c52724cec287756c385 (patch)
treef581dbf36e084c77e8c99f00b69458cbd93fa811 /src/server
parent1046c926c89dec8219fe7f94a7739b1f8a0e6277 (diff)
downloadingen-1fda196ac1ad416d39531c52724cec287756c385.tar.gz
ingen-1fda196ac1ad416d39531c52724cec287756c385.tar.bz2
ingen-1fda196ac1ad416d39531c52724cec287756c385.zip
Fix more debug logging stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4444 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/internals/Note.cpp2
-rw-r--r--src/server/internals/Trigger.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp
index 09b667c1..923b70c0 100644
--- a/src/server/internals/Note.cpp
+++ b/src/server/internals/Note.cpp
@@ -349,7 +349,7 @@ NoteNode::free_voice(ProcessContext& context, uint32_t voice, FrameTime time)
} else {
// No new note for voice, deactivate (set gate low)
#ifdef NOTE_DEBUG
- LOG(Raul::debug) << "Note off: key " << (*_voices)[voice].note << " voice " << voice << endl;
+ LOG(Raul::debug) << "Note off: key " << (int)(*_voices)[voice].note << " voice " << voice << endl;
#endif
((AudioBuffer*)_gate_port->buffer(voice).get())->set_value(0.0f, context.start(), time);
(*_voices)[voice].state = Voice::FREE;
diff --git a/src/server/internals/Trigger.cpp b/src/server/internals/Trigger.cpp
index 3c33f958..36f80dd6 100644
--- a/src/server/internals/Trigger.cpp
+++ b/src/server/internals/Trigger.cpp
@@ -141,7 +141,7 @@ TriggerNode::note_on(ProcessContext& context, uint8_t note_num, uint8_t velocity
}
#ifdef RAUL_LOG_DEBUG
- LOG(debug) << path() << " note " << (int)note_num << " on @ " << time << endl;
+ LOG(Raul::debug) << path() << " note " << (int)note_num << " on @ " << time << endl;
#endif
Sample filter_note = ((AudioBuffer*)_note_port->buffer(0).get())->value_at(0);