summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c b/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
index 1ed36cd312..b649311d13 100644
--- a/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
@@ -113,7 +113,8 @@ size_t pcm_get_bytes_waiting(void)
const void * pcm_play_dma_get_peak_buffer(int *count)
{
/* TODO */
- *count = REG_DMAC_DTCR(DMA_AIC_TX_CHANNEL)>>2;
+ //*count = REG_DMAC_DTCR(DMA_AIC_TX_CHANNEL)>>2;
+ *count = 0;
return NULL;
}