as3525v1: fix r26444 which broke mic recording
commitb8de94927710888ffb9577031db9bd8ccc5f1b9f
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Mon, 7 Jun 2010 16:17:32 +0000 (7 16:17 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Mon, 7 Jun 2010 16:17:32 +0000 (7 16:17 +0000)
tree2de1f4a50c38ba077cf68e24998495d2e11669d2
parent3950bb0907a3b61d7fd4b2af0dc4f2432b276f02
as3525v1: fix r26444 which broke mic recording

preventing the DMA callback to advance in the recording buffer is not
enough in pcm_rec_dma_get_peak_buffer()
we need to prevent it interrupting us while we are copying the left
channel data into the right channel

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26663 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/pcm-as3525.c