diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/midi/midiplay.c | 4 | ||||
-rw-r--r-- | apps/plugins/midi/sequencer.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index 7a1176b1c9..0f79301338 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c | |||
@@ -92,7 +92,7 @@ struct MIDIfile * mf IBSS_ATTR; | |||
92 | int numberOfSamples IBSS_ATTR; | 92 | int numberOfSamples IBSS_ATTR; |
93 | long bpm IBSS_ATTR; | 93 | long bpm IBSS_ATTR; |
94 | 94 | ||
95 | long gmbuf[BUF_SIZE*NBUF]; | 95 | int32_t gmbuf[BUF_SIZE*NBUF]; |
96 | 96 | ||
97 | int quit=0; | 97 | int quit=0; |
98 | struct plugin_api * rb; | 98 | struct plugin_api * rb; |
@@ -147,7 +147,7 @@ bool lastswap=1; | |||
147 | 147 | ||
148 | inline void synthbuf(void) | 148 | inline void synthbuf(void) |
149 | { | 149 | { |
150 | long *outptr; | 150 | int32_t *outptr; |
151 | register int i; | 151 | register int i; |
152 | static int currentSample=0; | 152 | static int currentSample=0; |
153 | int synthtemp[2]; | 153 | int synthtemp[2]; |
diff --git a/apps/plugins/midi/sequencer.c b/apps/plugins/midi/sequencer.c index 473b7e4e2c..dbf238bfdd 100644 --- a/apps/plugins/midi/sequencer.c +++ b/apps/plugins/midi/sequencer.c | |||
@@ -76,7 +76,7 @@ long pitchTbl[]= | |||
76 | }; | 76 | }; |
77 | */ | 77 | */ |
78 | 78 | ||
79 | long pitchTbl[] ICONST_ATTR={ | 79 | const long pitchTbl[] ICONST_ATTR={ |
80 | 58386,58412,58439,58465,58491,58518,58544,58571,58597,58624,58650,58676, | 80 | 58386,58412,58439,58465,58491,58518,58544,58571,58597,58624,58650,58676, |
81 | 58703,58729,58756,58782,58809,58836,58862,58889,58915,58942,58968,58995, | 81 | 58703,58729,58756,58782,58809,58836,58862,58889,58915,58942,58968,58995, |
82 | 59022,59048,59075,59102,59128,59155,59182,59208,59235,59262,59289,59315, | 82 | 59022,59048,59075,59102,59128,59155,59182,59208,59235,59262,59289,59315, |