summaryrefslogtreecommitdiffstats
path: root/src/engine/MidiNoteNode.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-18 21:33:59 +0000
committerDavid Robillard <d@drobilla.net>2008-10-18 21:33:59 +0000
commit2d0f699e5ddaab31e936d3c76cbc59cef487987d (patch)
treed718003782ab00dc89249eed6d370f86aa782796 /src/engine/MidiNoteNode.cpp
parenta4876d30d938322a48537be2d29e73fb64174c0a (diff)
downloadingen-2d0f699e5ddaab31e936d3c76cbc59cef487987d.tar.gz
ingen-2d0f699e5ddaab31e936d3c76cbc59cef487987d.tar.bz2
ingen-2d0f699e5ddaab31e936d3c76cbc59cef487987d.zip
Lower glib/glibmm dependency to 2.14.
Fix optional parameters all over the palce because waf is retarded and sets failed check variables to ##some#stupid#name#like#this instead of false. Portability fixes (Ingen (except GUI) and all dependencies builds on OSX). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1681 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/MidiNoteNode.cpp')
-rw-r--r--src/engine/MidiNoteNode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/MidiNoteNode.cpp b/src/engine/MidiNoteNode.cpp
index 5d966e75..5b6da263 100644
--- a/src/engine/MidiNoteNode.cpp
+++ b/src/engine/MidiNoteNode.cpp
@@ -213,7 +213,7 @@ MidiNoteNode::note_on(ProcessContext& context, uchar note_num, uchar velocity, F
if (voice == NULL) {
voice_num = 0;
voice = &(*_voices)[0];
- jack_nframes_t oldest_time = (*_voices)[0].time;
+ FrameTime oldest_time = (*_voices)[0].time;
for (uint32_t i=1; i < _polyphony; ++i) {
if ((*_voices)[i].time < oldest_time) {
voice = &(*_voices)[i];