summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-01-25 18:39:55 +0800
committerrekado <rekado@elephly.net>2013-01-25 18:39:55 +0800
commit5bb6420ff7c5dbcbc01a7e73fee26d2fa54dbe73 (patch)
treef97a5d7d5e3075625ce17cf2d99380775f274280
parent4c57d22039fa09de6a853849e8c41b633d2a19e8 (diff)
rearrange variables in header file
-rw-r--r--src/mdaPiano.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mdaPiano.h b/src/mdaPiano.h
index ca85b8f..af474b6 100644
--- a/src/mdaPiano.h
+++ b/src/mdaPiano.h
@@ -19,6 +19,11 @@ public:
free(samples);
}
+ bool sustain;
+ KGRP kgrp[16];
+ mdaPianoVoice *voices[NVOICES];
+ Sample *samples = (Sample*) malloc (15 * sizeof(Sample));
+
void load_kgrp(KGRP*);
void load_sample(Sample*, const char*);
@@ -29,12 +34,6 @@ public:
private:
void update(); //my parameter update
-
- ///global internal variables
- KGRP kgrp[16];
- mdaPianoVoice *voices[NVOICES];
- Sample *samples = (Sample*) malloc (15 * sizeof(Sample));
- uint32_t sustain;
};
#endif