summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-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 @@
47/* Must be a power of 2 */ 47/* Must be a power of 2 */
48#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE) 48#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE)
49#define NUM_PCM_BUFFERS_MASK (NUM_PCM_BUFFERS - 1) 49#define NUM_PCM_BUFFERS_MASK (NUM_PCM_BUFFERS - 1)
50#define PCM_WATERMARK (CHUNK_SIZE * 6) 50//#define PCM_WATERMARK (CHUNK_SIZE * 6)
51#define PCM_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8)
51#define PCM_CF_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8) 52#define PCM_CF_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8)
52 53
53static bool pcm_playing; 54static bool pcm_playing;
@@ -259,7 +260,6 @@ void pcm_play_stop(void)
259 pcm_boost(false); 260 pcm_boost(false);
260 if (pcm_playing) { 261 if (pcm_playing) {
261 uda1380_mute(true); 262 uda1380_mute(true);
262 sleep(1);
263 dma_stop(); 263 dma_stop();
264 } 264 }
265} 265}