summaryrefslogtreecommitdiff
path: root/gvc-mixer-source.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2021-03-15 11:04:06 +0100
committerJonas Ådahl <jadahl@gmail.com>2021-03-15 11:07:22 +0100
commitc5ab6037f460406ac9799b1e5765de3ce0097a8b (patch)
treee54d3329f33cb0000d6c874f4ec7c945d62740c1 /gvc-mixer-source.c
parent7a621180b46421e356b33972e3446775a504139c (diff)
downloadlibgnome-volume-control-c5ab6037f460406ac9799b1e5765de3ce0097a8b.tar.gz
mixer-control: Rely on stream-id on device for cardless devices
Some devices don't have a card to match against, (e.g. network sinks), which would make 'match_stream_with_devices()' get confused and log warnings about missing card devices when trying to match streams with devices. Avoid this by marking a stream as 'in-possession' if there was already a device with the stream ID set to it. This fixes warning like (gnome-shell:3521215): Gvc-CRITICAL **: 10:57:07.155: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
Diffstat (limited to 'gvc-mixer-source.c')
0 files changed, 0 insertions, 0 deletions