mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
modules: switch more modules to the new property helpers
This commit is contained in:
parent
c59ede837d
commit
32fb369b66
8 changed files with 18 additions and 34 deletions
|
|
@ -96,9 +96,7 @@ static void node_port_init(void *data, struct pw_impl_port *port)
|
|||
|
||||
old = pw_impl_port_get_properties(port);
|
||||
|
||||
is_monitor = (str = pw_properties_get(old, PW_KEY_PORT_MONITOR)) != NULL &&
|
||||
pw_properties_parse_bool(str);
|
||||
|
||||
is_monitor = pw_properties_get_bool(old, PW_KEY_PORT_MONITOR, false);
|
||||
if (!is_monitor && direction != n->direction)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue