diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-25 14:03:44 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-25 14:07:41 +0000 |
commit | e532714d1f76ccdbd1dcfeb3b4579d324cb519c1 (patch) | |
tree | 588252314fd7910c49b60cece106d2c23e6fcef6 /firmware/target/arm/pcm-telechips.c | |
parent | 77ec7522485c0bf1f48669d6eca0d09366c3bbd7 (diff) | |
download | rockbox-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/pcm-telechips.c')
-rw-r--r-- | firmware/target/arm/pcm-telechips.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/pcm-telechips.c b/firmware/target/arm/pcm-telechips.c index ff550b14d6..336b5626ca 100644 --- a/firmware/target/arm/pcm-telechips.c +++ b/firmware/target/arm/pcm-telechips.c | |||
@@ -62,14 +62,6 @@ struct dma_data dma_play_data SHAREDBSS_ATTR = | |||
62 | .state = 0 | 62 | .state = 0 |
63 | }; | 63 | }; |
64 | 64 | ||
65 | const void * pcm_play_dma_get_peak_buffer(int *count) | ||
66 | { | ||
67 | unsigned long addr = (unsigned long)dma_play_data.p; | ||
68 | size_t cnt = dma_play_data.size; | ||
69 | *count = cnt >> 2; | ||
70 | return (void *)((addr + 2) & ~3); | ||
71 | } | ||
72 | |||
73 | void pcm_play_dma_init(void) | 65 | void pcm_play_dma_init(void) |
74 | { | 66 | { |
75 | DAVC = 0x0; /* Digital Volume = max */ | 67 | DAVC = 0x0; /* Digital Volume = max */ |