1
0
Fork 0
forked from len0rd/rockbox

pcm: Remove unused function pcm_play_dma_get_peak_buffer()

Change-Id: Ifd20fb14a22489cdb99154c01f69809a1e70d0c5
This commit is contained in:
Aidan MacDonald 2021-07-25 14:03:44 +01:00
parent 77ec752248
commit e532714d1f
23 changed files with 0 additions and 269 deletions

View file

@ -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)
{