mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
impl: emit error on resource when error
When the state of the object changes to ERROR, emit an error message on the resources as well. Also pass the error code around for this purpose.
This commit is contained in:
parent
f7d8fef070
commit
089ec424d7
4 changed files with 61 additions and 36 deletions
|
|
@ -1013,7 +1013,7 @@ int pw_impl_port_set_mix(struct pw_impl_port *port, struct spa_node *node, uint3
|
|||
int pw_impl_port_init_mix(struct pw_impl_port *port, struct pw_impl_port_mix *mix);
|
||||
int pw_impl_port_release_mix(struct pw_impl_port *port, struct pw_impl_port_mix *mix);
|
||||
|
||||
void pw_impl_port_update_state(struct pw_impl_port *port, enum pw_impl_port_state state, char *error);
|
||||
void pw_impl_port_update_state(struct pw_impl_port *port, enum pw_impl_port_state state, int res, char *error);
|
||||
|
||||
/** Unlink a port \memberof pw_impl_port */
|
||||
void pw_impl_port_unlink(struct pw_impl_port *port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue