diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-03-03 18:17:46 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-03-03 18:17:46 +0100 |
commit | c4b2be2aad373c7e19b7c613b0926e2ee3d5f214 (patch) | |
tree | d88bb863b1e7159abf2a4fe348279a05e2fbd262 /src/modules | |
parent | b60d7bf2bc350bc3212aca999101669ede7328b2 (diff) |
use true and false for boolean properties
So that it's easier to convert them to booleans in introspection
code later.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-adapter/adapter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-adapter/adapter.c b/src/modules/module-adapter/adapter.c index 32c423aa..5be84f8a 100644 --- a/src/modules/module-adapter/adapter.c +++ b/src/modules/module-adapter/adapter.c @@ -127,8 +127,8 @@ static void node_port_init(void *data, struct pw_impl_port *port) } if (direction == n->direction) { if (is_device) { - pw_properties_set(new, PW_KEY_PORT_PHYSICAL, "1"); - pw_properties_set(new, PW_KEY_PORT_TERMINAL, "1"); + pw_properties_set(new, PW_KEY_PORT_PHYSICAL, "true"); + pw_properties_set(new, PW_KEY_PORT_TERMINAL, "true"); } } |