With the alarm clock waking the phone from suspend we still need to make sure the alarm sound is audible. We thus need it to have a volume level separate from e.g. media, notifications, calls, etc. This is possible with #wireplumber's "role based policy". There's a lot of lose ends to fix before this all can land but here's a quick demo in #phosh (the alarm sound your is played via #feedbackd which adds the necessary role):
·..and here's how the volume controls currently look in mobile settings. We get the list of controls from #wireplumber too and #phosh's volume slider gets the highest priority volume so the top panel's volume slider does "the right thing" by default. (I've linked the related MRs from https://gitlab.gnome.org/guidog/meta-phosh/-/issues/20)
Wireplumber is the session manager for
@pipewire, helping to provide stability and flexibility to your Linux system. You can also do scripting with Lua!