mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Rework serialization
Move serialization to the protocol, we now just send blocks of bytes over the connection and let the protocol deserialize them.
This commit is contained in:
parent
842d73ca4b
commit
41399b0b25
26 changed files with 1617 additions and 2501 deletions
|
|
@ -424,6 +424,10 @@ print_pod_value (uint32_t size, uint32_t type, void *body, int prefix)
|
|||
}
|
||||
break;
|
||||
}
|
||||
case SPA_POD_TYPE_BYTES:
|
||||
printf ("%-*sBytes\n", prefix, "");
|
||||
spa_debug_dump_mem (body, size);
|
||||
break;
|
||||
default:
|
||||
printf ("unhandled prop type %d\n", type);
|
||||
break;
|
||||
|
|
@ -477,6 +481,9 @@ print_format_value (uint32_t size, uint32_t type, void *body)
|
|||
case SPA_POD_TYPE_BITMASK:
|
||||
fprintf (stderr, "Bitmask");
|
||||
break;
|
||||
case SPA_POD_TYPE_BYTES:
|
||||
fprintf (stderr, "Bytes");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue