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:
parent
de310fba38
commit
7a5904cf1c
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue