summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/ibasso/pcm-ibasso.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/ibasso/pcm-ibasso.c')
-rw-r--r--firmware/target/hosted/ibasso/pcm-ibasso.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/firmware/target/hosted/ibasso/pcm-ibasso.c b/firmware/target/hosted/ibasso/pcm-ibasso.c
index 4721501d25..edfdc6d592 100644
--- a/firmware/target/hosted/ibasso/pcm-ibasso.c
+++ b/firmware/target/hosted/ibasso/pcm-ibasso.c
@@ -364,22 +364,6 @@ void pcm_play_dma_start(const void *addr, size_t size)
364 pthread_mutex_unlock(&_dma_suspended_mtx); 364 pthread_mutex_unlock(&_dma_suspended_mtx);
365} 365}
366 366
367
368/* TODO: Why is this in the API if it gets never called? */
369void pcm_play_dma_pause(bool pause)
370{
371 TRACE;
372
373 pthread_mutex_lock(&_dma_suspended_mtx);
374 _dma_stopped = pause ? 1 : 0;
375 if(_dma_stopped == 0)
376 {
377 pthread_cond_signal(&_dma_suspended_cond);
378 }
379 pthread_mutex_unlock(&_dma_suspended_mtx);
380}
381
382
383void pcm_play_dma_stop(void) 367void pcm_play_dma_stop(void)
384{ 368{
385 TRACE; 369 TRACE;