forked from len0rd/rockbox
Increase output buffer size to 32kB, results in less buffer missing in general and avoids buffer misses when lcd remote is plugged in while playing and ticking reduction is enabled. Increase max voices used on coldfire targets to 24 and reduce voices used on pp targets to 16. Put one more struct in iram for a slight speedup on coldfire. Fix comments in midiutil.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14984 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e1940b87b0
commit
ca46a3d095
2 changed files with 22 additions and 15 deletions
|
|
@ -191,9 +191,12 @@ int readEvent(int file, void * dest)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int curr_track = 0;
|
||||
struct Track tracks[48] IBSS_ATTR;
|
||||
|
||||
struct Track * readTrack(int file)
|
||||
{
|
||||
struct Track * trk = (struct Track *)malloc(sizeof(struct Track));
|
||||
struct Track * trk = &tracks[curr_track++];
|
||||
rb->memset(trk, 0, sizeof(struct Track));
|
||||
|
||||
trk->size = readFourBytes(file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue