diff options
author | rekado <rekado@elephly.net> | 2013-01-16 08:18:35 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-01-16 08:18:35 +0800 |
commit | 3bae19eb9196300b9ad89becabaff72313dd0d82 (patch) | |
tree | b31fbafe8ecda02fccb9756c185423ad4c206173 /src/mdaPiano.cpp | |
parent | e21d94d5ec2e15bd5d2ce60cf55ea962a1c951eb (diff) |
move cmax constant to where it is used
Diffstat (limited to 'src/mdaPiano.cpp')
-rw-r--r-- | src/mdaPiano.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp index fbd0665..a47e912 100644 --- a/src/mdaPiano.cpp +++ b/src/mdaPiano.cpp @@ -27,8 +27,6 @@ static const char* sample_file = "samples.raw"; mdaPiano::mdaPiano(double rate) : LV2::Synth<mdaPianoVoice, mdaPiano>(p_n_ports, p_midi) { - cmax = 0x7F; //just in case... - load_samples(&waves); load_kgrp(kgrp); |