enforce maximum sample size in sample cache

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@787 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2006-04-23 20:59:09 +00:00
parent cdba0527a8
commit e1ac42dd10
4 changed files with 11 additions and 6 deletions

View file

@ -26,6 +26,8 @@
#include <polypcore/memchunk.h>
#include <polypcore/sink.h>
#define PA_SCACHE_ENTRY_SIZE_MAX (1024*1024*2)
typedef struct pa_scache_entry {
pa_core *core;
uint32_t index;