mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
use true and false for boolean properties
So that it's easier to convert them to booleans in introspection code later.
This commit is contained in:
parent
b60d7bf2bc
commit
c4b2be2aad
16 changed files with 28 additions and 28 deletions
|
|
@ -991,7 +991,7 @@ static int create_stream(pa_stream_direction_t direction,
|
|||
direction == PA_STREAM_PLAYBACK ?
|
||||
"Playback" : "Capture");
|
||||
items[3] = SPA_DICT_ITEM_INIT(PW_KEY_MEDIA_ROLE, str);
|
||||
items[4] = SPA_DICT_ITEM_INIT(PW_KEY_STREAM_MONITOR, monitor ? "1" : "0");
|
||||
items[4] = SPA_DICT_ITEM_INIT(PW_KEY_STREAM_MONITOR, monitor ? "true" : "false");
|
||||
|
||||
pw_stream_update_properties(s->stream, &SPA_DICT_INIT(items, 5));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue