fp6-img/aports/device/callaudioshim/org.mobian_project.CallAudio.service
Jorijn van der Graaf 12a65a5574
Some checks failed
image / image (push) Has been cancelled
callaudioshim 1-r1: own callaudiod's activation file, so Phosh gets the shim
Phosh D-Bus-activates org.mobian_project.CallAudio at startup (cui_init ->
call_audio_init), before any autostart runs. So the stock callaudiod took
the name, segfaulted once, and then refused every mute ("card has no usable
source"): Calls' mute did nothing and Calls asserted on each refusal. Under
Plasma the shim won only because its phase-1 autostart ran first.

The package now installs the activation file at callaudiod's path
(replaces="callaudiod"), pointing at the shim, so whoever asks first gets
the shim. apk keeps the file through callaudiod reinstalls and upgrades,
including both packages upgrading in one transaction (tested in
alpine:edge). Removing the shim removes the file; 'apk fix callaudiod'
restores the stock one. A second instance exits quietly instead of
tracing back.

Tested on the dev phone: Phosh (activation at login, mute silences the
uplink, no Calls assertions) and Plasma (autostart owns the name, the
dialer's mute button follows the mic state).
2026-09-23 17:53:07 +02:00

3 lines
85 B
Desktop File

[D-BUS Service]
Name=org.mobian_project.CallAudio
Exec=/usr/libexec/callaudioshim.py