summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/pcm-as3525.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/firmware/target/arm/as3525/pcm-as3525.c b/firmware/target/arm/as3525/pcm-as3525.c
index ddb4d86bd4..90b6aabd7c 100644
--- a/firmware/target/arm/as3525/pcm-as3525.c
+++ b/firmware/target/arm/as3525/pcm-as3525.c
@@ -152,26 +152,6 @@ void pcm_play_dma_stop(void)
play_callback_pending = false;
}
-void pcm_play_dma_pause(bool pause)
-{
- is_playing = !pause;
-
- if(pause)
- {
- dma_pause_channel(0);
-
- /* if producer's buffer finished, upper layer starts anew */
- if (dma_rem_size == 0)
- play_callback_pending = false;
- }
- else
- {
- if (play_sub_size != 0)
- dma_resume_channel(0);
- /* else unlock calls the callback if sub buffers remain */
- }
-}
-
void pcm_play_dma_init(void)
{
bitset32(&CGU_PERI, CGU_I2SOUT_APB_CLOCK_ENABLE);