mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
mapper: place strings in array
mapper: place strings in a big array. Make it possible to configure array and map extend size.
This commit is contained in:
parent
f613240b66
commit
d9a51b5d14
10 changed files with 41 additions and 25 deletions
|
|
@ -53,7 +53,7 @@ pinos_split_strv (const char *str,
|
|||
size_t len;
|
||||
int n = 0;
|
||||
|
||||
pinos_array_init (&arr);
|
||||
pinos_array_init (&arr, 16);
|
||||
|
||||
s = pinos_split_walk (str, delimiter, &len, &state);
|
||||
while (s && n + 1 < max_tokens) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue