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:
Wim Taymans 2016-10-17 12:20:49 +02:00
parent 8520246a1b
commit d8903b708d
25 changed files with 1950 additions and 3858 deletions

View file

@ -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