mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
command: make commands dynamic
Ensure format object type.
This commit is contained in:
parent
4d9f2c5161
commit
c44a7c9735
36 changed files with 549 additions and 604 deletions
|
|
@ -45,7 +45,6 @@ id_map_get_id (SpaIDMap *map, const char *uri)
|
|||
if (strcmp (this->uris[i], uri) == 0)
|
||||
return i;
|
||||
}
|
||||
printf ("spa adding %d %s\n", i, uri);
|
||||
this->uris[i] = (char *)uri;
|
||||
this->n_uris++;
|
||||
}
|
||||
|
|
@ -57,8 +56,6 @@ id_map_get_uri (SpaIDMap *map, uint32_t id)
|
|||
{
|
||||
IDMap *this = SPA_CONTAINER_OF (map, IDMap, map);
|
||||
|
||||
printf ("spa get %d\n", id);
|
||||
|
||||
if (id < this->n_uris)
|
||||
return this->uris[id];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue