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
This commit is contained in:
Lennart Poettering 2008-04-20 19:46:43 +00:00
parent 03df08872d
commit ed36f3129c

View file

@ -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;
}