Commit Graph
4 Commits
Author SHA1 Message Date
Minecrell 667e3da398 modem/q6voiced: upgrade to 0_git20210408 (fix bad regression) (MR 2103)
When I upgraded tinyalsa to the new 2.0.0 major release (with breaking
changes) I failed to test q6voiced properly, even though I explicitly
had to rebuild it against the new tinyalsa version (see MR 1941).

In tinyalsa 2.0.0, calling pcm_open() does not automatically call
pcm_prepare() anymore, which is responsible for actually starting any
audio streams. This means that the old version of q6voiced is almost
entirely broken - only by pure luck it's sometimes possible to get
voice call audio working if you play other audio simultaenously while
a voice call is active. This does not work for the microphone though.

The new q6voiced version now calls pcm_prepare() explicitly to fix this.
2021-04-09 00:14:39 +03:00
Minecrell d994993030 modem/q6voiced: rebuild against libtinyalsa.so.2 (MR 1941)
Fix "Could not find dependency 'so:libtinyalsa.so.1' in any aports folder or APKINDEX."
2021-02-09 09:53:03 +01:00
Minecrell d070b0b19f modem/q6voiced: upgrade to 0_git20200604 (MR 1607)
Also listen to DBUS events from ModemManager, to start call audio
when necessary.
2020-10-23 12:12:25 +03:00
MinecrellandNikita Travkin cc689bb4d1 modem/q6voiced: new aport (MR 1233)
linux-postmarketos-qcom-msm8916 now supports voice call audio.
However, at the moment the audio stream needs to be explicitly started
by opening some PCM audio devices when the call is started
(even though no audio data is written to the PCM device).

Eventually this should go away by implementing codec2codec support
for q6voice in the kernel. In that case, the stream would be started
once the audio routes are set up using ALSA UCM. However, this is a bit
complicated actually so for now it's nice to have a workaround:

q6voiced listens on dbus for signals from oFono, and opens/closes the
PCM device when a call is initiated/ended in oFono. This essentially
makes voice call audio work out of the box (provided that the audio
routing, e.g. Earpiece and a microphone is set up appropriately).

Co-Authored-By: Nikita Travkin <nikitos.tr@gmail.com>
2020-05-25 10:19:05 +02:00