forked from len0rd/rockbox
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
|
@ -276,13 +276,6 @@ static void sdl_audio_callback(struct pcm_udata *udata, Uint8 *stream, int len)
|
|||
SDL_UnlockMutex(audio_lock);
|
||||
}
|
||||
|
||||
const void * pcm_play_dma_get_peak_buffer(int *count)
|
||||
{
|
||||
uintptr_t addr = (uintptr_t)pcm_data;
|
||||
*count = pcm_data_size / 4;
|
||||
return (void *)((addr + 2) & ~3);
|
||||
}
|
||||
|
||||
#ifdef HAVE_RECORDING
|
||||
void pcm_rec_lock(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue