mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
buffer: make data and meta types dynamic
Use dynamic types for the data and meta types. Move the meta into a separate header. Remove port state, we can keep track of that ourselves. Add size to MetaDataEnable params
This commit is contained in:
parent
ed273ec465
commit
b51d3e4862
36 changed files with 543 additions and 553 deletions
|
|
@ -208,7 +208,7 @@ suspend_node (PinosNode *this)
|
|||
if (p->allocated)
|
||||
pinos_memblock_free (&p->buffer_mem);
|
||||
p->allocated = false;
|
||||
p->state = SPA_PORT_STATE_CONFIGURE;
|
||||
p->state = PINOS_PORT_STATE_CONFIGURE;
|
||||
}
|
||||
|
||||
spa_list_for_each (p, &this->output_ports, link) {
|
||||
|
|
@ -219,7 +219,7 @@ suspend_node (PinosNode *this)
|
|||
if (p->allocated)
|
||||
pinos_memblock_free (&p->buffer_mem);
|
||||
p->allocated = false;
|
||||
p->state = SPA_PORT_STATE_CONFIGURE;
|
||||
p->state = PINOS_PORT_STATE_CONFIGURE;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue