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/hosted/maemo/pcm-gstreamer.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/hosted/maemo/pcm-gstreamer.c')
-rw-r--r-- | firmware/target/hosted/maemo/pcm-gstreamer.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/hosted/maemo/pcm-gstreamer.c b/firmware/target/hosted/maemo/pcm-gstreamer.c index e2d57f9fab..33fa6d343f 100644 --- a/firmware/target/hosted/maemo/pcm-gstreamer.c +++ b/firmware/target/hosted/maemo/pcm-gstreamer.c | |||
@@ -191,14 +191,6 @@ static void feed_data(GstElement * appsrc, guint size_hint, void *unused) | |||
191 | unlock_audio(); | 191 | unlock_audio(); |
192 | } | 192 | } |
193 | 193 | ||
194 | const void * pcm_play_dma_get_peak_buffer(int *count) | ||
195 | { | ||
196 | uintptr_t addr = (uintptr_t)pcm_data; | ||
197 | *count = pcm_data_size / 4; | ||
198 | return (void *)((addr + 2) & ~3); | ||
199 | } | ||
200 | |||
201 | |||
202 | static gboolean | 194 | static gboolean |
203 | gst_bus_message (GstBus * bus, GstMessage * message, void *unused) | 195 | gst_bus_message (GstBus * bus, GstMessage * message, void *unused) |
204 | { | 196 | { |