mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Various lower limits and sizes for targets with 1MB of RAM (Iriver iFP7xx).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10556 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c1810b31f1
commit
28910e7e17
5 changed files with 34 additions and 0 deletions
|
@ -19,12 +19,18 @@
|
|||
#ifndef PCMBUF_H
|
||||
#define PCMBUF_H
|
||||
|
||||
#if MEMORYSIZE > 1
|
||||
#define PCMBUF_TARGET_CHUNK 32768 /* This is the target fill size of chunks
|
||||
on the pcm buffer */
|
||||
#define PCMBUF_MINAVG_CHUNK 24576 /* This is the minimum average size of
|
||||
chunks on the pcm buffer (or we run out
|
||||
of buffer descriptors, which is
|
||||
non-fatal) */
|
||||
#else
|
||||
#define PCMBUF_TARGET_CHUNK 16384
|
||||
#define PCMBUF_MINAVG_CHUNK 12288
|
||||
#endif
|
||||
|
||||
#define PCMBUF_MIN_CHUNK 4096 /* We try to never feed a chunk smaller than
|
||||
this to the DMA */
|
||||
#define PCMBUF_MIX_CHUNK 8192 /* This is the maximum size of one packet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue