diff options
Diffstat (limited to 'apps/pcmbuf.h')
-rw-r--r-- | apps/pcmbuf.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/pcmbuf.h b/apps/pcmbuf.h index 8c448884f9..b4e551f74d 100644 --- a/apps/pcmbuf.h +++ b/apps/pcmbuf.h | |||
@@ -21,18 +21,12 @@ | |||
21 | #ifndef PCMBUF_H | 21 | #ifndef PCMBUF_H |
22 | #define PCMBUF_H | 22 | #define PCMBUF_H |
23 | 23 | ||
24 | #if MEM > 1 | ||
25 | #define PCMBUF_TARGET_CHUNK 32768 /* This is the target fill size of chunks | 24 | #define PCMBUF_TARGET_CHUNK 32768 /* This is the target fill size of chunks |
26 | on the pcm buffer */ | 25 | on the pcm buffer */ |
27 | #define PCMBUF_MINAVG_CHUNK 24576 /* This is the minimum average size of | 26 | #define PCMBUF_MINAVG_CHUNK 24576 /* This is the minimum average size of |
28 | chunks on the pcm buffer (or we run out | 27 | chunks on the pcm buffer (or we run out |
29 | of buffer descriptors, which is | 28 | of buffer descriptors, which is |
30 | non-fatal) */ | 29 | non-fatal) */ |
31 | #else | ||
32 | #define PCMBUF_TARGET_CHUNK 16384 | ||
33 | #define PCMBUF_MINAVG_CHUNK 12288 | ||
34 | #endif | ||
35 | |||
36 | #define PCMBUF_MIN_CHUNK 4096 /* We try to never feed a chunk smaller than | 30 | #define PCMBUF_MIN_CHUNK 4096 /* We try to never feed a chunk smaller than |
37 | this to the DMA */ | 31 | this to the DMA */ |
38 | #define PCMBUF_MIX_CHUNK 8192 /* This is the maximum size of one packet | 32 | #define PCMBUF_MIX_CHUNK 8192 /* This is the maximum size of one packet |