diff options
author | rekado <rekado@elephly.net> | 2013-01-14 17:48:55 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-01-14 17:49:01 +0800 |
commit | 56d747d314ec5fc6fbf16b2badd580f7a3afc26b (patch) | |
tree | 123d25111147c4cd7e383ae4f7e89255955859bf | |
parent | 5c4ffbf20ac7ea4ab1288fb1e36e681852fd45b9 (diff) |
rename LV2::Synth parameters
-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 a390106..1a8f160 100644 --- a/src/mdaPiano.cpp +++ b/src/mdaPiano.cpp @@ -24,8 +24,8 @@ static const char* sample_file = "samples.raw"; mdaPiano::mdaPiano(double rate) - : LV2::Synth<mdaPianoVoice, mdaPiano>(NPROGS, NPARAMS) -{ + : LV2::Synth<mdaPianoVoice, mdaPiano>(p_n_ports, p_midi) { + cmax = 0x7F; //just in case... load_samples(&waves); |