summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/pcm_playback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index 73d0db9e35..9e02079d76 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -47,7 +47,8 @@
/* Must be a power of 2 */
#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE)
#define NUM_PCM_BUFFERS_MASK (NUM_PCM_BUFFERS - 1)
-#define PCM_WATERMARK (CHUNK_SIZE * 6)
+//#define PCM_WATERMARK (CHUNK_SIZE * 6)
+#define PCM_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8)
#define PCM_CF_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8)
static bool pcm_playing;
@@ -259,7 +260,6 @@ void pcm_play_stop(void)
pcm_boost(false);
if (pcm_playing) {
uda1380_mute(true);
- sleep(1);
dma_stop();
}
}