mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -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"
|
||||
|
||||
/* If the array becomes to small, increase its size by 100 entries */
|
||||
#define INCREASE_BY 100
|
||||
/* If the array becomes to small, increase its size by 25 entries */
|
||||
#define INCREASE_BY 25
|
||||
|
||||
struct pa_dynarray {
|
||||
void **data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue