mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
plugins: fix warnings
This commit is contained in:
parent
44cb131269
commit
b95584c312
5 changed files with 27 additions and 16 deletions
|
|
@ -53,6 +53,7 @@ static void reset_props(struct props *props)
|
|||
#define MAX_BUFFERS 16
|
||||
|
||||
struct buffer {
|
||||
uint32_t id;
|
||||
struct spa_buffer *outbuf;
|
||||
bool outstanding;
|
||||
struct spa_meta_header *h;
|
||||
|
|
@ -572,6 +573,7 @@ impl_node_port_use_buffers(struct spa_node *node,
|
|||
struct spa_data *d = buffers[i]->datas;
|
||||
|
||||
b = &port->buffers[i];
|
||||
b->id = i;
|
||||
b->outbuf = buffers[i];
|
||||
b->outstanding = direction == SPA_DIRECTION_INPUT;
|
||||
b->h = spa_buffer_find_meta_data(buffers[i], SPA_META_Header, sizeof(*b->h));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue