use endpoint in pulse

This commit is contained in:
Wim Taymans 2019-11-07 16:04:42 +01:00
parent c9a54112e4
commit edd011605d
4 changed files with 180 additions and 128 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->node_info.monitor;
s->device_index = g->stream_info.monitor;
else
s->device_index = g->id;
}