diff options
Diffstat (limited to 'firmware/target/hosted/sdl/pcm-sdl.c')
-rw-r--r-- | firmware/target/hosted/sdl/pcm-sdl.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/firmware/target/hosted/sdl/pcm-sdl.c b/firmware/target/hosted/sdl/pcm-sdl.c index 7297e94340..940403002f 100644 --- a/firmware/target/hosted/sdl/pcm-sdl.c +++ b/firmware/target/hosted/sdl/pcm-sdl.c | |||
@@ -276,13 +276,6 @@ static void sdl_audio_callback(struct pcm_udata *udata, Uint8 *stream, int len) | |||
276 | SDL_UnlockMutex(audio_lock); | 276 | SDL_UnlockMutex(audio_lock); |
277 | } | 277 | } |
278 | 278 | ||
279 | const void * pcm_play_dma_get_peak_buffer(int *count) | ||
280 | { | ||
281 | uintptr_t addr = (uintptr_t)pcm_data; | ||
282 | *count = pcm_data_size / 4; | ||
283 | return (void *)((addr + 2) & ~3); | ||
284 | } | ||
285 | |||
286 | #ifdef HAVE_RECORDING | 279 | #ifdef HAVE_RECORDING |
287 | void pcm_rec_lock(void) | 280 | void pcm_rec_lock(void) |
288 | { | 281 | { |