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:
Wim Taymans 2017-03-23 17:57:03 +01:00
parent f613240b66
commit d9a51b5d14
10 changed files with 41 additions and 25 deletions

View file

@ -486,8 +486,8 @@ pinos_context_new (PinosLoop *loop,
this->state = PINOS_CONTEXT_STATE_UNCONNECTED;
pinos_map_init (&this->objects, 64);
pinos_map_init (&this->uris, 64);
pinos_map_init (&this->objects, 64, 32);
pinos_map_init (&this->uris, 64, 32);
spa_list_init (&this->stream_list);
spa_list_init (&this->global_list);