mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
buffer: remove buffer id
The buffer id is not needed/used, we use the index of the buffer in the buffer array when configuring the port.
This commit is contained in:
parent
e918f9f77c
commit
5b7ddb0105
33 changed files with 167 additions and 65 deletions
|
|
@ -97,7 +97,6 @@ struct node {
|
|||
static void init_buffer(struct port *port, uint32_t id)
|
||||
{
|
||||
struct buffer *b = &port->buffers[id];
|
||||
b->buf.id = id;
|
||||
b->buf.n_metas = 0;
|
||||
b->buf.metas = NULL;
|
||||
b->buf.n_datas = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue