mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-23 01:10:40 -05:00
82fed08587
Turns out that (contrary to what gvc has assumed so far) the profiles on a card can actually change even after the card was created (especially with Bluetooth devices, where BlueZ can always change the advertised profiles). This is causing various problems right now, including a few crashes because we assume that card->priv->profile (so the currently active profile) always has an entry in the card->profiles list. Fix the issue by allowing to update the profile list even after the card has been created. To do that we also need to introduce the necessary infrastructure to update the profile lists on GvcMixerCardPort and GvcMixerUIDevice. Note that we are still assuming that ports on the cards can not change. Turns out these can also change, so we'll handle that with the next commit. Closes: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/23 Closes: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/9 |
||
---|---|---|
.gitlab-ci | ||
.gitignore | ||
.gitlab-ci.yml | ||
gvc-channel-map-private.h | ||
gvc-channel-map.c | ||
gvc-channel-map.h | ||
gvc-mixer-card-private.h | ||
gvc-mixer-card.c | ||
gvc-mixer-card.h | ||
gvc-mixer-control-private.h | ||
gvc-mixer-control.c | ||
gvc-mixer-control.h | ||
gvc-mixer-event-role.c | ||
gvc-mixer-event-role.h | ||
gvc-mixer-sink-input.c | ||
gvc-mixer-sink-input.h | ||
gvc-mixer-sink.c | ||
gvc-mixer-sink.h | ||
gvc-mixer-source-output.c | ||
gvc-mixer-source-output.h | ||
gvc-mixer-source.c | ||
gvc-mixer-source.h | ||
gvc-mixer-stream-private.h | ||
gvc-mixer-stream.c | ||
gvc-mixer-stream.h | ||
gvc-mixer-ui-device.c | ||
gvc-mixer-ui-device.h | ||
gvc-pulseaudio-fake.h | ||
libgnome-volume-control.doap | ||
meson_options.txt | ||
meson.build | ||
README.md | ||
test-audio-device-selection.c |
libgnome-volume-control
libgnome-volume-control is a copy library that's supposed to be used as a git sub-module. If your project uses some of libgnome-volume-control's strings in a user-facing manner, don't forget to add those files to your POTFILES.in for translation.