An option for restarting Pulseaudio in Sailfish Utilities would be very fine, as it is currently available for network, GUI, fingerprint sensor, and so on.
Again and again occur problems with pulseaudio, then people have to restart Pulseaudio by CLI. This is the latest one:
This is a good idea and has crossed my mind a couple of times. This might be helpful in other occassions as well, for example, when there are no ringtones, notification sounds or alarms.
Also, I would like to see an option to the restart oFono daemon (and possibly other related processes), when making or receiving a call fails. Restarting the device or searching for the correct commands is not practical, when one is in a hurry.
For the “complete loss of audio” issue that i have had a few times, restarting pulseaudio did not help… So maybe something more should be restarted along with it?
You can add it to the utilities, but this will not solve the problem! Restarting will help only if the absence of sound effects is detected, and how long it was not and how many calls, messages, etc. were missed because of this.
For now, I can advise you to use the script on a schedule with pulseaudio checking and add ngfd to it https://forum.sailfishos.org/t/the-sounds-of-incoming-calls-sms-notifications-disappear/9496/17?u=comsorg