mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Use types with known sizes where we can, easier to serialize
Add iterator for POD and use it to implement some demarshalling.
This commit is contained in:
parent
23d09d5b60
commit
f92b68c3c3
77 changed files with 839 additions and 695 deletions
|
|
@ -45,8 +45,8 @@ update_port_ids (PinosNode *node, bool create)
|
|||
{
|
||||
PinosNodeImpl *impl = SPA_CONTAINER_OF (node, PinosNodeImpl, this);
|
||||
uint32_t *input_port_ids, *output_port_ids;
|
||||
unsigned int n_input_ports, n_output_ports, max_input_ports, max_output_ports;
|
||||
unsigned int i;
|
||||
uint32_t n_input_ports, n_output_ports, max_input_ports, max_output_ports;
|
||||
uint32_t i;
|
||||
SpaList *ports;
|
||||
|
||||
if (node->node == NULL)
|
||||
|
|
@ -524,7 +524,7 @@ pinos_node_new (PinosCore *core,
|
|||
spa_list_init (&this->output_ports);
|
||||
|
||||
if (this->node->info) {
|
||||
unsigned int i;
|
||||
uint32_t i;
|
||||
|
||||
if (this->properties == NULL)
|
||||
this->properties = pinos_properties_new (NULL, NULL);
|
||||
|
|
@ -681,7 +681,7 @@ PinosPort *
|
|||
pinos_node_get_free_port (PinosNode *node,
|
||||
PinosDirection direction)
|
||||
{
|
||||
unsigned int n_ports, max_ports;
|
||||
uint32_t n_ports, max_ports;
|
||||
SpaList *ports;
|
||||
PinosPort *port = NULL, *p;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue