mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
Reorganize serialization code a bit
Move the proxy plugin to the client-node Move serialization code to pinos because its specific to pinos Move some functions to the .h files Make the mapper dynamic
This commit is contained in:
parent
8520246a1b
commit
d8903b708d
25 changed files with 1950 additions and 3858 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <pinos/client/pinos.h>
|
||||
#include <pinos/client/format.h>
|
||||
#include <pinos/client/serialize.h>
|
||||
|
||||
static SpaFormat *
|
||||
format_copy (SpaFormat *format)
|
||||
|
|
@ -29,9 +30,9 @@ format_copy (SpaFormat *format)
|
|||
if (format == NULL)
|
||||
return NULL;
|
||||
|
||||
size = spa_format_get_size (format);
|
||||
size = spa_serialize_format_get_size (format);
|
||||
p = malloc (size);
|
||||
return spa_format_copy_into (p, format);
|
||||
return spa_serialize_format_copy_into (p, format);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue