summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/ibasso/pcm-ibasso.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/ibasso/pcm-ibasso.c')
-rw-r--r--firmware/target/hosted/ibasso/pcm-ibasso.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/firmware/target/hosted/ibasso/pcm-ibasso.c b/firmware/target/hosted/ibasso/pcm-ibasso.c
index e31732431b..5c68ded3e1 100644
--- a/firmware/target/hosted/ibasso/pcm-ibasso.c
+++ b/firmware/target/hosted/ibasso/pcm-ibasso.c
@@ -439,17 +439,6 @@ void pcm_dma_apply_settings(void)
}
}
-/* TODO: WTF */
-const void* pcm_play_dma_get_peak_buffer(int* count)
-{
- TRACE;
-
- uintptr_t addr = (uintptr_t) _pcm_buffer;
- *count = _pcm_buffer_size / 4;
- return (void*) ((addr + 3) & ~3);
-}
-
-
void pcm_close_device(void)
{
TRACE;