forked from len0rd/rockbox
Decreased pcm buffer low watermark when crossfade is not enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7036 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
65a1b1a65b
commit
2023b47293
2 changed files with 1 additions and 3 deletions
|
|
@ -27,7 +27,6 @@
|
||||||
#define NATIVE_FREQUENCY 44100
|
#define NATIVE_FREQUENCY 44100
|
||||||
#define STEREO_INTERLEAVED 0
|
#define STEREO_INTERLEAVED 0
|
||||||
#define STEREO_NONINTERLEAVED 1
|
#define STEREO_NONINTERLEAVED 1
|
||||||
/* Not supported yet. */
|
|
||||||
#define STEREO_MONO 2
|
#define STEREO_MONO 2
|
||||||
|
|
||||||
struct dsp_configuration {
|
struct dsp_configuration {
|
||||||
|
|
|
||||||
|
|
@ -47,8 +47,7 @@
|
||||||
/* 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 * 10)
|
||||||
#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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue