sxmo-utils: Add Pulseaudio support v2 PROPOSED

Anjandev Momi: 1
 Add Pulseaudio support

 2 files changed, 14 insertions(+), 3 deletions(-)
#778201 .build.yml success
Hi again!

I think I found a solution for the audio distortion: set "Configuration" to 4
if it isn't set in alsamixer.

I also found a solution for the low sound on headphones, just set
"RX1 Digital Volume" to the volume you want and do the same for "RX2 Digital

Have a nice day!
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/sxmo-devel/patches/32906/mbox | git am -3
Learn more about email & git

[PATCH sxmo-utils v2] Add Pulseaudio support Export this patch

Currently, this patch does nothing because pipewire is a hard dependancy
of sxmo. Im posting this patch for feedback. Do we want to we
want to move pipewire to _pmb_recommends so that it's installed by
default but can be uninstalled by the user for pulseaudio?

Is there a better way to solve this?

v2 of vitali64's patch:

As they say:

PipeWire is still not usable on some devices such as the Poco F1,

which makes it crash every 15 seconds on my setup.
PulseAudio in the other hand outputs better sound quality.

Co-authored-by:  vitali64pm <vitali64pmemail@protonmail.com>
 configs/default_hooks/sxmo_hook_start.sh   | 10 +++++++---
 configs/superd/services/pulseaudio.service |  7 +++++++
 2 files changed, 14 insertions(+), 3 deletions(-)
 create mode 100644 configs/superd/services/pulseaudio.service

diff --git a/configs/default_hooks/sxmo_hook_start.sh b/configs/default_hooks/sxmo_hook_start.sh
index 67a9b14..1d46a7f 100644
--- a/configs/default_hooks/sxmo_hook_start.sh
+++ b/configs/default_hooks/sxmo_hook_start.sh
@@ -75,9 +75,13 @@ superctl start sxmo_notificationmonitor
# To setup initial lock state

superctl start pipewire
superctl start pipewire-pulse
superctl start wireplumber
if [ "$(command -v pulseaudio)" ]; then
	superctl start pulseaudio
elif [ "$(command -v pipewire)" ]; then
	superctl start pipewire
	superctl start pipewire-pulse
	superctl start wireplumber

# Verify modemmanager and eg25-manager are running
if ! sxmo_modemdaemons.sh status; then
diff --git a/configs/superd/services/pulseaudio.service b/configs/superd/services/pulseaudio.service
new file mode 100644
index 0000000..6f65feb
--- /dev/null
+++ b/configs/superd/services/pulseaudio.service
@@ -0,0 +1,7 @@
Description=general purpose sound server intended to run as a middleware between your applications and your hardware devices

sxmo-utils/patches/.build.yml: SUCCESS in 28s

[Add Pulseaudio support][0] v2 from [Anjandev Momi][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/32906
[1]: mailto:anjan@momi.ca

✓ #778201 SUCCESS sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/778201
Greetings Anjan,