WIP use endpoint in pulse

This commit is contained in:
Wim Taymans 2019-11-06 11:34:14 +01:00
parent 9df6efcd8d
commit 7a4a8d78b9
4 changed files with 187 additions and 135 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;
}