Get rid of some pcm_apply_settings cruft at the low level I somehow missed. Move the ones in pcm.c around to better spots. Remove a variable from pcm-pnx0101.c that should no longer be there.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19402 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-12-12 12:46:57 +00:00
parent 4bbaef6fd5
commit b6e78acc5e
9 changed files with 11 additions and 37 deletions

View file

@ -96,7 +96,6 @@ void pcm_play_dma_init(void)
void pcm_postinit(void)
{
audiohw_postinit();
pcm_apply_settings();
}
void pcm_dma_apply_settings(void)
@ -110,8 +109,6 @@ static void play_start_pcm(void)
/* clear pending DMA interrupt */
SRCPND = DMA2_MASK;
pcm_apply_settings();
/* Flush any pending writes */
clean_dcache_range((void*)DISRC2, (DCON2 & 0xFFFFF) * 2);