summaryrefslogtreecommitdiff
path: root/src/mdaPiano.h
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-01-25 18:44:01 +0800
committerrekado <rekado@elephly.net>2013-01-25 18:44:01 +0800
commit261a8b277bce5459af3473d0dd2d83e19df5e6d8 (patch)
tree467afe7f496965a9e52e62100dad5424f1bb4b7f /src/mdaPiano.h
parentcfe52bc05343a7b830ef1b50e305bc167275084b (diff)
only use types in declarations
Diffstat (limited to 'src/mdaPiano.h')
-rw-r--r--src/mdaPiano.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mdaPiano.h b/src/mdaPiano.h
index 959a525..018dadb 100644
--- a/src/mdaPiano.h
+++ b/src/mdaPiano.h
@@ -11,7 +11,7 @@
class mdaPiano : public LV2::Synth<mdaPianoVoice, mdaPiano> {
public:
- mdaPiano(double rate);
+ mdaPiano(double);
~mdaPiano() {
for (unsigned char i = 0; i < 15; i++) {
free(samples[i].buffer);
@@ -28,7 +28,7 @@ public:
void load_sample(Sample*, const char*);
unsigned find_free_voice(unsigned char, unsigned char);
- void handle_midi(uint32_t size, unsigned char* data);
+ void handle_midi(uint32_t, unsigned char*);
void setVolume(float);
void update(void);
};