summaryrefslogtreecommitdiff
path: root/firmware/export/pcm-internal.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-30 20:30:27 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-31 01:18:27 +0000
commitfe2d52cc7d0180acff26349f2904fba854de6fbc (patch)
tree62dbbe9a6e6ebc011e8e02f7428b8f620a83f698 /firmware/export/pcm-internal.h
parent2d85c7215169780168032617603e9e7b06d7ba25 (diff)
downloadrockbox-fe2d52cc7d0180acff26349f2904fba854de6fbc.tar.gz
rockbox-fe2d52cc7d0180acff26349f2904fba854de6fbc.zip
pcm: Get rid of pcm_play_pause() and associated APIs
Nothing in the core has used it for some time. It's exported to the plugin API but the last plugins to use it were switched to the mixer API back in 2011. This allows us to get rid of pcm_play_dma_pause() from all audio drivers Change-Id: Ic3fa02592316f84963e41d792d1cabb436d1ff6b
Diffstat (limited to 'firmware/export/pcm-internal.h')
-rw-r--r--firmware/export/pcm-internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/export/pcm-internal.h b/firmware/export/pcm-internal.h
index 7670f99f04..d5d46c33e1 100644
--- a/firmware/export/pcm-internal.h
+++ b/firmware/export/pcm-internal.h
@@ -119,7 +119,6 @@ pcm_play_dma_status_callback(enum pcm_dma_status status)
119 119
120#if defined(HAVE_SW_VOLUME_CONTROL) && !defined(PCM_SW_VOLUME_UNBUFFERED) 120#if defined(HAVE_SW_VOLUME_CONTROL) && !defined(PCM_SW_VOLUME_UNBUFFERED)
121void pcm_play_dma_start_int(const void *addr, size_t size); 121void pcm_play_dma_start_int(const void *addr, size_t size);
122void pcm_play_dma_pause_int(bool pause);
123void pcm_play_dma_stop_int(void); 122void pcm_play_dma_stop_int(void);
124void pcm_play_stop_int(void); 123void pcm_play_stop_int(void);
125const void *pcm_play_dma_get_peak_buffer_int(int *count); 124const void *pcm_play_dma_get_peak_buffer_int(int *count);
@@ -139,7 +138,6 @@ void * pcm_dma_addr(void *addr);
139#endif 138#endif
140 139
141extern volatile bool pcm_playing; 140extern volatile bool pcm_playing;
142extern volatile bool pcm_paused;
143 141
144void pcm_play_dma_lock(void); 142void pcm_play_dma_lock(void);
145void pcm_play_dma_unlock(void); 143void pcm_play_dma_unlock(void);
@@ -147,7 +145,6 @@ void pcm_play_dma_init(void) INIT_ATTR;
147void pcm_play_dma_postinit(void); 145void pcm_play_dma_postinit(void);
148void pcm_play_dma_start(const void *addr, size_t size); 146void pcm_play_dma_start(const void *addr, size_t size);
149void pcm_play_dma_stop(void); 147void pcm_play_dma_stop(void);
150void pcm_play_dma_pause(bool pause);
151const void * pcm_play_dma_get_peak_buffer(int *count); 148const void * pcm_play_dma_get_peak_buffer(int *count);
152 149
153void pcm_dma_apply_settings(void); 150void pcm_dma_apply_settings(void);