adapter: fix alias

This commit is contained in:
Wim Taymans 2019-07-10 19:45:22 +02:00
parent a07fb58a21
commit 1c0bf4266c

View file

@ -213,7 +213,7 @@ static void node_port_init(void *data, struct pw_port *port)
if (direction == n->direction) { if (direction == n->direction) {
pw_properties_setf(new, PW_KEY_PORT_ALIAS1, "%s_pcm:%s:%s%s", pw_properties_setf(new, PW_KEY_PORT_ALIAS1, "%s_pcm:%s:%s%s",
pw_properties_get(n->props, PW_KEY_DEVICE_API), pw_properties_get(n->props, PW_KEY_DEVICE_API),
pw_properties_get(n->props, "audio-dsp.name"), pw_properties_get(n->props, PW_KEY_NODE_NAME),
direction == PW_DIRECTION_INPUT ? "in" : "out", direction == PW_DIRECTION_INPUT ? "in" : "out",
str); str);