1
0
Fork 0
forked from len0rd/rockbox

Fix midi playback on 64 bit sims and const a table

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14842 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-09-24 16:47:34 +00:00
parent 0e49605aaa
commit ff7b3c5e4e
2 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ struct MIDIfile * mf IBSS_ATTR;
int numberOfSamples IBSS_ATTR;
long bpm IBSS_ATTR;
long gmbuf[BUF_SIZE*NBUF];
int32_t gmbuf[BUF_SIZE*NBUF];
int quit=0;
struct plugin_api * rb;
@ -147,7 +147,7 @@ bool lastswap=1;
inline void synthbuf(void)
{
long *outptr;
int32_t *outptr;
register int i;
static int currentSample=0;
int synthtemp[2];

View file

@ -76,7 +76,7 @@ long pitchTbl[]=
};
*/
long pitchTbl[] ICONST_ATTR={
const long pitchTbl[] ICONST_ATTR={
58386,58412,58439,58465,58491,58518,58544,58571,58597,58624,58650,58676,
58703,58729,58756,58782,58809,58836,58862,58889,58915,58942,58968,58995,
59022,59048,59075,59102,59128,59155,59182,59208,59235,59262,59289,59315,