S5L870x: Implement pcm_play_dma_get_peak_buffer

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23129 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sparmann 2009-10-12 11:58:36 +00:00
parent de310fba38
commit 7a5904cf1c

View file

@ -256,9 +256,8 @@ size_t pcm_get_bytes_waiting(void)
const void * pcm_play_dma_get_peak_buffer(int *count) const void * pcm_play_dma_get_peak_buffer(int *count)
{ {
/* currently not supported */ *count = DMACTCNT0 >> 1;
*count = 0; return (void *)((DMACADDR0 + 2) & ~3);
return 0;
} }
#ifdef HAVE_PCM_DMA_ADDRESS #ifdef HAVE_PCM_DMA_ADDRESS