diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-04-20 19:46:43 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-04-20 19:46:43 +0000 |
commit | ed36f3129cf4ff88cd99c39ac9708b639e172c9f (patch) | |
tree | 1b59988a007e0958d9b1d500fcf98d208d396195 | |
parent | 03df08872df4bd6b1266b1928bb74d8595dcc2c8 (diff) |
increase the default pool size to 16MB because we now need to keep a lot more memory around due to glitch-free.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2277 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r-- | src/pulsecore/memblock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pulsecore/memblock.c b/src/pulsecore/memblock.c index b76980ff..c452ae0b 100644 --- a/src/pulsecore/memblock.c +++ b/src/pulsecore/memblock.c @@ -46,8 +46,8 @@ #include "memblock.h" -#define PA_MEMPOOL_SLOTS_MAX 128 -#define PA_MEMPOOL_SLOT_SIZE (16*1024) +#define PA_MEMPOOL_SLOTS_MAX 512 +#define PA_MEMPOOL_SLOT_SIZE (32*1024) #define PA_MEMEXPORT_SLOTS_MAX 128 @@ -253,7 +253,7 @@ static struct mempool_slot* mempool_allocate_slot(pa_mempool *p) { slot = (struct mempool_slot*) ((uint8_t*) p->memory.ptr + (p->block_size * idx)); if (!slot) { - pa_log_debug("Pool full"); + pa_log_info("Pool full"); pa_atomic_inc(&p->stat.n_pool_full); return NULL; } |