mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05: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
|
|
@ -263,18 +263,6 @@ void INT_HDMA(void)
|
|||
}
|
||||
}
|
||||
|
||||
const void * pcm_play_dma_get_peak_buffer(int *count)
|
||||
{
|
||||
uint32_t addr;
|
||||
|
||||
int old = disable_irq_save();
|
||||
addr = HDMA_CSRC0;
|
||||
*count = ((HDMA_CCNT0 & 0xffff)<<2);
|
||||
restore_interrupt(old);
|
||||
|
||||
return (void*)addr;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
** Recording DMA transfer
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue