mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-23 21:37:42 -04:00
impl-port: warn when loading a mixer fails
This commit is contained in:
parent
0fcaf1ccb2
commit
a3bea5d586
1 changed files with 2 additions and 1 deletions
|
|
@ -2070,7 +2070,8 @@ int pw_impl_port_set_param(struct pw_impl_port *port, uint32_t id, uint32_t flag
|
|||
if (port->direction == PW_DIRECTION_INPUT &&
|
||||
id == SPA_PARAM_Format && param != NULL &&
|
||||
!SPA_FLAG_IS_SET(port->flags, PW_IMPL_PORT_FLAG_NO_MIXER)) {
|
||||
setup_mixer(port, param);
|
||||
if (setup_mixer(port, param) < 0)
|
||||
pw_log_warn("can't setup mixer");
|
||||
}
|
||||
|
||||
spa_list_for_each(mix, &port->mix_list, link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue