diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-11-11 23:20:19 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-11-12 15:59:09 +0000 |
commit | 388adff3cc4ab8584c2c99f9bc5ad7e309281d5e (patch) | |
tree | 8b05c374e6ace0ebf7c51641eff56e941de27df4 /firmware/target/coldfire | |
parent | 1a68856f52f1b6dc89863758404e54c744fcf53a (diff) | |
download | rockbox-388adff3cc4ab8584c2c99f9bc5ad7e309281d5e.tar.gz rockbox-388adff3cc4ab8584c2c99f9bc5ad7e309281d5e.zip |
pcm: Further cleanup of unused bits of the PCM ACPI:
* pcm_get_bytes_remaining()
* pcm_calculate_peaks()
* pcm_get_peak_buffer()
Nothing in-tree uses these at all (except for the lua plugin wrapper)
Change-Id: I971b7beed6760250c8b1ce58f401a601e1e2d585
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r-- | firmware/target/coldfire/pcm-coldfire.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c index 10f9ea931f..c45219297c 100644 --- a/firmware/target/coldfire/pcm-coldfire.c +++ b/firmware/target/coldfire/pcm-coldfire.c | |||
@@ -264,11 +264,6 @@ void pcm_play_dma_stop(void) | |||
264 | dma_play_lock.state = (1 << 14); | 264 | dma_play_lock.state = (1 << 14); |
265 | } /* pcm_play_dma_stop */ | 265 | } /* pcm_play_dma_stop */ |
266 | 266 | ||
267 | size_t pcm_get_bytes_waiting(void) | ||
268 | { | ||
269 | return BCR0 & 0xffffff; | ||
270 | } /* pcm_get_bytes_waiting */ | ||
271 | |||
272 | /* DMA0 Interrupt is called when the DMA has finished transfering a chunk | 267 | /* DMA0 Interrupt is called when the DMA has finished transfering a chunk |
273 | from the caller's buffer */ | 268 | from the caller's buffer */ |
274 | void DMA0(void) __attribute__ ((interrupt_handler, section(".icode"))); | 269 | void DMA0(void) __attribute__ ((interrupt_handler, section(".icode"))); |