Revert "WIP use endpoint in pulse"

This reverts commit 7a4a8d78b9.
This commit is contained in:
Wim Taymans 2019-11-07 11:45:16 +01:00
parent 74b4790afe
commit 8bbfe876a7
4 changed files with 135 additions and 187 deletions

View file

@ -200,7 +200,7 @@ static void configure_device(pa_stream *s)
else {
if (s->direction == PA_STREAM_RECORD) {
if (g->mask == (PA_SUBSCRIPTION_MASK_SINK | PA_SUBSCRIPTION_MASK_SOURCE))
s->device_index = g->stream_info.monitor;
s->device_index = g->node_info.monitor;
else
s->device_index = g->id;
}