[pulseaudio-commits] r2277 - /branches/glitch-free/src/pulsecore/memblock.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sun Apr 20 12:46:44 PDT 2008
Author: lennart
Date: Sun Apr 20 21:46:43 2008
New Revision: 2277
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2277&root=pulseaudio&view=rev
Log:
increase the default pool size to 16MB because we now need to keep a lot more memory around due to glitch-free.
Modified:
branches/glitch-free/src/pulsecore/memblock.c
Modified: branches/glitch-free/src/pulsecore/memblock.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/memblock.c?rev=2277&root=pulseaudio&r1=2276&r2=2277&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/memblock.c (original)
+++ branches/glitch-free/src/pulsecore/memblock.c Sun Apr 20 21:46:43 2008
@@ -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 @@
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;
}
More information about the pulseaudio-commits
mailing list