forked from len0rd/rockbox
Now loads a megabyte and plays it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@533 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2990ed250c
commit
b74664f066
1 changed files with 3 additions and 2 deletions
|
@ -247,13 +247,14 @@ int main(void)
|
|||
debugf("Couldn't open file\n");
|
||||
}
|
||||
|
||||
i = read(f, mp3buf, 200000);
|
||||
i = read(f, mp3buf, 1000000);
|
||||
debugf("Read %d bytes\n", i);
|
||||
|
||||
mp3datalen = i;
|
||||
|
||||
ata_spindown(-1);
|
||||
|
||||
|
||||
debugf("bit swapping...\n");
|
||||
for(i = 0;i < mp3datalen;i++)
|
||||
{
|
||||
mp3buf[i] = fliptable[mp3buf[i]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue