forked from len0rd/rockbox
no need to prefill the i2s fifo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11856 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
23a0823b84
commit
5dc0abda11
1 changed files with 0 additions and 7 deletions
|
@ -133,13 +133,6 @@ void pcm_play_dma_start(const void *addr, size_t size)
|
||||||
/* connect DMA to the FIFO and enable the FIFO */
|
/* connect DMA to the FIFO and enable the FIFO */
|
||||||
IISFCON = (1<<15) | (1<<13);
|
IISFCON = (1<<15) | (1<<13);
|
||||||
|
|
||||||
/* prefill the FIFO with half words */
|
|
||||||
for (i=0; i < IIS_FIFO_SIZE; i+=2)
|
|
||||||
{
|
|
||||||
IISFIFO = *p++;
|
|
||||||
p_size -= 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* set DMA dest */
|
/* set DMA dest */
|
||||||
DIDST2 = (int)&IISFIFO;
|
DIDST2 = (int)&IISFIFO;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue