forked from len0rd/rockbox
Fix iPod Nano 2G channel swapping issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24589 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e95d603fba
commit
3d7983e5c7
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ static const void* dma_callback(void)
|
|||
get_more(&dma_start_addr, &nextsize);
|
||||
if (nextsize >= 4096)
|
||||
{
|
||||
dblbufsize = nextsize >> 4;
|
||||
dblbufsize = (nextsize >> 4) & ~3;
|
||||
nextsize = nextsize - dblbufsize;
|
||||
dblbuf = dma_start_addr + nextsize;
|
||||
dmamode = 0;
|
||||
|
@ -235,7 +235,7 @@ void pcm_play_dma_start(const void *addr_in, size_t size)
|
|||
clean_dcache();
|
||||
if (size >= 4096)
|
||||
{
|
||||
dblbufsize = size >> 4;
|
||||
dblbufsize = (size >> 4) & ~3;
|
||||
size = size - dblbufsize;
|
||||
dblbuf = addr + size;
|
||||
dmamode = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue