From fe2d52cc7d0180acff26349f2904fba854de6fbc Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 30 Oct 2020 20:30:27 -0400 Subject: 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 --- firmware/export/pcm-internal.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'firmware/export/pcm-internal.h') 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) #if defined(HAVE_SW_VOLUME_CONTROL) && !defined(PCM_SW_VOLUME_UNBUFFERED) void pcm_play_dma_start_int(const void *addr, size_t size); -void pcm_play_dma_pause_int(bool pause); void pcm_play_dma_stop_int(void); void pcm_play_stop_int(void); const void *pcm_play_dma_get_peak_buffer_int(int *count); @@ -139,7 +138,6 @@ void * pcm_dma_addr(void *addr); #endif extern volatile bool pcm_playing; -extern volatile bool pcm_paused; void pcm_play_dma_lock(void); void pcm_play_dma_unlock(void); @@ -147,7 +145,6 @@ void pcm_play_dma_init(void) INIT_ATTR; void pcm_play_dma_postinit(void); void pcm_play_dma_start(const void *addr, size_t size); void pcm_play_dma_stop(void); -void pcm_play_dma_pause(bool pause); const void * pcm_play_dma_get_peak_buffer(int *count); void pcm_dma_apply_settings(void); -- cgit v1.2.3