mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
modules: align tunnel.mode
Source for a source, sink for a sink. We use capture and playback for streams that link to a source/sink respectively.
This commit is contained in:
parent
fe1652e843
commit
87172fde06
4 changed files with 19 additions and 19 deletions
|
|
@ -311,7 +311,7 @@ static void resolver_cb(AvahiServiceResolver *r, AvahiIfIndex interface, AvahiPr
|
|||
pw_properties_setf(props, PW_KEY_NODE_NAME,
|
||||
"tunnel.%s", host_name);
|
||||
|
||||
str = strstr(type, "sink") ? "playback" : "capture";
|
||||
str = strstr(type, "sink") ? "sink" : "source";
|
||||
pw_properties_set(props, "tunnel.mode", str);
|
||||
|
||||
if (a->proto == AVAHI_PROTO_INET6 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue