summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-07-25 14:03:44 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-07-25 14:07:41 +0000
commite532714d1f76ccdbd1dcfeb3b4579d324cb519c1 (patch)
tree588252314fd7910c49b60cece106d2c23e6fcef6 /firmware/target/arm/imx233
parent77ec7522485c0bf1f48669d6eca0d09366c3bbd7 (diff)
downloadrockbox-e532714d1f76ccdbd1dcfeb3b4579d324cb519c1.tar.gz
rockbox-e532714d1f76ccdbd1dcfeb3b4579d324cb519c1.zip
pcm: Remove unused function pcm_play_dma_get_peak_buffer()
Change-Id: Ifd20fb14a22489cdb99154c01f69809a1e70d0c5
Diffstat (limited to 'firmware/target/arm/imx233')
-rw-r--r--firmware/target/arm/imx233/pcm-imx233.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/firmware/target/arm/imx233/pcm-imx233.c b/firmware/target/arm/imx233/pcm-imx233.c
index c06120e4aa..4738485b3d 100644
--- a/firmware/target/arm/imx233/pcm-imx233.c
+++ b/firmware/target/arm/imx233/pcm-imx233.c
@@ -175,17 +175,6 @@ void pcm_dma_apply_settings(void)
pcm_play_unlock();
}
-const void *pcm_play_dma_get_peak_buffer(int *count)
-{
- if(!dac_freezed)
- imx233_dma_freeze_channel(APB_AUDIO_DAC, true);
- struct imx233_dma_info_t info = imx233_dma_get_info(APB_AUDIO_DAC, DMA_INFO_AHB_BYTES | DMA_INFO_BAR);
- if(!dac_freezed)
- imx233_dma_freeze_channel(APB_AUDIO_DAC, false);
- *count = info.ahb_bytes;
- return (void *)info.bar;
-}
-
/*
* Recording
*/