mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-24 07:00:05 -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
|
|
@ -353,8 +353,8 @@ handle_audio_fields (ConvertData *d)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static off_t
|
||||
write_pod (SpaPODBuilder *b, off_t ref, const void *data, size_t size)
|
||||
static uint32_t
|
||||
write_pod (SpaPODBuilder *b, uint32_t ref, const void *data, uint32_t size)
|
||||
{
|
||||
if (ref == -1)
|
||||
ref = b->offset;
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@ on_add_buffer (PinosListener *listener,
|
|||
GstPinosSink *pinossink = SPA_CONTAINER_OF (listener, GstPinosSink, stream_add_buffer);
|
||||
SpaBuffer *b;
|
||||
GstBuffer *buf;
|
||||
unsigned int i;
|
||||
uint32_t i;
|
||||
ProcessMemData data;
|
||||
|
||||
GST_LOG_OBJECT (pinossink, "add buffer");
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@ on_add_buffer (PinosListener *listener,
|
|||
GstPinosSrc *pinossrc = SPA_CONTAINER_OF (listener, GstPinosSrc, stream_add_buffer);
|
||||
SpaBuffer *b;
|
||||
GstBuffer *buf;
|
||||
unsigned int i;
|
||||
uint32_t i;
|
||||
ProcessMemData data;
|
||||
|
||||
GST_LOG_OBJECT (pinossrc, "add buffer");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue