Can someone point me into the right direction where to look for documentation on audio rouring and especially volume control on SFOS?
For what I understand after going through the files in /etc/pulse/ if my app wants to play audio to “sink.primary_output” I need to add a file like /etc/pulse/xpolicy.conf.d/s1p.conf
[stream]
name = "s1p"
group = call
This seems to work so far and the app is then able to access “sink.primary_output”
The only problem now is that the volume control on SFOS seems not to be aware of this fact and the volume rocker has no effect at all - which makes sense as it’s still trying to set “Ringtone” volume instead.
Not sure if this is useful, I stumbled on this some time back - pulseaudio-modules-droid
It has this mention “Communication profile used for VoIP-like applications…”
While I haven’t been able to make the volume rocker do anything useful I have been able to at least read (and successfully set) the VoIP volume over dbus: