mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
pcm: Remove unused function pcm_play_dma_get_peak_buffer()
Change-Id: Ifd20fb14a22489cdb99154c01f69809a1e70d0c5
This commit is contained in:
parent
77ec752248
commit
e532714d1f
23 changed files with 0 additions and 269 deletions
|
@ -285,23 +285,6 @@ void pcm_play_dma_stop_int(void)
|
|||
src_buf_rem = 0;
|
||||
}
|
||||
|
||||
/* Return playing buffer from the source buffer */
|
||||
const void * pcm_play_dma_get_peak_buffer_int(int *count)
|
||||
{
|
||||
const void *addr = src_buf_addr;
|
||||
size_t size = src_buf_rem;
|
||||
const void *addr2 = src_buf_addr;
|
||||
|
||||
if (addr == addr2 && size)
|
||||
{
|
||||
*count = size / PCM_SAMPLE_SIZE;
|
||||
return addr;
|
||||
}
|
||||
|
||||
*count = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* PCM_SW_VOLUME_UNBUFFERED */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue