forked from len0rd/rockbox
Increased low watermark limit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7012 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d0ec0cec10
commit
55819b7859
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,8 @@
|
||||||
/* Must be a power of 2 */
|
/* Must be a power of 2 */
|
||||||
#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE)
|
#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE)
|
||||||
#define NUM_PCM_BUFFERS_MASK (NUM_PCM_BUFFERS - 1)
|
#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)
|
#define PCM_CF_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8)
|
||||||
|
|
||||||
static bool pcm_playing;
|
static bool pcm_playing;
|
||||||
|
|
@ -259,7 +260,6 @@ void pcm_play_stop(void)
|
||||||
pcm_boost(false);
|
pcm_boost(false);
|
||||||
if (pcm_playing) {
|
if (pcm_playing) {
|
||||||
uda1380_mute(true);
|
uda1380_mute(true);
|
||||||
sleep(1);
|
|
||||||
dma_stop();
|
dma_stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue