alsa-endpoint: fix stream names

This commit is contained in:
Wim Taymans 2019-12-16 13:35:41 +01:00
parent 2242c4bab2
commit c7456d579a

View file

@ -247,9 +247,9 @@ static struct stream *endpoint_add_stream(struct endpoint *endpoint)
if (endpoint->monitor != NULL)
pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Monitor");
else
pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Playback");
pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Capture");
} else {
pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Capture");
pw_properties_set(s->props, PW_KEY_ENDPOINT_STREAM_NAME, "Playback");
}
s->info.version = PW_VERSION_ENDPOINT_STREAM_INFO;