diff options
author | rekado <rekado@elephly.net> | 2013-01-26 15:29:27 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-01-26 15:29:30 +0800 |
commit | 90b2b353382d3b2ea1235d2894052782f8e890d0 (patch) | |
tree | c02c387a02f816fb6ce28aec0119ec370fd34700 /src/mdaPiano.cpp | |
parent | 821e50aa0c2dba2fcfa46758c634585f6d70c509 (diff) |
switch to LV2 Toolkit (lvtoolkit.org)
lv2-c++-tools is apparently no longer maintained.
lvtk is a fork of lv2-c++-tools.
Diffstat (limited to 'src/mdaPiano.cpp')
-rw-r--r-- | src/mdaPiano.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp index 60224c0..a358988 100644 --- a/src/mdaPiano.cpp +++ b/src/mdaPiano.cpp @@ -20,7 +20,7 @@ #define STRING_BUF 2048 mdaPiano::mdaPiano(double rate) - : LV2::Synth<mdaPianoVoice, mdaPiano>(p_n_ports, p_midi) { + : lvtk::Synth<mdaPianoVoice, mdaPiano>(p_n_ports, p_midi) { sustain = 0; @@ -61,7 +61,7 @@ unsigned mdaPiano::find_free_voice(unsigned char key, unsigned char velocity) { // ... notes are sustained but not this new one // ... notes are not sustained for (unsigned i = 0; i < NVOICES; ++i) { - if (voices[i]->get_key() == LV2::INVALID_KEY) + if (voices[i]->get_key() == lvtk::INVALID_KEY) { return i; } |