Jonas Dreßler 82fed08587 mixer-control: Update card, ui-device, and port profiles on changes
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
2024-03-12 14:38:03 +01:00
2019-11-22 19:37:31 +01:00
2020-04-09 13:53:36 +00:00
2023-07-18 16:34:32 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:25 +02:00
2012-10-19 20:00:47 +02:00
2012-10-19 20:00:47 +02:00
2012-10-19 20:00:25 +02:00
2018-01-30 13:15:36 +01:00
2020-04-09 12:14:25 +02:00
2018-09-07 15:31:39 +02:00

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.

Projects using libgnome-volume-control

Description
No description provided
Readme 239 KiB
Languages
C 98.5%
Meson 1.5%