forked from len0rd/rockbox
The DMA controller issued a DMA IRQ immediately when started, making it skip the entire first audio block. Setting the DONE bit before initializing seems to fix this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8166 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dece047e31
commit
c9016f82e0
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ static void dma_stop(void)
|
|||
pcm_playing = false;
|
||||
|
||||
DCR0 = 0;
|
||||
DSR0 = 1;
|
||||
/* Reset the FIFO */
|
||||
IIS2CONFIG = IIS_RESET | IIS_DEFPARM(pcm_freq);
|
||||
#ifdef HAVE_SPDIF_OUT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue