mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
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:
parent
cdba0527a8
commit
e1ac42dd10
4 changed files with 11 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue