mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -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
|
|
@ -141,7 +141,7 @@ connection_data (SpaSource *source,
|
|||
PinosConnection *conn = client->connection;
|
||||
uint8_t opcode;
|
||||
uint32_t id;
|
||||
size_t size;
|
||||
uint32_t size;
|
||||
PinosClient *c = client->client;
|
||||
void *message;
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ add_item (PinosSpaMonitor *this, SpaMonitorItem *item)
|
|||
props = pinos_properties_new (NULL, NULL);
|
||||
|
||||
if (item->info) {
|
||||
unsigned int i;
|
||||
uint32_t i;
|
||||
|
||||
for (i = 0; i < item->info->n_items; i++) {
|
||||
pinos_properties_set (props,
|
||||
|
|
@ -203,7 +203,7 @@ pinos_spa_monitor_load (PinosCore *core,
|
|||
SpaResult res;
|
||||
void *iface;
|
||||
void *hnd;
|
||||
unsigned int index;
|
||||
uint32_t index;
|
||||
SpaEnumHandleFactoryFunc enum_func;
|
||||
const SpaHandleFactory *factory;
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ pinos_spa_node_load (PinosCore *core,
|
|||
SpaResult res;
|
||||
SpaHandle *handle;
|
||||
void *hnd;
|
||||
unsigned int index;
|
||||
uint32_t index;
|
||||
SpaEnumHandleFactoryFunc enum_func;
|
||||
const SpaHandleFactory *factory;
|
||||
void *iface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue