summaryrefslogtreecommitdiff
path: root/src/mdaPiano.cpp
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-01-14 21:55:19 +0800
committerrekado <rekado@elephly.net>2013-01-14 21:55:41 +0800
commit4ef1f4938d535899fea142eaa84e4f2d36ce56dc (patch)
treec26bd22013146976f88d3b77b8004350e15bfac9 /src/mdaPiano.cpp
parenta05e7ee521b3273f67bfea530cbaadf1f1b0fa3d (diff)
move voice parameters to mdaPianoVoice
Diffstat (limited to 'src/mdaPiano.cpp')
-rw-r--r--src/mdaPiano.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp
index a015439..a3c0311 100644
--- a/src/mdaPiano.cpp
+++ b/src/mdaPiano.cpp
@@ -38,8 +38,7 @@ mdaPiano::mdaPiano(double rate)
}
notes[0] = EVENTS_DONE;
- cpos = sustain = activevoices = 0;
- comb = new float[256];
+ sustain = activevoices = 0;
update();
}