mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
link: keep per link buffer negotiation state
Keep buffers cached on output ports. Complete the link to PAUSED when we have negotiated buffers on input and output.
This commit is contained in:
parent
317493a2dc
commit
3281737199
4 changed files with 5 additions and 5 deletions
|
|
@ -427,6 +427,7 @@ struct pw_port_mix {
|
|||
} port;
|
||||
struct spa_io_buffers *io;
|
||||
uint32_t id;
|
||||
int have_buffers;
|
||||
};
|
||||
|
||||
struct pw_port_implementation {
|
||||
|
|
@ -537,7 +538,7 @@ struct pw_link {
|
|||
struct {
|
||||
struct pw_port_mix out_mix; /**< port added to the output mixer */
|
||||
struct pw_port_mix in_mix; /**< port added to the input mixer */
|
||||
struct pw_node_target target;
|
||||
struct pw_node_target target; /**< target to trigger the input node */
|
||||
} rt;
|
||||
|
||||
void *user_data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue