mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
save some memory by increasing the dynamic array at a slower rate
This commit is contained in:
parent
c0f97aa580
commit
3db7dcb962
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@
|
||||||
|
|
||||||
#include "dynarray.h"
|
#include "dynarray.h"
|
||||||
|
|
||||||
/* If the array becomes to small, increase its size by 100 entries */
|
/* If the array becomes to small, increase its size by 25 entries */
|
||||||
#define INCREASE_BY 100
|
#define INCREASE_BY 25
|
||||||
|
|
||||||
struct pa_dynarray {
|
struct pa_dynarray {
|
||||||
void **data;
|
void **data;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue